Question: What are the medieval historical sites in Finland?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?site ?label WHERE {
  ?site wdt:P17 wd:Q33 .
  ?site wdt:P2348 wd:Q12554 .
  ?site rdfs:label ?label .
  FILTER(LANG(?label) = "en")
}
ORDER BY ?label

Which castles and churches in Finland date back to the Middle Ages?

Can you list sites in Finland that are associated with the medieval period?

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q33> . ?var1 <http://www.wikidata.org/prop/direct/P2348> <http://www.wikidata.org/entity/Q12554> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: List cultural heritage sites in Finland with national significance or UNESCO World Heritage status, including their coordinates, images, and Commons categories.

SELECT ?site ?siteLabel ?coord ?image ?commonsCategory WHERE { VALUES ?heritage { wd:Q29966257 wd:Q9259 } ?site wdt:P1435 ?heritage . ?site wdt:P17 wd:Q33 . OPTIONAL { ?site wdt:P625 ?coord . } OPTIONAL { ?site wdt:P18 ?image . } OPTIONAL { ?site wdt:P373 ?commonsCategory . } ?site rdfs:label ?siteLabel . FILTER(langMatches(lang(?siteLabel), "en")) } LIMIT 3000

What are the heritage sites in Finland that are either designated as Cultural Heritage Sites of National Significance or UNESCO World Heritage Sites, and what are their locations, images, and associated Wikimedia Commons categories?

Please provide the English names, geographic coordinates, images, and Commons categories of all heritage sites in Finland that have either national significance or UNESCO World Heritage status.

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(12 59)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> "POINT(33 64)"^^<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


Question: What is the English description of the entity with Art & Architecture Thesaurus ID 300388277?

SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P1014 "300388277" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = "en") } }

Which entity in Wikidata has the AAT ID 300388277, and what is its English description?

Show me the English description for the item identified by the Getty AAT ID 300388277.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1014> "300102485". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Is Acehnese a language spoken in Indonesia?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ( "1" ^^ xsd:integer AS ?var1 ) WHERE {
  ?var2 wdt:P17 wd:Q252 .
  {
    ?var2 ( wdt:P31 / wdt:P279 * ) wd:Q34770 .
  } UNION {
    ?var2 wdt:P279 * wd:Q34770 .
  }
  VALUES ( ?var2 ) {
    ( wd:Q27683 )
  }
}

Does the Acehnese language belong to Indonesia?

Confirm that Acehnese is a language used in Indonesia.

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/Q27683> ) } } UNION { ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q34770> . VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q27683> ) } } VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q27683> ) } }


Question: What is the most common cause of death among people educated at universities in Chile?

SELECT ?causeOfDeathLabel ?universityLabel ( COUNT( ?person ) AS ?count ) WHERE { ?university wdt:P31 wd:Q3918 . ?university wdt:P17 wd:Q298 . ?person wdt:P31 wd:Q5 ; wdt:P509 ?causeOfDeath ; wdt:P69 ?university . ?causeOfDeath rdfs:label ?causeOfDeathLabel . ?university rdfs:label ?universityLabel . FILTER(LANG(?causeOfDeathLabel) = "en") FILTER(LANG(?universityLabel) = "en") } GROUP BY ?causeOfDeath ?university ?causeOfDeathLabel ?universityLabel HAVING (?count > 1) ORDER BY DESC(?count) LIMIT 1

Which university in Chile has the highest number of alumni who died from the same cause, and what was that cause?

Can you tell me the cause of death shared by the most alumni of Chilean universities?

SELECT ?var1Label ?var2Label ?var3Label ( COUNT ( ?var2 ) AS ?var4 ) 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> . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P509> ?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> "es". } } GROUP BY ?var1Label ?var2Label ?var3Label HAVING ( ( ?var4 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var4 )


Question: What are the English titles of books written by Michel Bussi?

SELECT ?work ?title WHERE { ?work wdt:P50 wd:Q3309133 . ?work rdfs:label ?title . FILTER (LANG(?title) = "en") }

Can you list the English-language titles of works authored by the French writer Michel Bussi?

Show me the English titles of Michel Bussi’s books.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q3309133> . ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 . FILTER ( ( LANGMATCHES ( LANG ( ?var2 ) , "EN" ) ) ) . }


Question: Wikimedia pages about Harold F. Weston (ULAN ID 500006170)

SELECT ?page ?artist WHERE { ?artist wdtn:P245 <http://vocab.getty.edu/ulan/500006170> . ?page schema:about ?artist .}

What Wikipedia and Commons pages are about the artist with ULAN ID 500006170?

Show me all the Wikimedia project pages linked to Harold F. Weston in Wikidata, identified by his ULAN ID.

SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct-normalized/P245> <http://vocab.getty.edu/ulan/500006170> . ?var1 <http://schema.org/about> ?var2 . }


Question: Who is the person with Collective Biographies of Women ID 13387?

SELECT ?person ?personLabel ?personDescription WHERE { ?person wdt:P4539 "13387" . OPTIONAL { ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = "en") } OPTIONAL { ?person schema:description ?personDescription . FILTER (LANG(?personDescription) = "en") } }

What is the English name and description of the person identified by the ID 13387 in the Collective Biographies of Women database?

Please provide the English label and description for the person whose Collective Biographies of Women ID is 13387.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4539> "13387". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Top causes of death among alumni of Chilean universities, in Spanish.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?universityLabel ?causeOfDeathLabel ( COUNT( ?person ) AS ?count ) WHERE {
  ?university wdt:P31 wd:Q3918 ; wdt:P17 wd:Q298 ; rdfs:label ?universityLabel .
  ?person wdt:P69 ?university ; wdt:P509 ?causeOfDeath .
  ?causeOfDeath rdfs:label ?causeOfDeathLabel .
  FILTER ( LANG( ?universityLabel ) = "es" ) FILTER ( LANG( ?causeOfDeathLabel ) = "es" )
}
GROUP BY ?universityLabel ?causeOfDeathLabel
ORDER BY DESC ( ?count )

What are the most common causes of death for people who studied at universities in Chile, listed in Spanish and ranked by frequency?

Show me how many alumni from each Chilean university died from each cause of death, with labels in Spanish, sorted from most to least frequent.

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 DESC( ?var3 )


Question: Which film has the elCinema ID 2018299?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?film WHERE {
  ?film wdt:P3135 "2018299" .
}

What is the Wikidata item for the movie identified as 2018299 in elCinema?

Can you find the movie in Wikidata that is linked to the elCinema film ID '2018299'?

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3135> "2018299". }


Question: Most frequent properties linking entities to the Davis Cup

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property(COUNT(?item) AS ?count) WHERE {
  ?item ?property wd:Q132377 .
}
GROUP BY ?property
HAVING(?count > 1)
ORDER BY DESC(?count)

Which properties are used most often to connect items to the Davis Cup in Wikidata, and how many times?

Show me the properties that connect more than one item to the Davis Cup, sorted by how often they’re used.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q132377> . 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 )


Question: What is the name and description of the Australian geographic location with ASGS2016 ID SSC13830?

SELECT ?location ?label ?description WHERE { ?location wdt:P4093 "SSC13830" . ?location rdfs:label ?label . OPTIONAL { ?location schema:description ?description . FILTER (LANG(?description) = "en") } }

What is the English label and description of the place in Australia identified by the Australian Statistical Geography Standard 2016 code SSC13830?

Please provide the name and English description of the locality in Australia that has the ASGS2016 identifier SSC13830.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4093> "SSC13830". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What is the UNESCO World Heritage Site with the ID 722?

SELECT DISTINCT ?site WHERE { ?site wdt:P757 "722" . FILTER NOT EXISTS { ?site rdf:type wikibase:Property . } } LIMIT 1000

Which site is identified by the UNESCO World Heritage Site ID 722?

Can you tell me the name of the heritage site that has the UNESCO identifier 722?

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P757> "722". FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } ) ) . } LIMIT 1000


Question: Who is the person with IMDb ID nm6531696?

SELECT ?item ?itemLabel WHERE { ?item wdt:P345 "nm6531696" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") }

What is the name of the individual linked to the IMDb identifier nm6531696 in Wikidata?

Find the Wikidata entry for the person with IMDb ID nm6531696.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> "nm6531696". }


Question: Which Wikidata items have the Twitter usernames CityOfBoston, melroserugby, or deventergem?

SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { "CityOfBoston" "melroserugby" "deventergem" } }

What entities on Wikidata are associated with the Twitter accounts @CityOfBoston, @melroserugby, and @deventergem?

Show me the Wikidata items linked to the Twitter handles CityOfBoston, melroserugby, and deventergem.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "Yorgl_" ) ( "SJBisexual" ) ( "string1" ) } }


Question: Female humans with Instagram usernames

SELECT ?person WHERE { ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P2003 ?instagramUsername .}

Who are the female humans who have an Instagram account?

List all female individuals on Wikidata who have a publicly listed Instagram username.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> ; <http://www.wikidata.org/prop/direct/P2003> ?var2 . FILTER ( ( BOUND ( ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Who is the KVAB member with ID 440, and what is their English description?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
SELECT ?item ?itemLabel ?description WHERE {
  ?item wdt:P3887 "440" .
  OPTIONAL {
    ?item rdfs:label ?itemLabel .
    FILTER(LANG(?itemLabel) = "en")
  }
  OPTIONAL {
    ?item schema:description ?description .
    FILTER(LANG(?description) = "en")
  }
}

What is the name and English description of the person with KVAB member ID 440?

Show me the English label and description of the Royal Flemish Academy member with ID 440.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3887> "440". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who has the IdRef ID 02675830X?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person WHERE {
  ?person wdt:P269 "02675830X" .
}

Which person is identified by the IdRef number 02675830X?

Tell me the name of the person with the SUDOC authority ID 02675830X.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P269> "02675830X". }


Question: Swedish obstetricians with SBL IDs and their other medical professions.

SELECT ?person ?swedishLabel ?sblId (GROUP_CONCAT(?otherOccupationLabel; separator=", ") AS ?otherOccupations) ?sblUrl WHERE { ?person wdt:P106 wd:Q13638192 . ?person wdt:P3217 ?sblId . BIND(IRI(CONCAT("https://sbl.spraakdata.gu.se/sbl/person/", ?sblId)) AS ?sblUrl) OPTIONAL { ?person skos:altLabel ?swedishLabel . FILTER(LANG(?swedishLabel) = "sv") } OPTIONAL { ?person wdt:P106 ?otherOccupation . FILTER(?otherOccupation != wd:Q13638192) . ?otherOccupation rdfs:label ?otherOccupationLabel . FILTER(LANG(?otherOccupationLabel) = "en") } } GROUP BY ?person ?swedishLabel ?sblId ?sblUrl LIMIT 100

Who are the Swedish obstetricians listed in the Dictionary of Swedish National Biography, and what other professions did they have?

List Swedish obstetricians who have an entry in the Dictionary of Swedish National Biography, including their Swedish alternative names and other occupations in English, along with links to their SBL profiles.

SELECT ?var1 ?var1Label ?var2 ( GROUP_CONCAT ( ?var3 ) AS ?var4 ) ?var5 WHERE { BIND ( IRI ( CONCAT ( "", ?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 . } OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "sv" ) ) ) . } } GROUP BY ?var1 ?var1Label ?var2 ?var3Label ?var5 LIMIT 100


Question: Humans with nicknames and Freebase IDs, along with their English occupations

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?human ?nickname ?freebaseId(GROUP_CONCAT(DISTINCT ?occupationLabel ; SEPARATOR = ", ") AS ?occupations) WHERE {
  ?human wdt:P31 wd:Q5 .
  ?human wdt:P106 ?occupation .
  ?occupation rdfs:label ?occupationLabel .
  FILTER(LANG(?occupationLabel) = "en")
  .
  ?human wdt:P1449 ?nickname .
  ?human wdt:P646 ?freebaseId .
}
GROUP BY ?human ?nickname ?freebaseId
ORDER BY ASC(?human)

Which humans have nicknames and Freebase IDs, and what are their English occupations?

Show me a list of people with nicknames and Freebase IDs, including all their English occupations concatenated.

SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var6 WHERE { SELECT ?var1 ?var1Label ?var2Label ?var3 ( GROUP_CONCAT ( DISTINCT ?var7 ; SEPARATOR = ", " ) AS ?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/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . FILTER ( ( ( LANG ( ?var7 ) = "en" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P1449> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P646> ?var6 . } GROUP BY ?var1 ?var1Label ?var2Label ?var3 ?var5 ?var6 } ORDER BY ASC( ?var1 )


Question: What is the most specific infobox template for humans with a Russian Wikipedia article?

PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?template ?topic ?steps WHERE {
  ?template wdt:P31 wd:Q19887878 ; wdt:P1423 ?topic .
  ?topic wdt:P279 * wd:Q5 .
  {
    SELECT ?topic ( COUNT( ?mid ) AS ?steps ) WHERE {
      ?topic wdt:P279 ?mid .
      ?mid wdt:P279 * wd:Q5 .
    }
    GROUP BY ?topic
  } UNION {
    BIND( wd:Q5 AS ?topic ) BIND( 0 AS ?steps )
  }
  ?article schema:about ?template ; schema:isPartOf <https://ru.wikipedia.org/> .
}
ORDER BY ASC ( ?steps )
LIMIT 1

Which infobox template is used for humans and has the closest subclass relationship to the human category on Russian Wikipedia?

Find the infobox template that best represents humans, has a Russian Wikipedia page, and is as specific as possible in its classification.

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/Q28739130> ( <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


Question: What is the English name of the person with Swedish National Biography ID 7462?

SELECT ?person ?label ?description WHERE { ?person wdt:P3217 "7462" . OPTIONAL { ?person rdfs:label ?label . FILTER (LANG(?label) = "en") } OPTIONAL { ?person schema:description ?description . FILTER (LANG(?description) = "en") } }

Who is Nils Herman Quiding, and what is his description in English?

Can you find the English label and description for the individual identified by SBL ID 7462 in the Dictionary of Swedish National Biography?

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> "7462". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: English name of the person with Freebase ID /m/0dvmd

SELECT ?item ?label WHERE { ?item wdt:P646 "/m/0dvmd" . ?item rdfs:label ?label . FILTER(LANG(?label) = "en") }

Who is the person identified by the Freebase ID /m/0dvmd?

Tell me the English label of the Wikidata item that has the Freebase ID /m/0dvmd.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P646> "/m/0dvmd". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . }


Question: What OpenStreetMap tag is used for roller coasters, and what is their broader category?

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { wd:Q7577010 wdt:P31 ?class . ?class wdt:P279* ?var1 . ?var1 wdt:P1282 ?var2 . ?var1 wdt:P279 ?var3 . ?var1 rdfs:label ?var1Label . ?var3 rdfs:label ?var3Label . FILTER(LANG(?var1Label) = "en") FILTER(LANG(?var3Label) = "en") }

Which OpenStreetMap key or tag applies to the class of the Spider roller coaster, and what is its direct superclass?

What tagging scheme in OpenStreetMap describes roller coasters, and what broader class do they belong to?

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { <http://www.wikidata.org/entity/Q7577010> <http://www.wikidata.org/prop/direct/P279> * ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P1282> ?var2 . ?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". } }


Question: Who has the IMDb ID nm1418367?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person WHERE {
  ?person wdt:P345 "nm1418367" .
}

Which person on Wikidata is associated with the IMDb identifier nm1418367?

Find the Wikidata entity for the IMDb person ID nm1418367.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> "nm1418367". }


Question: What movie has the elFilm ID 269832?

SELECT ?movie WHERE { ?movie wdt:P3143 "269832" . }

Which film on Wikidata is identified by the elFilm ID 269832?

Give me the Wikidata item for the movie with elFilm ID 269832.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3143> "269832". }


Question: What is the English name and description of the Australian geographic location with ASGS2016 ID SSC14134?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?location ?label ?description WHERE {
  ?location wdt:P4093 "SSC14134" .
  ?location rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" ) OPTIONAL {
    ?location schema:description ?description .
    FILTER ( LANG( ?description ) = "en" )
  }
}

What is the English label and description of the locality in New South Wales identified by the Australian Statistical Geography Standard 2016 code SSC14134?

Please provide the English name and description of the location in Australia that has the ASGS2016 identifier SSC14134.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4093> "SSC14134". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Oostappen Netherlands flag, BAG code, and population

SELECT ?flag ?bagCode ?population ?place WHERE { ?place rdfs:label "Oostappen"@nl . OPTIONAL { ?place wdt:P41 ?flag . } OPTIONAL { ?place wdt:P981 ?bagCode . } OPTIONAL { ?place wdt:P1082 ?population . } }

What is the flag image, BAG residence ID, and population of the hamlet Oostappen in the Netherlands?

Show me the flag, BAG code, and population of Oostappen, if available.

SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> "Oostappen"@nl ; <http://www.wikidata.org/prop/direct/P981> ?var2 ; <http://www.wikidata.org/prop/direct/P1082> ?var3 . FILTER ( ( isLITERAL ( "Oostappen"@nl ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P41> ?var1 . } }


Question: Does the cartoon with Big Cartoon Database ID 4333 exist in Wikidata?

ASK WHERE { ?cartoon wdt:P4933 "4333" . }

Is there a cartoon in Wikidata that has the BCDB ID 4333?

Find out if the animated short 'Ali-Baba Bound' is linked to the BCDB ID 4333 in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> "4333". }


Question: Participants of the 2014 FIFA World Cup and their official names

SELECT ?participant ?participantLabel ?officialName WHERE { ?participant wdt:P1344 wd:Q79859 . ?participant rdfs:label ?participantLabel . FILTER(LANG(?participantLabel) = "en") OPTIONAL { ?participant wdt:P1448 ?officialName . } } LIMIT 1000

Who participated in the 2014 FIFA World Cup, and what are their official names?

List all players and teams that took part in the 2014 FIFA World Cup along with their official names, if available.

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/P1344> <http://www.wikidata.org/entity/Q79859> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . } } LIMIT 1000


Question: Items named after lighthouses and their qualifiers

SELECT ?item ?statement ?qualifierProperty WHERE { ?item p:P138 ?statement . ?statement ps:P138 wd:Q39715 . ?statement ?qualifierProperty ?value . FILTER(!STRSTARTS(STR(?qualifierProperty), STR(ps:)) && !STRSTARTS(STR(?qualifierProperty), STR(pr:)) && ?qualifierProperty != wikibase:rank && ?qualifierProperty != rdf:type && ?qualifierProperty != prov:wasDerivedFrom)}

Which items are named after a lighthouse, and what additional information is provided about their naming?

Show me all entities named after a lighthouse along with any qualifiers attached to their "named after" statements.

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/Q39715> . ?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


Question: Female humans with Instagram usernames and their labels

SELECT ?personLabel ?instagram WHERE { ?person wdt:P21 wd:Q6581072 . ?person wdt:P2003 ?instagram . ?person rdfs:label ?personLabel . } LIMIT 100

Who are some female individuals on Wikidata who have an Instagram account, and what are their labels?

List female people who have Instagram usernames along with their names in different languages.

SELECT ?var1 ?var2Label ?var3Label ?var4Label ?var5 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var6 <http://www.wikidata.org/prop/direct/P2003> ?var7 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/entity/P2003> . 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> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P2003> ?var7 . } } LIMIT 100


Question: What are the zoos located in Israel?

SELECT ?zoo ?zooLabel WHERE { ?zoo wdt:P31 wd:Q43501 . ?zoo wdt:P17 wd:Q801 . ?zoo rdfs:label ?zooLabel . FILTER(LANG(?zooLabel) = "en") }

List the English-named zoos in Israel.
Zoos in Israel

SELECT ?var1 ?var1Label 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". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q801> . }


Question: What is the English name and description of the organization with Library of Congress ID n87860894?

SELECT ?entity ?entityLabel ?description WHERE { ?entity wdt:P244 "n87860894" . ?entity rdfs:label ?entityLabel . FILTER (LANG(?entityLabel) = "en") OPTIONAL { ?entity schema:description ?description . FILTER (LANG(?description) = "en") } }

Can you tell me the name and type in English of the entity identified by the LCCN n87860894?

Please provide the English label and description for the entity linked to the Library of Congress authority ID n87860894.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P244> "n87860894". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the different ways people educated in Chile died, as described in Spanish?

SELECT DISTINCT ?mannerOfDeathLabel WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P69 ?institution . ?institution wdt:P17 wd:Q298 . ?institution rdfs:label ?institutionLabel . ?human rdfs:label ?humanLabel . ?human wdt:P1196 ?mannerOfDeath . ?mannerOfDeath rdfs:label ?mannerOfDeathLabel . FILTER (LANG(?humanLabel) = "es") . FILTER (LANG(?institutionLabel) = "es") . FILTER (LANG(?mannerOfDeathLabel) = "es") . }

In Spanish, what are the reported causes of death for individuals who attended educational institutions in Chile?

Can you list the Spanish labels for manners of death of humans with alma maters in Chile?

SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P69> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P1196> ?var6 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var5 ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var4 ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = "es" ) ) ) . }


Question: List Argentine scientists from the Diccionario de científicos argentinos Dra. Grierson with their IDs.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?scientistLabel ?griersonId WHERE {
  ?scientist wdt:P3946 ?griersonId .
  ?scientist rdfs:label ?scientistLabel .
  FILTER(LANG(?scientistLabel) = "es")
}
LIMIT 500

Who are the Argentine scientists listed in the Diccionario de científicos argentinos Dra. Grierson, and what are their IDs?

Please provide the names (in Spanish) and Dictionary Grierson IDs of all Argentine scientists in the Diccionario de científicos argentinos.

SELECT ?var1Label ?var2 ?var3 ?var4 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/P3946> ?var2 . } } LIMIT 500


Question: What movie has the EDb film ID t0007285?

SELECT ?movie WHERE { ?movie wdt:P3141 "t0007285" . }

Which film is identified by the EDb ID t0007285?

Tell me the movie associated with the EDb film ID t0007285.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3141> "t0007285". }


Question: What is the English label and description of the Australian geographic region with ASGS2016 ID SSC20108?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?place ?placeLabel ?description WHERE {
  ?place wdt:P4093 "SSC20108" .
  OPTIONAL {
    ?place rdfs:label ?placeLabel .
    FILTER ( LANG( ?placeLabel ) = "en" )
  }
  OPTIONAL {
    ?place schema:description ?description .
    FILTER ( LANG( ?description ) = "en" )
  }
}

Find the name and description in English of the place identified by the Australian Statistical Geography Standard 2016 code SSC20108.

Which locality in Australia has the ASGS2016 identifier SSC20108, and what is its English description?

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4093> "SSC20108". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who played in the 2014 FIFA World Cup, and where were they born?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?player ?birthplace WHERE {
  ?player wdt:P1344 wd:Q79859 ; wdt:P19 ?birthplace .
}

List the players of the 2014 FIFA World Cup along with their birthplaces.

What are the birthplaces of all participants in the 2014 FIFA World Cup?

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1344> <http://www.wikidata.org/entity/Q79859> ; <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". } }


Question: Who is the person with Swedish National Biography ID 10697, and what is their English description?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?label ?description WHERE {
  ?item wdt:P3217 "10697" .
  ?item rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" ) OPTIONAL {
    ?item schema:description ?description .
    FILTER ( LANG( ?description ) = "en" )
  }
}

What is the name and English description of the individual listed as ID 10697 in the Dictionary of Swedish National Biography?

Please provide the English name and description of the person identified by the SBL ID 10697.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> "10697". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What is the English label and description of the person with National Library of Spain ID XX1228684?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
SELECT ?item ?itemLabel ?desc WHERE {
  ?item wdt:P950 "XX1228684" .
  OPTIONAL {
    ?item schema:description ?desc .
    FILTER(LANG(?desc) = "en")
  }
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en")
}

Who is the person identified by the BNE ID XX1228684, and what is their English description?

Please provide the English name and description of the individual whose National Library of Spain ID is XX1228684.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P950> "XX5470178". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the properties (like instance of, inception, image) of Karlsruhe-related entities such as Kronenplatz, University of Karlsruhe, and Karlsruhe City Archive?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?itemLabel ?propertyLabel ?valueDisplay WHERE {
  VALUES ?item {
    wd:Q19288378 wd:Q30343035 wd:Q18628210 wd:Q21036969 wd:Q21040660 wd:Q29426438 wd:Q830920 wd:Q18628534 wd:Q28737478 wd:Q895068 wd:Q1698463 wd:Q18604080 wd:Q1633965 wd:Q1664948 wd:Q1327646 wd:Q11722115 wd:Q1749632 wd:Q2305644 wd:Q21040684 wd:Q15829497 wd:Q1008310 wd:Q1381130 wd:Q1569329 wd:Q32063953 wd:Q15814260 wd:Q1532461 wd:Q427040 wd:Q535937 wd:Q1781764 wd:Q14544099
  }
  VALUES ?property {
    wdt:P17 wdt:P31 wdt:P18 wdt:P856 wdt:P571 wdt:P1435 wdt:P149 wdt:P361 wdt:P1454 wdt:P969
  }
  ?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( IF( BOUND( ?valueLabel ) , ?valueLabel , STR( ?value ) ) AS ?valueDisplay )
}

For each of the major buildings, streets, and institutions in Karlsruhe, what are their labels, property types (e.g., “instance of” or “inception”), and corresponding values?

Show me the English labels of 30 key locations and institutions in Karlsruhe, along with the property names (like “image” or “inception”) and their values — whether those are entity labels (e.g., “square”) or literals (e.g., dates or URLs).

SELECT ?var1Label ?var2Label ?var3Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q19288378> ) ( <http://www.wikidata.org/entity/Q30343035> ) ( <http://www.wikidata.org/entity/Q18628210> ) ( <http://www.wikidata.org/entity/Q21036969> ) ( <http://www.wikidata.org/entity/Q21040660> ) ( <http://www.wikidata.org/entity/Q29426438> ) ( <http://www.wikidata.org/entity/Q830920> ) ( <http://www.wikidata.org/entity/Q18628534> ) ( <http://www.wikidata.org/entity/Q28737478> ) ( <http://www.wikidata.org/entity/Q895068> ) ( <http://www.wikidata.org/entity/Q1698463> ) ( <http://www.wikidata.org/entity/Q18604080> ) ( <http://www.wikidata.org/entity/Q1633965> ) ( <http://www.wikidata.org/entity/Q1664948> ) ( <http://www.wikidata.org/entity/Q1327646> ) ( <http://www.wikidata.org/entity/Q11722115> ) ( <http://www.wikidata.org/entity/Q1749632> ) ( <http://www.wikidata.org/entity/Q2305644> ) ( <http://www.wikidata.org/entity/Q21040684> ) ( <http://www.wikidata.org/entity/Q15829497> ) ( <http://www.wikidata.org/entity/Q1008310> ) ( <http://www.wikidata.org/entity/Q1381130> ) ( <http://www.wikidata.org/entity/Q1569329> ) ( <http://www.wikidata.org/entity/Q32063953> ) ( <http://www.wikidata.org/entity/Q15814260> ) ( <http://www.wikidata.org/entity/Q1532461> ) ( <http://www.wikidata.org/entity/Q427040> ) ( <http://www.wikidata.org/entity/Q535937> ) ( <http://www.wikidata.org/entity/Q1781764> ) ( <http://www.wikidata.org/entity/Q14544099> ) } 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/P856> ) ( <http://www.wikidata.org/prop/direct/P571> ) ( <http://www.wikidata.org/prop/direct/P1435> ) ( <http://www.wikidata.org/prop/direct/P149> ) ( <http://www.wikidata.org/prop/direct/P361> ) ( <http://www.wikidata.org/prop/direct/P1454> ) ( <http://www.wikidata.org/prop/direct/P969> ) } ?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". } }


Question: Who is the person with the IMDb ID nm0000204?

SELECT ?item WHERE { ?item wdt:P345 "nm0000204" }

Which Wikidata entity corresponds to the IMDb identifier nm0000204?

Can you find the person in Wikidata whose IMDb ID is nm0000204?

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> "nm0341682". } ORDER BY ASC( ?var1 )


Question: English label of the Open Library author with ID OL1935687A

SELECT ?item ?label ?description WHERE { ?item wdt:P648 "OL1935687A" . OPTIONAL { ?item rdfs:label ?label . FILTER (LANG(?label) = "en") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = "en") } }

What is the English name of the author in Wikidata with Open Library ID OL1935687A?

Show me the English label for the Wikidata item linked to Open Library author ID OL1935687A, if available.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> "OL1935687A". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What film has the Scope.dk ID 1565?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?film WHERE {
  ?film wdt:P2518 "1565" .
}

Which movie is identified by the Scope.dk film ID 1565?

Can you tell me the Wikidata item for the film with Scope.dk ID 1565?

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> "1565". }


Question: Is there a football player on Wikidata with Transfermarkt ID 6724?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?player wdt:P2446 "6724" .
}

Does the Transfermarkt player ID 6724 correspond to a footballer in Wikidata?

Confirm if Alexander Thamm is listed in Wikidata with Transfermarkt ID 6724.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2446> "6724". }


Question: What geographic regions (from municipality to continent) include the Windmill Point Lighthouse?

SELECT DISTINCT ?location WHERE { wd:Q32516025 (wdt:P131|wdt:P17|wdt:P30)* ?location .}

List all administrative divisions and continents that the Windmill Point Lighthouse belongs to, directly or indirectly.

Where is the Windmill Point Lighthouse located, including its country, province, and continent?

SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q32516025> 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 . }


Question: Is Haplogroup A0-T classified as a human Y-chromosome DNA haplogroup?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  wd:Q16001278 wdt:P31 wd:Q428875 .
}

Does Haplogroup A0-T belong to the category of human Y-chromosome DNA haplogroups?

Confirm that Haplogroup A0-T is an instance of human Y-chromosome DNA haplogroup.

ASK WHERE { <http://www.wikidata.org/entity/Q16001278> ( <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". }


Question: What Wikipedia pages and Wikimedia resources are about the artist with ULAN ID 500023524?

PREFIX schema: <http://schema.org/>
PREFIX wdtn: <http://www.wikidata.org/prop/direct-normalized/>
SELECT ?page ?artist WHERE {
  ?artist wdtn:P245 <http://vocab.getty.edu/ulan/500023524> .
  ?page schema:about ?artist .
}

Which language versions of Wikipedia and other Wikimedia pages discuss Claire Falkenstein, the artist identified by ULAN ID 500023524?

List all Wikimedia pages linked to Claire Falkenstein via her Union List of Artist Names ID (500023524).

SELECT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct-normalized/P245> <http://vocab.getty.edu/ulan/500023524> . ?var1 <http://schema.org/about> ?var2 . }


Question: What are the names and founding dates of zoos in Wikidata?

SELECT ?zoo ?zooLabel ?foundingDate WHERE { ?zoo wdt:P31 wd:Q43501 . OPTIONAL { ?zoo wdt:P571 ?foundingDate . } ?zoo rdfs:label ?zooLabel . FILTER(LANG(?zooLabel) = "en") } LIMIT 100

Can you list zoos with their English names and when they were founded?

Which zoos have known founding years, and what are their official English names?

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/Q43501> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } } LIMIT 100


Question: What are all the properties and values for Madonna’s Freebase ID /m/01vs_v8?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?property ?value WHERE {
  wd:Q1744 ?property ?value .
}

What information does Wikidata have about the entity with Freebase ID /m/01vs_v8?

List all triples associated with the Wikidata entity linked to Freebase ID /m/01vs_v8.

SELECT DISTINCT ?var1Label ?var2 ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P646> "/m/01vs_v8". ?var1 ?var2 ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Greek artists born in 1980

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?person ?personLabel WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P27 wd:Q41 .
  ?person wdt:P106 / wdt:P279 * wd:Q483501 .
  ?person wdt:P569 ?birthDate .
  FILTER ( YEAR( ?birthDate ) = 1980 ) .
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}
LIMIT 500

Who are the Greek human artists born in 1980?

List the names of people who are citizens of Greece, have an occupation related to art, and were born in 1980.

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/P27> <http://www.wikidata.org/entity/Q41> . ?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> "fr,en". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2439> . } LIMIT 500


Question: What entities are classified as medical organizations or related to them via subclass, main subject, topic, or medical specialty?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?entity ?property WHERE {
  ?entity ?property wd:Q4287745 .
  FILTER(?property != wdt:P31)
  FILTER(?property IN(wdt:P279 , wdt:P971 , wdt:P921 , wdt:P5137))
}
ORDER BY ?entity
LIMIT 101

Which entities are linked to medical organizations using properties other than 'instance of', and what are those properties?

List the entities connected to medical organizations through subclass of, main subject, topic of, or medical specialty, along with the connecting property.

SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q4287745> . ?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


Question: Czech municipalities and neighborhoods with earliest written records before 1486 and their coordinates.

SELECT DISTINCT ?item ?coordinates ?year WHERE { { ?item wdt:P31 wd:Q5153359 . } UNION { ?item wdt:P2788 [] . } ?item wdt:P1249 ?date . BIND(YEAR(?date) AS ?year) ?item wdt:P625 ?coordinates . FILTER (?year < 1486) }

Which towns and neighborhoods in the Czech Republic were first recorded in writing before 1486, and where are they located?

List all Czech municipalities and neighbourhoods that have a documented first written mention before 1486, along with their geographic coordinates.

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 < "1486"^^<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". } }


Question: Does the National Register of Historic Places reference number 91001327 exist in Wikidata?

Is there a historic place in the National Register of Historic Places with the ID 91001327?

Check if the NRHP ID 91001327 is registered in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> "91001327". }


Question: What is the English name of the person with Library of Congress ID n85049681?

SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P244 "n85049681" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = "en") } }

Can you find the English label and description for the entity identified by the LCCN n85049681?

Who is the individual associated with the Library of Congress control number n85049681, and do they have an English description?

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P244> "n85049681". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Newspapers and media companies in Sweden

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?entity ?entityLabel ?country ?countryLabel WHERE {
  wd:Q389458 wdt:P17 ?country .
  ?entity wdt:P17 ?country .
  ?entity wdt:P31 ?type .
  VALUES ?type {
    wd:Q11032 wd:Q1331793
  }
  .
  ?entity rdfs:label ?entityLabel .
  ?country rdfs:label ?countryLabel .
  FILTER ( LANG( ?entityLabel ) = "en" ) FILTER ( LANG( ?countryLabel ) = "en" )
}

What newspapers and media companies are located in Sweden, the same country as Aftonbladet?

List English-labeled newspapers and media organizations based in Sweden.

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/Q389458> ; <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/P17> . } 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> "en". } }


Question: What newspapers are associated with Finland and what properties link them to Finland?

SELECT ?newspaper ?relationship WHERE { ?newspaper (wdt:P31/wdt:P279*) wd:Q11032 ; ?relationship wd:Q33 . } LIMIT 5

Which newspapers have a connection to Finland, and what are the types of those connections?

List newspapers linked to Finland along with the relationship types, such as country of origin or country.

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/Q11032> ; ?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 5


Question: What is the English label of the entity with Freebase ID /m/02mjmr?

SELECT ?item ?itemLabel WHERE { ?item wdt:P646 "/m/02mjmr" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") }

Who is the person identified by the Freebase ID /m/02mjmr, and what is their name in English?

Please provide the English name of the person whose Freebase identifier is /m/02mjmr.

SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P646> "/m/02mjmr". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: List first-level administrative divisions with their OpenStreetMap relation IDs, formatted as Wikidata links and OSM IDs.

SELECT ( CONCAT ( "*{{Q|" , STRAFTER( STR( ?adminDivision ) , "/entity/" ) , "}}:" ) AS ?wikidataLink ) ( CONCAT ( "OSM ID: " , ?osmId ) AS ?osmInfo ) WHERE { ?adminDivision wdt:P402 ?osmId . ?adminDivision ( wdt:P31 / wdt:P279* ) wd:Q10864048 . } LIMIT 1000

Which first-level administrative divisions have OpenStreetMap relation IDs, and how are they linked in Wikidata?

Please provide a list of first-level administrative divisions showing their Wikidata item links and corresponding OpenStreetMap relation IDs.

SELECT( CONCAT ( "*{{Q|", STRAFTER ( STR ( ?var1 ) , "/entity/" ) , "}}:" ) AS ?var2 )( CONCAT ( "string1", ?var3 , " ]" ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P402> ?var3 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> . } LIMIT 1000


Question: What is the longitude of the hospital at Veilhofstraße 38 in Nuremberg?

SELECT ?hospital ?longitude WHERE { VALUES ?hospital { wd:Q41427943 } ?hospital p:P625 ?statement . ?statement psv:P625 ?value . ?value wikibase:geoLongitude ?longitude .}

Longitude of hospital at Veilhofstraße 38, Nuremberg

Give me the longitude of the hospital located at Veilhofstraße 38 in Nuremberg.

SELECT ?var1 ?var2 ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q41427943> ) } ?var1 <http://www.wikidata.org/prop/P625> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/value/P625> ?var5 . ?var5 <http://wikiba.se/ontology#geoLongitude> ?var3 . }


Question: Coordinates of the house at An den Weihern 29/31 and the hospital at Veilhofstraße 38 in Nuremberg.

SELECT ?item ?latitude ?longitude WHERE { VALUES ?item { wd:Q41411330 wd:Q41427943 } ?item p:P625 ?statement . ?statement psv:P625 ?value . ?value wikibase:geoLatitude ?latitude . ?value wikibase:geoLongitude ?longitude .}

What are the latitude and longitude coordinates of the heritage-listed house and hospital in Nuremberg, Germany?

Please provide the geographic coordinates (latitude and longitude) for the two heritage monuments in Nuremberg: the house at An den Weihern and the hospital at Veilhofstraße.

SELECT ?var1 ?var2 ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q41411330> ) ( <http://www.wikidata.org/entity/Q41427943> ) } ?var1 <http://www.wikidata.org/prop/P625> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/value/P625> ?var5 . ?var5 <http://wikiba.se/ontology#geoLongitude> ?var3 . ?var5 <http://wikiba.se/ontology#geoLatitude> ?var2 . }


Question: What are the publications where Noam Chomsky has published the most works, and how many works did he publish in each?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?publication ?publicationLabel ( COUNT( ?work ) AS ?workCount ) WHERE {
  ?work wdt:P50 wd:Q9049 .
  ?work wdt:P1433 ?publication .
  ?publication rdfs:label ?publicationLabelRaw .
  FILTER ( LANG( ?publicationLabelRaw ) = "en" ) .
  OPTIONAL {
    ?publication wdt:P1813 ?publicationShortName .
  }
  BIND( COALESCE ( ?publicationShortName , ?publicationLabelRaw ) AS ?publicationLabel ) .
}
GROUP BY ?publication ?publicationLabel
ORDER BY DESC ( ?workCount )

List the English-language journals and media outlets that have published Noam Chomsky’s works, ranked by the number of publications per outlet.

Which publications have featured the highest number of writings by linguist Noam Chomsky, using either their full names or abbreviations?

SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q16727393> . ?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 )


Question: Does the National Register of Historic Places ID 99000546 exist in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?item wdt:P649 "99000546" .
}

Is there a historic place in Wikidata with the NRHP reference number 99000546?

Check if the Womack House is listed in Wikidata using its NRHP ID 99000546.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> "99000546". }


Question: Is there an ice hockey player in Wikidata with Eurohockey.com ID 55137?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?player wdt:P2601 "55137" .
}

Does the player Olli Kaski have the Eurohockey.com player ID 55137?

Confirm if the Eurohockey.com player ID 55137 is assigned to any ice hockey player in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> "55137". }


Question: Collaborators of Paul Erdős

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?coauthor ?coauthorLabel WHERE {
  ?work wdt:P50 wd:Q173746 .
  ?work wdt:P50 ?coauthor .
  FILTER ( ?coauthor != wd:Q173746 ) .
  ?coauthor rdfs:label ?coauthorLabel .
  FILTER ( LANG( ?coauthorLabel ) = "en" )
}
LIMIT 10

Who are the co-authors of mathematician Paul Erdős?

List the people who co-authored papers with Paul Erdős.

SELECT ?var1 ?var1Label ?var2 WHERE { { <http://www.wikidata.org/entity/Q173746> <http://www.wikidata.org/prop/direct/P2652> * ?var1 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P2652> * <http://www.wikidata.org/entity/Q173746> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2652> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the subclasses of colourant?

SELECT DISTINCT ?subclass WHERE { ?subclass wdt:P279 wd:Q911922 . }

What types of substances are considered direct subclasses of colourant?

List all the specific kinds of colourants, such as pigments and dyes, that are directly classified under the category of colourant.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q911922> . 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". } }


Question: Is there a historic place in the National Register of Historic Places with reference number 10000350?

Does the National Register of Historic Places list a property with the ID 10000350?

Confirm whether the Hollister Homestead is registered in the National Register of Historic Places using its reference number 10000350.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> "10000350". }


Question: What is the title of the movie with IMDb ID tt5843838?

SELECT ?item ?itemLabel WHERE { ?item wdt:P345 "tt5843838" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") }

Which movie on Wikidata has the IMDb identifier tt5843838?

Show me the name of the film identified by tt5843838 on IMDb.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt5843838". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de". } }


Question: Anatomical structures and their UBERON identifiers

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?anatomy ?anatomyLabel ?uberonId WHERE {
  ?anatomy wdt:P1554 ?uberonId .
  ?anatomy rdfs:label ?anatomyLabel .
  FILTER ( LANG( ?anatomyLabel ) = "en" )
}

What are the English names of anatomical structures in Wikidata and their corresponding UBERON IDs?

List anatomical entities with their English labels and UBERON ontology IDs.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var5Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1554> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Which Wikidata entity is associated with the OpenStreetMap tag "Tag:amenity=restaurant"?

SELECT ?entity ?tag WHERE { ?entity wdt:P1282 ?tag . FILTER (?tag = "Tag:amenity=restaurant") } LIMIT 1

What entity in Wikidata corresponds to the OpenStreetMap tag "Tag:amenity=restaurant"?

Find the Wikidata item that uses "Tag:amenity=restaurant" as its OpenStreetMap tag.

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> "es,en". } } LIMIT 1


Question: What is the English label and description of the artwork in the Museum of Modern Art with work ID 48379?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?itemLabel ?description WHERE {
  ?item wdt:P2014 "48379" .
  OPTIONAL {
    ?item schema:description ?description .
    FILTER ( LANG( ?description ) = "en" ) .
  }
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" ) .
}

Find the title and description in English of the MoMA artwork identified by the ID 48379.

Show me the English name and description of the MoMA piece with ID 48379.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2014> "48343". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who is the West Point graduate with Cullum number 1522, and what is their English label and description?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?label ?description WHERE {
  ?person wdt:P4026 "1522" .
  OPTIONAL {
    ?person rdfs:label ?label .
    FILTER ( LANG( ?label ) = "en" ) .
  }
  OPTIONAL {
    ?person schema:description ?description .
    FILTER ( LANG( ?description ) = "en" ) .
  }
}

What is the name and description in English of the person who has the Cullum number 1522?

Please provide the English name and description (if available) of the individual with Cullum number 1522 from the US Military Academy.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4026> "1522". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Nuclear power plants in the United States with images and English names

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT DISTINCT ?plant(SAMPLE(?image) AS ?imageUrl) ?plantLabel WHERE {
  ?plant wdt:P31 wd:Q134447 .
  ?plant wdt:P17 wd:Q30 .
  OPTIONAL {
    ?plant wdt:P18 ?image .
  }
  ?plant skos:prefLabel ?plantLabel .
  FILTER(LANG(?plantLabel) = "en")
}
GROUP BY ?plant ?plantLabel
LIMIT 50

What are the nuclear power plants in the United States, their English names, and what images are available for them?

List up to 50 nuclear power plants in the United States, showing their English labels and one representative image each.

SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q134447> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q30> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var5 . } 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> "en,en,fr,es,de,ru,it,nl,ja,zh,pl,cs". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 50


Question: Subclasses of secretion or excretion with English labels and images

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?itemLabel ?image WHERE {
  ?item wdt:P279 wd:Q19388114 .
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" ) OPTIONAL {
    ?item wdt:P18 ?image .
  }
}
LIMIT 100

What are the subclasses of secretion or excretion in Wikidata, along with their English names and associated images?

List the English-named subclasses of secretion or excretion and show any available images for them.

SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q29901725> . 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


Question: List of video games on Wikidata with English labels.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?game ?gameLabel WHERE {
  ?game wdt:P31 wd:Q7889 .
  ?game rdfs:label ?gameLabel .
  FILTER(LANG(?gameLabel) = "en")
}

What are some video games that have English labels in Wikidata?

Show me the names of all video games (instances of Q7889) that have an English label.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7889> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "es,en". } }


Question: Surface features on Tethys and their coordinates

SELECT ?feature ?featureLabel ?coordinates WHERE { ?feature wdt:P376 wd:Q15047 ; wdt:P625 ?coordinates . ?feature rdfs:label ?featureLabel . FILTER(LANG(?featureLabel) = "en") }

What are the named surface features on Saturn's moon Tethys, and where are they located?

List the English-named geological features on Tethys along with their geographic coordinates.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P376> <http://www.wikidata.org/entity/Q15047> ; <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". } }


Question: What is the Wikidata item with Freebase ID /m/02mjmr?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?label WHERE {
  ?item wdt:P646 "/m/02mjmr" .
  ?item rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" )
}

Who is the person identified by the Freebase ID /m/02mjmr in Wikidata?

Return the English label of the Wikidata entity that has the Freebase ID "/m/02mjmr".

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P646> "/m/02mjmr". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Who is the human with Freebase ID /m/02mjmr?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item WHERE {
  ?item wdt:P31 wd:Q5 .
  ?item wdt:P646 "/m/02mjmr" .
}
LIMIT 100

Which person in Wikidata is associated with the Freebase identifier /m/02mjmr?

Find the human entity identified by the Freebase ID /m/02mjmr.

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.0101myps". } LIMIT 100


Question: Items and properties referenced by the Wikipedia image file "Horse and Train.jpg"

SELECT ?item ?property WHERE { ?statement prov:wasDerivedFrom ?ref . ?ref pr:P854 <https://en.wikipedia.org/wiki/File:Horse_and_Train.jpg> . ?statement ?prop ?item . FILTER(STRSTARTS(STR(?prop), "http://www.wikidata.org/prop/statement/")) . BIND(IRI(REPLACE(STR(?prop), "http://www.wikidata.org/prop/statement/", "http://www.wikidata.org/prop/direct/")) AS ?property) }

Which items and their properties are supported by the reference to the Wikipedia file "Horse and Train.jpg"?

Show me all items and the properties they have that are cited using the source https://en.wikipedia.org/wiki/File:Horse_and_Train.jpg

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/reference/96236dfae3b59b02c86801574d550aa44c68324e> . }


Question: What is the German or English Wikipedia page for the TV show with IMDb ID tt5165468?

SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 "tt5165468" . ?wikipediaPage schema:about ?item . { ?wikipediaPage schema:inLanguage "en" . } UNION { ?wikipediaPage schema:inLanguage "de" . } }

Which Wikipedia pages in English or German are about the item with IMDb identifier tt5165468?

Show me the Wikipedia links in English or German for the movie or show identified as tt5165468 on IMDb.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt5165468". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Film with AllMovie ID v480574

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?film WHERE {
  ?film wdt:P1562 "v480574" .
}

Which film has the AllMovie title ID v480574?

Tell me the Wikidata entity for the movie identified as v480574 on AllMovie.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1562> "v480574". }


Question: Who is the artist with MoMA ID 2224, and what is their description?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
SELECT ?artist ?artistLabel ?description WHERE {
  ?artist wdt:P2174 "2224" .
  ?artist rdfs:label ?artistLabel .
  FILTER(LANG(?artistLabel) = "en")
  OPTIONAL {
    ?artist schema:description ?description .
    FILTER(LANG(?description) = "en")
  }
}

What is the name and English description of the artist identified by the Museum of Modern Art with ID 2224?

Please provide the English name and description of the artist whose Museum of Modern Art artist ID is 2224.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2174> "2224". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Video games released between 2000 and 2015 on PlayStation 2, PlayStation 3, Xbox 360, Wii, or Windows, along with their developers and developer countries' coordinates.

SELECT DISTINCT ?developerLabel ?countryLabel ?coordinates WHERE { ?game wdt:P31 wd:Q7889 ; wdt:P400 ?platform ; wdt:P178 ?developer ; wdt:P577 ?publicationDate . ?developer wdt:P17 ?country . ?country wdt:P625 ?coordinates . FILTER ( ?publicationDate > "1999-12-31T00:00:00Z"^^xsd:dateTime ) FILTER ( ?publicationDate < "2016-01-01T00:00:00Z"^^xsd:dateTime ) FILTER ( ?platform IN (wd:Q8079, wd:Q48263, wd:Q132020, wd:Q10683, wd:Q10680) ) ?developer rdfs:label ?developerLabel . ?country rdfs:label ?countryLabel . FILTER (LANG(?developerLabel) = "en") FILTER (LANG(?countryLabel) = "en") }

Which video game developers from which countries developed games for PlayStation 2, PlayStation 3, Xbox 360, Wii, or Windows between 2000 and 2015, and where are those countries located geographically?

Show me the names of developers, their countries, and the geographic coordinates of those countries for video games released between 2000 and 2015 on PlayStation 2, PlayStation 3, Xbox 360, Wii, or Windows.

SELECT DISTINCT ?var1Label ?var2Label ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7889> . ?var4 <http://www.wikidata.org/prop/direct/P400> ?var5 . ?var4 <http://www.wikidata.org/prop/direct/P123> ?var6 . ?var4 <http://www.wikidata.org/prop/direct/P577> ?var7 . ?var4 <http://www.wikidata.org/prop/direct/P178> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . FILTER ( ( ( ?var7 > "1999-12-31T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var7 < "2016-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( REGEX ( STR ( ?var5 ) , "Q8079" ) || REGEX ( STR ( ?var5 ) , "Q48263" ) || REGEX ( STR ( ?var5 ) , "Q132020" ) || REGEX ( STR ( ?var5 ) , "Q10683" ) || REGEX ( STR ( ?var5 ) , "Q10680" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr, fr, en". } }


Question: What geographical features are located on Mars?

SELECT ?feature ?featureLabel WHERE { ?feature wdt:P376 wd:Q111 . ?feature rdfs:label ?featureLabel . FILTER(LANG(?featureLabel) = "en") }

Can you list the names of places on Mars?

Which craters, hills, and other surface features on Mars have English labels in Wikidata?

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P376> <http://www.wikidata.org/entity/Q111> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } }


Question: What are the hierarchical types of the color purple, and what are those types instances of?

SELECT ?var1 ?var1Label ?var2 WHERE { wd:Q3257809 wdt:P31+ ?var1 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en") OPTIONAL { ?var1 wdt:P31 ?var2 . } }

Show all classes that purple belongs to, and for each, what class is it an instance of?

What is the type hierarchy above purple in Wikidata, including the types of its types?

SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q3257809> <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". } }


Question: Instances and subclasses of public health with their number of direct instances.

SELECT DISTINCT ?instance ?count ?subclass ?count2 WHERE { { SELECT ?instance (COUNT(?instanceInstance) AS ?count) WHERE { ?instance wdt:P31 wd:Q189603 . ?instanceInstance wdt:P31 ?instance . } GROUP BY ?instance } UNION { SELECT ?subclass (COUNT(?subclassInstance) AS ?count2) WHERE { ?subclass wdt:P279 wd:Q189603 . ?subclassInstance wdt:P31 ?subclass . } GROUP BY ?subclass } }

Which subclasses of public health have the most direct instances, and which specific instances of public health have their own direct instances?

List all subclasses of public health along with how many direct instances each has, and also list all direct instances of public health with their own number of direct instances.

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/Q189603> . ?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/Q189603> . ?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". } } } }


Question: Does Ultraman: The Adventure Begins have a Big Cartoon Database ID of 143829?

Is there a Wikidata item for the animated film 'Ultraman: The Adventure Begins' with BCDB ID 143829?

Confirm if the Big Cartoon Database ID 143829 corresponds to a known entry in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4933> "143829". }


Question: Hegelsom Netherlands BAG code, population, flag

SELECT ?flag ?bagCode ?population ?place WHERE { ?place rdfs:label "Hegelsom"@nl ; wdt:P981 ?bagCode ; wdt:P1082 ?population . OPTIONAL { ?place wdt:P41 ?flag . } }

What is the population and BAG code of the Dutch village Hegelsom, and does it have a flag image?

Give me the BAG code, population, and flag image of Hegelsom, a village in the Netherlands.

SELECT ?var1 ?var2 ?var3 ?var4 WHERE { { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> "Hegelsom"@nl ; <http://www.wikidata.org/prop/direct/P981> ?var2 ; <http://www.wikidata.org/prop/direct/P1082> ?var3 . FILTER ( ( isLITERAL ( "Hegelsom"@nl ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P41> ?var1 . } }


Question: Are there any plant species with "gigi" in their common name and a GRIN URL?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?taxon rdfs:label ?label .
  FILTER(CONTAINS(LCASE(?label) , "gigi"))
  .
  ?taxon wdt:P1421 ?grinUrl .
}

Does Wikidata contain any plant taxa whose common name includes "gigi" and that have a GRIN Taxonomy ID?

Show me plant taxa that have a GRIN URL and a common name containing "gigi".

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1421> "Gigi". }


Question: Czech municipalities with earliest written records before 1278 and their coordinates.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?municipality ?coord ?municipalityLabel WHERE {
  ?municipality wdt:P31 wd:Q5153359 .
  ?municipality wdt:P1249 ?date .
  BIND(YEAR(?date) AS ?year)
  .
  ?municipality wdt:P625 ?coord .
  FILTER(?year < 1278)
  .
  ?municipality rdfs:label ?municipalityLabel .
  FILTER(LANG(?municipalityLabel) = "en")
}

Which municipalities in the Czech Republic were first mentioned in writing before the year 1278, and where are they located?

List the English names, geographic coordinates, and earliest written records (before 1278) of all municipalities in the Czech Republic.

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 < "1278"^^<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". } }


Question: What is the English label and description of the item with Art & Architecture Thesaurus ID 300164508?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
SELECT ?item ?itemLabel ?description WHERE {
  ?item wdt:P1014 "300164508" .
  OPTIONAL {
    ?item rdfs:label ?itemLabel .
    FILTER(LANG(?itemLabel) = "en")
  }
  OPTIONAL {
    ?item schema:description ?description .
    FILTER(LANG(?description) = "en")
  }
}

Can you tell me the name and English description of the object identified by the AAT ID 300164508?

Show me the English name and description for the item that has the Getty AAT identifier 300164508.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1014> "300164508". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What is the English label and description of the Museum of Modern Art work with ID 4265?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
SELECT ?item ?itemLabel ?description WHERE {
  ?item wdt:P2014 "4265" .
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en")
  OPTIONAL {
    ?item schema:description ?description .
    FILTER(LANG(?description) = "en")
  }
}

Can you tell me the name and description in English of the object in the MoMA collection with ID 4265?

Show me the English name and description of the MoMA artifact identified by the work ID 4265.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2014> "4268". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Czech municipalities with earliest written records before 983 AD and their coordinates

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?municipality ?coordinates ?municipalityLabel WHERE {
  ?municipality wdt:P31 wd:Q5153359 ; wdt:P1249 ?earliestRecord ; wdt:P625 ?coordinates .
  BIND( YEAR( ?earliestRecord ) AS ?year ) FILTER ( ?year < 983 ) .
  ?municipality rdfs:label ?municipalityLabel .
  FILTER ( LANG( ?municipalityLabel ) = "en" )
}

Which municipalities in the Czech Republic were first recorded in writing before the year 983, and where are they located?

List the English names, coordinates, and earliest written records (before 983) of municipalities in the Czech Republic.

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 < "983"^^<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". } }


Question: Asteroids with a Portuguese Wikipedia page but no Italian Wikipedia page.

SELECT ?asteroid ?asteroidLabel WHERE { ?asteroid wdt:P31 wd:Q3863 . ?asteroid rdfs:label ?asteroidLabel . FILTER (LANG(?asteroidLabel) = "en") FILTER (NOT EXISTS { ?wikipediaPage schema:about ?asteroid ; schema:inLanguage "it" . }) FILTER (EXISTS { ?wikipediaPage schema:about ?asteroid ; schema:inLanguage "pt" . }) } ORDER BY ASC(?asteroidLabel)

Which asteroids have a Portuguese-language Wikipedia article but do not have an Italian-language one?

List all asteroids that are linked to a Portuguese Wikipedia page but not to an Italian one, sorted alphabetically by name.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3863> . FILTER ( ( NOT EXISTS { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> "it". } ) ) . FILTER ( ( EXISTS { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> "pt". } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "it". } } ORDER BY ASC( ?var1Label )


Question: Who is the author with Open Library ID OL35381A and what is their English description?

SELECT ?author ?authorLabel ?description WHERE { ?author wdt:P648 "OL35381A" . ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = "en") OPTIONAL { ?author schema:description ?description . FILTER(LANG(?description) = "en") } }

What is the English label and description of the person identified by the Open Library ID OL35381A?

Show me the English name and description of the author whose Open Library ID is OL35381A.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P648> "OL353808A". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who is the actor with The Numbers person ID 959030401, and what is their English description?

SELECT ?actor ?actorLabel ?actorDescription WHERE { ?actor wdt:P4657 "959030401" . OPTIONAL { ?actor rdfs:label ?actorLabel . FILTER (LANG(?actorLabel) = "en") } OPTIONAL { ?actor schema:description ?actorDescription . FILTER (LANG(?actorDescription) = "en") } }

What is the name and English description of the person identified by The Numbers ID 959030401?

Show me the English name and description of the actor whose The Numbers ID is 959030401.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4657> "959030401". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: People born in 1293 with Greek labels

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?greekLabel ?birthDate WHERE {
  ?person wdt:P569 ?birthDate .
  ?person rdfs:label ?greekLabel .
  FILTER ( LANG( ?greekLabel ) = "el" ) FILTER ( ?birthDate >= "1293-01-01T00:00:00Z" ^^ xsd:dateTime && ?birthDate <= "1293-12-31T23:59:59Z" ^^ xsd:dateTime )
}
ORDER BY ASC ( ?birthDate )

Who were the people born in 1293 whose names are available in Greek?

List the Greek names and birth dates of all people born in the year 1293, sorted by birth date.

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 >= "1293-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1293-12-31T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )


Question: What occupation is associated with Noam Chomsky, and what is its English label?

SELECT ?property ?objectLabel WHERE { wd:Q9049 ?property wd:Q14467526 . wd:Q14467526 rdfs:label ?objectLabel . FILTER (LANG(?objectLabel) = "en") }

What is the English name of the occupation that Noam Chomsky has?

How is Noam Chomsky linked to the profession of linguist, and what is the label of that profession?

SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q9049> ?var1 <http://www.wikidata.org/entity/Q14467526> . FILTER ( ( ( LANG ( ?var1 ) = "en" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Top locations with the most mineral species discovered

SELECT ?location ( COUNT( DISTINCT ?mineral ) AS ?count ) WHERE { ?mineral wdt:P279* wd:Q7946 . ?mineral wdt:P2695 ?location . } GROUP BY ?location ORDER BY DESC(?count)

Which geological locations have yielded the highest number of distinct mineral types?

Show me the locations where the most minerals have been first identified, ranked by count.

SELECT ?var1 ?var2 ( COUNT ( DISTINCT ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q7946> . ?var3 <http://www.wikidata.org/prop/direct/P2695> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var4 )


Question: What type of animal is Dorofei, the cat of former Russian President Dmitry Medvedev?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?type WHERE {
  wd:Q16835794 wdt:P31 ?type .
}

What class or category does Dorofei belong to according to Wikidata?

Can you tell me the specific type (instance of) assigned to Dorofei (Q16835794) in Wikidata?

SELECT * WHERE { <http://www.wikidata.org/entity/Q16835794> <http://www.wikidata.org/prop/direct/P31> ?var1 . }


Question: What entities are composed of a lighthouse, and what additional details (qualifiers) are associated with those relationships?

SELECT ?item ?statement (SAMPLE(?qualifier) AS ?qualifierExample) WHERE { ?item p:P527 ?statement . ?statement ps:P527 wd:Q39715 . OPTIONAL { VALUES ?qualifier { pq:P1001 pq:P10046 pq:P101 pq:P1011 pq:P1012 pq:P1013 pq:P102 pq:P10241 pq:P1027 pq:P10271 } ?statement ?qualifier ?value . } } GROUP BY ?item ?statement

Which structures include a lighthouse as a component, and are there any qualifiers like start time or jurisdiction associated with those components?

List places or objects that have a lighthouse as a part, and show any extra information (like jurisdiction or date) provided about those parts.

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/Q39715> . ?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


Question: Film with Scope.dk ID 5472

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?film WHERE {
  ?film wdt:P2518 "5472" .
}

What film is identified by the Scope.dk ID 5472?

Tell me the name of the film that has the Scope.dk film ID 5472.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2518> "5472". }


Question: What awards did Shaquille O'Neal receive, and what is his English Wikipedia page?

SELECT ?wikipediaPage ?awardLabel WHERE { ?person wdt:P345 "nm0641944" . OPTIONAL { ?wikipediaPage schema:about ?person ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> . } OPTIONAL { ?person p:P166 ?awardStatement . ?awardStatement ps:P166 ?award . ?award rdfs:label ?awardLabel . FILTER(LANG(?awardLabel) = "en") } }

Can you list all the awards won by Shaquille O'Neal, along with the link to his English Wikipedia article?

Show me the English Wikipedia page for Shaquille O'Neal and all the awards he has received, with award names in English.

SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P345> ?var4 . OPTIONAL { ?var1 <http://schema.org/about> ?var3 . ?var1 <http://schema.org/inLanguage> "en". ?var1 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/P166> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P166> ?var6 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } FILTER ( ( ( ?var4 = "nm0641944" ) ) ) . }


Question: What are the broader categories above 'chief executive officer' in Wikidata's classification hierarchy?

SELECT ?subclass ?subclassLabel ?directSubclass WHERE { wd:Q484876 wdt:P279* ?subclass . OPTIONAL { ?subclass wdt:P279 ?directSubclass . } ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = "en") }

What classes is 'chief executive officer' a subclass of, including all higher-level categories in the hierarchy?

List all the parent classes of 'chief executive officer' going up the subclass tree, along with their direct parent classes.

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/Q484876> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxVisited> "16"^^<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". } }


Question: Cycling races in 2018 and their types

SELECT ?race ?raceLabel ?raceClassLabel WHERE { ?race wdt:P31 ?raceClass . ?raceClass wdt:P279* wd:Q15091377 . OPTIONAL { ?race wdt:P585 ?date . } OPTIONAL { ?race wdt:P580 ?date . } FILTER (BOUND(?date) && DATATYPE(?date) = xsd:dateTime) FILTER (?date >= "2018-01-01T00:00:00Z"^^xsd:dateTime && ?date < "2019-01-01T00:00:00Z"^^xsd:dateTime) ?race rdfs:label ?raceLabel . ?raceClass rdfs:label ?raceClassLabel . FILTER(LANG(?raceLabel) = "en") FILTER(LANG(?raceClassLabel) = "en") }

What cycling races took place in 2018, and what categories do they belong to?

List all cycling events that occurred in 2018, including their English names and their class (e.g., national championship, UCI tour), based on their start date or point in time.

SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q15091377> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P585> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var3 . } FILTER ( ( BOUND ( ?var3 ) && ( DATATYPE ( ?var3 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= "2018-00-00T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 < "2019-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,fr,de,nl". } }


Question: List lighthouses with their coordinates in English.

SELECT ?lighthouse ?label ?coordinates WHERE { ?lighthouse wdt:P31 wd:Q39715 . ?lighthouse wdt:P625 ?coordinates . ?lighthouse rdfs:label ?label . FILTER(LANG(?label) = "en") }

What are the names and geographic coordinates of all lighthouses?

Show me the English names and locations of all lighthouses.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?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],en". } }


Question: List all types of bones in English with their Freebase IDs.

SELECT ?bone ?label ?freebaseId WHERE { ?bone wdt:P279* wd:Q265868 . ?bone wdt:P646 ?freebaseId . ?bone rdfs:label ?label . FILTER (LANG(?label) = "en") }

What are the English names and Freebase IDs of all bone types in Wikidata?

Show me all subclasses of bone with their English labels and Freebase identifiers.

SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q265868> . ?var1 <http://www.wikidata.org/prop/direct/P646> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . }


Question: Who is the human with Freebase ID /m/0c17cb?

SELECT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P646 "/m/0c17cb" . }

Which person is identified by the Freebase identifier /m/0c17cb?

Find the human entity that has the Freebase ID /m/0c17cb.

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/0c17cb". } LIMIT 100