Question: List all hackspaces outside Austria.

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 ?hackspace ?label WHERE {
  ?hackspace wdt:P31 wd:Q1032372 .
  ?hackspace rdfs:label ?label . MINUS {
    ?hackspace wdt:P17 wd:Q40 .
  }
  FILTER ( LANG( ?label ) = "en" )
}

Which hackspaces are not located in Austria?

Show me the English names of all hackspaces that are not based in Austria.

SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1032372> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q40> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,en". } }


Question: What is the image of the person with SNAC ARK ID w6f29nwg?

SELECT ?image WHERE { ?item wdt:P3430 "w6f29nwg" . OPTIONAL { ?item wdt:P18 ?image . } }

Can you find the Wikimedia Commons image associated with the SNAC ARK ID w6f29nwg?

Show me the image linked to the SNAC ARK ID w6f29nwg in Wikidata.

SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> "w62n563q". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }


Question: Does the ship with IMO number 9699983 exist in Wikidata?

Is there a ship registered in the International Maritime Organization with the number 9699983?

Confirm if the vessel identified by IMO 9699983 is listed in Wikidata.

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


Question: What is the most specific shared category that includes both Louisiana and Mount Agamenticus?

SELECT ?commonAncestor WHERE { wd:Q35657 wdt:P279* ?commonAncestor . wd:Q8502 wdt:P279* ?commonAncestor . ?commonAncestor rdfs:label "geographical feature"@en . }

What is the common superclass of the U.S. state Louisiana and the mountain Mount Agamenticus?

What geographical concept do Louisiana and Mount Agamenticus both belong to?

SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1588> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q4691173> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1


Question: Who is the ice hockey player with Elite Prospects ID 2386?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?player WHERE {
  ?player wdt:P2481 "2386" .
}
LIMIT 1

Which Wikidata entity corresponds to the Elite Prospects player ID 2386?

Find the ice hockey player identified by the ID 2386 on Elite Prospects.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2481> "2386". } LIMIT 1


Question: What is the English label and description of the person with GTAA ID 104918?

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

Who is the person with GTAA ID 104918, and what is their English description?

Please provide the English name and description of the individual identified by GTAA ID 104918.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1741> "104927". OPTIONAL { ?var1 <http://schema.org/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: Lighthouses in Sweden with color qualifiers, and how many color-part associations each has.

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
SELECT ?lighthouse ?lighthouseLabel ( COUNT( ?color ) AS ?qualifiedColorCount ) WHERE {
  ?lighthouse wdt:P31 wd:Q39715 .
  ?lighthouse wdt:P17 wd:Q34 .
  ?lighthouse p:P462 ?colorStatement .
  ?colorStatement ps:P462 ?color ; pq:P518 ?appliesToPart .
  FILTER ( BOUND( ?appliesToPart ) ) .
  ?lighthouse rdfs:label ?lighthouseLabel .
  FILTER ( LANG( ?lighthouseLabel ) = "en" )
}
GROUP BY ?lighthouse ?lighthouseLabel

How many lighthouses in Sweden have color statements that specify which part of the structure the color applies to, and how many such qualified color statements does each have?

Show me all lighthouses in Sweden that have colors applied to specific parts (like tower or lantern), along with the count of such qualified color assignments for each.

SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q34> . ?var1 <http://www.wikidata.org/prop/P462> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P462> ?var2 ; <http://www.wikidata.org/prop/qualifier/P518> ?var5 . FILTER ( ( BOUND ( ?var5 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "se,en,fr,nl,de,it,es". } } GROUP BY ?var1 ?var1Label


Question: What is the English label and description of the Australian geographic region with ASGS 2016 ID SSC14301?

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

What is the name and English description of the locality in Australia identified by the code SSC14301 in the Australian Statistical Geography Standard 2016?

Tell me the English name and description of the place in Australia that has the ASGS 2016 identifier SSC14301.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4093> "SSC14301". OPTIONAL { ?var1 <http://schema.org/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 colors of lighthouses in Sweden, and what parts of the lighthouses do those colors apply to?

SELECT ?lighthouseLabel ?colorLabel ?partLabel WHERE { ?lighthouse wdt:P31 wd:Q39715 ; wdt:P17 wd:Q34 ; p:P462 ?statement . ?statement ps:P462 ?color ; pq:P518 ?part . ?lighthouse rdfs:label ?lighthouseLabel . ?color rdfs:label ?colorLabel . ?part rdfs:label ?partLabel . FILTER(LANG(?lighthouseLabel) = "en") FILTER(LANG(?colorLabel) = "en") FILTER(LANG(?partLabel) = "en") }

Show me lighthouses in Sweden that have colored stripes or other parts, and specify the color and the part it's applied to.

Which lighthouses in Sweden use specific colors on certain structural elements, and what are those colors and elements?

SELECT ?var1 ?var1Label ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q34> . ?var1 <http://www.wikidata.org/prop/direct/P462> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P462> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P462> ?var5 ; <http://www.wikidata.org/prop/qualifier/P518> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "sv,en,fr,nl,de,it,es". } VALUES ( ?var6 ) { ( <http://www.wikidata.org/entity/Q40125473> ) } FILTER ( ( ( ?var1 = ?var6 ) ) ) . }


Question: What is the English label and description of the Broadway performer with IBDB ID 398746?

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

Find the English name and biography of the person identified by IBDB number 398746.

Who is the American actress with IBDB ID 398746, and what is her English description?

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1220> "393145". OPTIONAL { ?var1 <http://schema.org/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 movie has the EDb film ID t0012267?

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

Which film is identified by the EDb ID t0012267?

Find the Wikidata item for the movie with EDb ID t0012267.

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


Question: Does Blake Coleman have a Eurohockey.com player ID of 505218?

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

Is there an ice hockey player in Wikidata with the Eurohockey.com player ID 505218?

Check if the Eurohockey.com player ID 505218 is assigned to any ice hockey player in Wikidata.

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


Question: People with GTAA ID, date of death, place of death, and occupation

SELECT ?person ?dateOfDeath ?placeOfDeathLabel ?occupationLabel WHERE { ?person wdt:P1741 ?gtaaId . ?person wdt:P570 ?dateOfDeath . ?person wdt:P20 ?placeOfDeath . ?person wdt:P106 ?occupation . ?placeOfDeath rdfs:label ?placeOfDeathLabel . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?placeOfDeathLabel) = "en") FILTER(LANG(?occupationLabel) = "en")}

Who are the people with a GTAA ID, when and where did they die, and what was their occupation?

List the names of individuals with a GTAA ID, their date of death, place of death, and occupation, all in English.

SELECT ?var1 ?var2 ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1741> _:b1 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who is the person with Australian Women's Register ID AWE5058b, and what is their English label and 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 ?person ?personLabel ?description WHERE {
  ?person wdt:P4186 "AWE5058b" .
  OPTIONAL {
    ?person rdfs:label ?personLabel .
    FILTER(LANG(?personLabel) = "en")
  }
  OPTIONAL {
    ?person schema:description ?description .
    FILTER(LANG(?description) = "en")
  }
}

What is the name and English description of the individual identified by the Australian Women's Register ID AWE5058b?

Please provide the English name and description of the person listed in the Australian Women's Register with ID AWE5058b.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> "AWE5058b". OPTIONAL { ?var1 <http://schema.org/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: Which Wikidata entities have Twitter usernames BillGates, CityOfBoston, MelroseRugby, or melroserugby, and how many sitelinks do they have?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username ( COUNT( ?sitelink ) AS ?sitelinks ) WHERE {
  ?item wdt:P2002 ?username .
  ?sitelink schema:about ?item ; schema:isPartOf ?wiki .
  VALUES ?username {
    "BillGates" "CityOfBoston" "MelroseRugby" "melroserugby"
  }
}
GROUP BY ?item ?username
ORDER BY ASC ( ?sitelinks )

What are the Twitter usernames BillGates, CityOfBoston, MelroseRugby, and melroserugby linked to in Wikidata, and which one has the fewest Wikipedia language links?

List the Wikidata items associated with the Twitter usernames BillGates, CityOfBoston, MelroseRugby, and melroserugby, sorted by the number of Wikipedia language versions they appear in, from least to most.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "Peirson7" ) ( "sree" ) ( "M0L0NL4BE" ) ( "string1" ) ( "string2" ) ( "billgates" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "cskhokhar" ) ( "mirzazbaig" ) ( "BRZLorg" ) ( "TeaTimeMan" ) ( "splattne" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "rasmusDG" ) } } ORDER BY ASC( ?var3 )


Question: OFDb film ID 280849, English title and description

SELECT ?film ?filmLabel ?description WHERE { ?film wdt:P3138 "280849" . ?film rdfs:label ?filmLabel . FILTER (LANG(?filmLabel) = "en") . OPTIONAL { ?film schema:description ?description . FILTER (LANG(?description) = "en") . } }

What is the English title and description of the film with OFDb ID 280849?

Please provide the English name and a brief description of the film identified by OFDb ID 280849.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3138> "280849". OPTIONAL { ?var1 <http://schema.org/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 there a ship with IMO number 9160815 in Wikidata?

Does Wikidata contain a ship registered under IMO number 9160815?

Confirm whether the ship identified by IMO number 9160815 is listed in Wikidata.

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


Question: What properties and values are associated with the 15th volume of the Jewish Encyclopedia of Brockhaus and Efron?

SELECT ?property ?value WHERE { wd:Q21096057 ?property ?value . } LIMIT 1000

What information is available about the Jewish Encyclopedia of Brockhaus and Efron, Volume 15, in Wikidata?

Show me all the metadata, including descriptions and statements like publication date and part-of relationships, for the 15th volume of the Jewish Encyclopedia of Brockhaus and Efron.

SELECT * WHERE { <http://www.wikidata.org/entity/Q21096057> ?var1 ?var2 . } LIMIT 1000


Question: What is the image associated with the SNAC ARK ID "w6f29nwg"?

SELECT ?image WHERE { ?item wdt:P3430 "w6f29nwg" . OPTIONAL { ?item wdt:P18 ?image } }

Can you show me the Wikimedia Commons image for the person identified by the SNAC ARK ID w6f29nwg?

Show me the picture of the entity linked to the SNAC ARK ID w6f29nwg.

SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> "w6q55v60". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }


Question: People in GTAA thesaurus and their occupations

SELECT ?person ( GROUP_CONCAT( DISTINCT ?occupationLabel ; SEPARATOR = ", " ) AS ?occupations ) WHERE { ?person wdt:P1741 ?gtaaId . ?person wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = "en") } GROUP BY ?person

Who are the people listed in the GTAA thesaurus, and what are their occupations?

List all individuals with a GTAA ID along with their English-language occupations, concatenated in a single field.

SELECT ?var1 ( GROUP_CONCAT ( DISTINCT ?var2Label ; SEPARATOR = ", " ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1741> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } GROUP BY ?var1


Question: What are the birth details and occupations of people with a GTAA ID?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?var1 ?var2 ?var1Label ?var3 ?var5Label ?var6 ?var7Label ?var8 ?var9Label ?var10Label WHERE {
  ?var1 wdt:P1741 ?var2 .
  OPTIONAL {
    ?var1 wdt:P21 ?var5 .
  }
  OPTIONAL {
    ?var1 wdt:P1477 ?var3 .
  }
  OPTIONAL {
    ?var1 wdt:P569 ?var6 .
  }
  OPTIONAL {
    ?var1 wdt:P19 ?var7 .
  }
  OPTIONAL {
    ?var1 wdt:P570 ?var8 .
  }
  OPTIONAL {
    ?var1 wdt:P20 ?var9 .
  }
  OPTIONAL {
    ?var1 wdt:P106 ?var10 .
  }
}

Can you list the names, birth and death information, and occupations of individuals identified by GTAA?

Show me the biographical profiles (birth name, gender, dates, places, and occupation) of all people who have a GTAA identifier.

SELECT ?var1 ?var2 ?var1Label ?var3 ?var4 ?var5Label ?var6 ?var7Label ?var8 ?var9Label ?var10Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1741> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1477> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P742> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var10 . } }


Question: Does the German National Library ID "4186615-0" exist in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  wd:Q333021 wdt:P227 "4186615-0"
}

Is there an entity in Wikidata with the GND ID 4186615-0?

Does the concept of "Übername" (pseudonym) have the GND identifier 4186615-0 in Wikidata?

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> "4186615-0". }


Question: What is the most specific common category that both San Jose and Mount Agamenticus belong to, based on their hierarchical classification?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?commonClass ( MIN( ?dist1 + ?dist2 ) AS ?minTotalDistance ) WHERE {
  wd:Q16553 wdt:P31 ?cls1 .
  {
    ?cls1 wdt:P279 ?commonClass .
    BIND( 1 AS ?dist1 )
  } UNION {
    ?cls1 wdt:P279 ?mid1 .
    ?mid1 wdt:P279 ?commonClass .
    BIND( 2 AS ?dist1 )
  } UNION {
    ?cls1 wdt:P279 ?mid1 .
    ?mid1 wdt:P279 ?mid2 .
    ?mid2 wdt:P279 ?commonClass .
    BIND( 3 AS ?dist1 )
  }
  wd:Q4691173 wdt:P31 ?cls2 .
  {
    ?cls2 wdt:P279 ?commonClass .
    BIND( 1 AS ?dist2 )
  } UNION {
    ?cls2 wdt:P279 ?mid3 .
    ?mid3 wdt:P279 ?commonClass .
    BIND( 2 AS ?dist2 )
  } UNION {
    ?cls2 wdt:P279 ?mid3 .
    ?mid3 wdt:P279 ?mid4 .
    ?mid4 wdt:P279 ?commonClass .
    BIND( 3 AS ?dist2 )
  }
  FILTER ( ?commonClass != ?cls1 ) FILTER ( ?commonClass != ?cls2 )
}
GROUP BY ?commonClass
ORDER BY ASC ( ?minTotalDistance )
LIMIT 1

Which concept is the closest shared superclass of San Jose and Mount Agamenticus when tracing their type hierarchies?

How far up the classification tree do San Jose and Mount Agamenticus share a common category, and what is that category?

SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q16553> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q4691173> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1


Question: Lighthouses in Russia with images and coordinates in the Gulf of Finland region.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT DISTINCT ?lighthouse ?image ?locationWKT ?label WHERE {
  ?lighthouse wdt:P31 wd:Q39715 ; wdt:P17 wd:Q159 ;(p:P625 / psv:P625) ?coord .
  ?coord wikibase:geoLatitude ?lat ; wikibase:geoLongitude ?lon .
  FILTER(?lat < "61.1527" ^^ xsd:decimal && ?lat > "59.1527" ^^ xsd:decimal && ?lon < "32.0298" ^^ xsd:decimal && ?lon > "30.0298" ^^ xsd:decimal)
  OPTIONAL {
    ?lighthouse wdt:P18 ?image .
  }
  BIND(STRDT(CONCAT(STR(?lon) , "," , STR(?lat)) , geo:wktLiteral) AS ?locationWKT)
  FILTER(BOUND(?image))
  ?lighthouse rdfs:label ?label .
}
LIMIT 10

Which lighthouses in Russia have images and are located between 59.15°N and 61.15°N latitude and 30.03°E and 32.03°E longitude?

Show me lighthouses in Russia that have photos on Wikimedia Commons and are located near Saint Petersburg, along with their coordinates and labels.

SELECT DISTINCT ?var1 ?var2 ?var3 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q159> ; ( <http://www.wikidata.org/prop/P625> / <http://www.wikidata.org/prop/statement/value/P625> ) ?var4 . ?var4 <http://wikiba.se/ontology#geoLatitude> ?var5 ; <http://wikiba.se/ontology#geoLongitude> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } FILTER ( ( ( ?var5 < "61.1527"^^<http://www.w3.org/2001/XMLSchema#decimal> ) && ( ?var5 > "59.1527"^^<http://www.w3.org/2001/XMLSchema#decimal> ) && ( ?var6 < "32.0298"^^<http://www.w3.org/2001/XMLSchema#decimal> ) && ( ?var6 > "30.0298"^^<http://www.w3.org/2001/XMLSchema#decimal> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } BIND ( STRDT ( CONCAT ( STR ( ?var6 ) , ",", STR ( ?var5 ) ) , <http://www.opengis.net/ont/geosparql#wktLiteral> ) AS ?var3 ). FILTER ( ( ( STR ( ?var2 ) != "" ) ) ) . } LIMIT 10


Question: What is the coat of arms image of Engelberg, Switzerland?

SELECT ?coatOfArmsImage WHERE { wd:Q64108 wdt:P94 ?coatOfArmsImage . }

Show the official coat of arms for the Swiss municipality with BFS code 1402.

What image represents the heraldic emblem of Engelberg?

SELECT ?var1 WHERE { <http://classifications.data.admin.ch/municipality/1402> <http://www.wikidata.org/prop/direct/P94> ?var1 . }


Question: Films and their composers

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 ?film ?composer ?composerLabel WHERE {
  ?film wdt:P31 wd:Q11424 .
  ?film wdt:P86 ?composer .
  ?composer rdfs:label ?composerLabel .
  FILTER(LANG(?composerLabel) = "en")
}

List films along with the names of their composers in English.

SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P86> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE], en". } } LIMIT 200 OFFSET 11600


Question: Image of the entity with SNAC ARK ID w6f29nwg.

SELECT ?image WHERE { ?entity wdt:P3430 "w6f29nwg" . OPTIONAL { ?entity wdt:P18 ?image . } }

What is the image associated with the SNAC ARK ID w6f29nwg?

Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6f29nwg.

SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> "w6m33vrs". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }


Question: Who has the Twitter username JohnLegere?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?twitterUsername WHERE {
  ?person wdt:P2002 ?twitterUsername .
  VALUES ?twitterUsername {
    "JohnLegere"
  }
}

Which person on Wikidata is associated with the Twitter handle JohnLegere?

Find the Wikidata entity for the Twitter username JohnLegere.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "JohnLegere" ) ( "rmwillen" ) ( "jrcarlso" ) } }


Question: What film has the FilmAffinity ID 972550?

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

Which movie on Wikidata is associated with the FilmAffinity identifier 972550?

Find the Wikidata item for the film with FilmAffinity ID 972550.

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


Question: Is there an ice hockey player with Eurohockey.com ID 507582?

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

Does the Wikidata database contain an ice hockey player whose Eurohockey.com player identifier is 507582?

Who is the ice hockey player identified by the Eurohockey.com ID 507582?

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


Question: Remarkable trees without a Czech ÚSOP code and their Czech Wikipedia pages

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?tree ?treeLabel ?csWikipediaPage WHERE {
  ?tree wdt:P31 wd:Q811534 .
  OPTIONAL {
    ?tree wdt:P677 ?usopCode .
  }
  FILTER ( ! BOUND( ?usopCode ) ) OPTIONAL {
    ?csWikipediaPage schema:about ?tree ; schema:inLanguage "cs" .
  }
  OPTIONAL {
    ?tree rdfs:label ?treeLabel .
  }
  FILTER ( LANG( ?treeLabel ) = "en" || LANG( ?treeLabel ) = "" )
}

Which remarkable trees are not registered in the Czech national tree database (ÚSOP), and which of them have Czech Wikipedia articles?

List all remarkable trees that don’t have a ÚSOP identifier in the Czech database, along with their English names and any corresponding Czech Wikipedia links.

SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q811534> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P677> ?var3 . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> "cs". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "cs". } }


Question: Film with LdiF ID 506046 and its English description

SELECT ?film ?filmLabel ?description WHERE { ?film wdt:P3107 "506046" . ?film rdfs:label ?filmLabel . OPTIONAL { ?film schema:description ?description . FILTER (LANG(?description) = "en") } }

What is the title and English description of the film with LdiF ID 506046?

Show me the film identified by LdiF ID 506046, including its label and English description.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3107> "506046". OPTIONAL { ?var1 <http://schema.org/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: List chess players with their birth places and dates, sorted by Wikipedia popularity.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?player ?playerLabel ?birthPlace ?birthPlaceLabel ?birthDate ?year ?month ?day ?sitelinks WHERE {
  ?player wdt:P106 wd:Q10873124 .
  OPTIONAL {
    ?player rdfs:label ?playerLabel .
    FILTER ( LANG( ?playerLabel ) = "en" )
  }
  OPTIONAL {
    ?player wdt:P19 ?birthPlace .
    ?birthPlace rdfs:label ?birthPlaceLabel .
    FILTER ( LANG( ?birthPlaceLabel ) = "en" )
  }
  OPTIONAL {
    ?player wdt:P569 ?birthDate
  }
  BIND( YEAR( ?birthDate ) AS ?year ) BIND( MONTH( ?birthDate ) AS ?month ) BIND( DAY( ?birthDate ) AS ?day ) OPTIONAL {
    ?player wikibase:sitelinks ?sitelinks
  }
}
ORDER BY DESC ( ?sitelinks )

Who are the chess players with known birth dates and places, and how many Wikipedia language editions do they have articles in?

Show me chess players, including their English names, birth locations, birth years, months, and days, ordered by how widely they are covered on Wikipedia.

SELECT DISTINCT ?var1 ?var2 ( YEAR ( ?var3 ) AS ?var4 )( MONTH ( ?var3 ) AS ?var5 )( DAY ( ?var3 ) AS ?var6 ) ?var7 ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q10873124> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var9 . ?var1 <http://wikiba.se/ontology#sitelinks> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } OPTIONAL { ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var8 . FILTER ( ( ( LANG ( ?var8 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } } GROUP BY ?var1 ?var2 ?var3 ?var7 ?var8 ORDER BY DESC( ?var7 )


Question: What is the English label and description of the medical term with MeSH ID D011531?

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

Can you tell me the English name and definition of the bird anatomy term identified by MeSH ID D011531?

Show me the English label and description for the MeSH descriptor D011531.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P486> "D011531". OPTIONAL { ?var1 <http://schema.org/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 most specific category that both Vladimir Putin and Joe Maddon belong to?

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 ?commonAncestor ?label WHERE {
  wd:Q7747 wdt:P31 ?type1 .
  wd:Q1093629 wdt:P31 ?type2 .
  ?type1 wdt:P279 * ?commonAncestor .
  ?type2 wdt:P279 * ?commonAncestor .
  ?commonAncestor rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" )
}
ORDER BY ?commonAncestor
LIMIT 1

What class is the closest common ancestor of Vladimir Putin and Joe Maddon in the Wikidata ontology?

Which entity is the most specific shared superclass of Vladimir Putin and Joe Maddon?

SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7747> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1093629> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1


Question: What are the subclasses of badminton tournaments?

SELECT ?tournament ?tournamentLabel WHERE { ?tournament wdt:P279 wd:Q13357858 . ?tournament rdfs:label ?tournamentLabel . FILTER(LANG(?tournamentLabel) = "en") }

What are the names of all national and regional badminton tournaments that are subclasses of "badminton tournament" in English?

List all English-labeled badminton tournament events that are specific types of badminton tournaments.

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


Question: Which film has the Cineplex Germany film ID 216772?

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

What is the Wikidata item for the film identified by Cineplex ID 216772?

Tell me the name of the film with Cineplex Germany film ID 216772.

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


Question: Humans mentioned in the Russian Biographical Dictionary across multiple volumes.

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?human ?humanLabel(COUNT(?volume) AS ?count) WHERE {
  ?human wdt:P31 wd:Q5 .
  ?human p:P1343 ?stmt .
  ?stmt ps:P1343 wd:Q1960551 .
  ?stmt pq:P805 ?volume .
  ?human rdfs:label ?humanLabel .
  FILTER(LANG(?humanLabel) = "en")
}
GROUP BY ?human ?humanLabel
HAVING(?count > 1)
ORDER BY ASC(?humanLabel) DESC(?count)

Which people listed in the Russian Biographical Dictionary appear in more than one volume?

Show me the names of individuals documented in the Russian Biographical Dictionary who are cited in multiple entries, sorted alphabetically.

SELECT DISTINCT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P1343> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P1343> <http://www.wikidata.org/entity/Q1960551> . ?var4 <http://www.wikidata.org/prop/qualifier/P248> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru". } } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY ASC( ?var1Label ) DESC( ?var3 )


Question: Films and their composers

SELECT ?film ?composer ?composerLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P86 ?composer . ?composer rdfs:label ?composerLabel . FILTER(LANG(?composerLabel) = "en") } LIMIT 200

Which films have composers listed in Wikidata, and who composed their music?

Show me a list of films along with the names of the composers who created their musical scores.

SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P86> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE], en". } } LIMIT 200 OFFSET 5400


Question: Film with FilmAffinity ID 228270

SELECT ?film WHERE { ?film wdt:P480 "228270" . }

Which film has the FilmAffinity ID 228270?

Can you tell me the movie that is identified as 228270 on FilmAffinity?

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


Question: Does Wikidata contain a railway station with UIC code 2200474?

ASK WHERE { ?station wdt:P722 "2200474" . }

Is there a railway station in Wikidata identified by the UIC station code 2200474?

Confirm if the UIC station code 2200474 corresponds to any railway station in Wikidata.

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


Question: What film has the Cineplex Germany film ID 144404?

SELECT ?film WHERE { ?film wdt:P3077 "144404" . }

Which movie in Wikidata is identified by the Cineplex ID 144404?

I need to find the Wikidata entry for the film that Cineplex Germany lists under ID 144404.

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


Question: Which railway station has the UIC code 2208111?

SELECT ?station ?stationLabel WHERE { ?station wdt:P722 "2208111" . ?station rdfs:label ?stationLabel . FILTER(LANG(?stationLabel) = "en") }

UIC station code 2208111 — what station is that?

Tell me the name of the railway station with UIC code 2208111.

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


Question: Who are the authors of the Encyclopedia of the Holocaust?

SELECT ?author WHERE { wd:Q2906963 wdt:P50 ?author . }

Which individuals or organizations authored the Encyclopedia of the Holocaust?

What is the authorship information for the Encyclopedia of the Holocaust?

SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q2906963> . ?var2 ?var1 ?var3 . <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". ?var4 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Is there a Kazakh administrative unit with CATO ID 515469800?

ASK WHERE { ?administrativeUnit wdt:P4838 "515469800" . }

Does the village Чичерино in Kazakhstan have the CATO ID 515469800?

Confirm whether the identifier 515469800 corresponds to an administrative object in Kazakhstan.

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


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

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username WHERE {
  {
    ?item wdt:P2002 "CityOfBoston" .
  } UNION {
    ?item wdt:P2002 "ForestvilleMont" .
  } UNION {
    ?item wdt:P2002 "melroserugby" .
  } UNION {
    ?item wdt:P2002 "deventergem" .
  } UNION {
    ?item wdt:P2002 "LinusTech" .
  }
}

What entities on Wikidata are associated with the Twitter usernames 'CityOfBoston', 'ForestvilleMont', 'melroserugby', 'deventergem', or 'LinusTech'?

Show me the Wikidata items and their corresponding Twitter usernames for the handles: CityOfBoston, ForestvilleMont, melroserugby, deventergem, and LinusTech.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "string3" ) ( "mmmelk" ) ( "TomliTV" ) ( "string4" ) ( "NalyeVanya" ) ( "ozthedevil" ) ( "string5" ) ( "steashaz" ) ( "string6" ) ( "string7" ) ( "Mejhraneuh" ) ( "string8" ) ( "Sponible" ) ( "yvg" ) ( "paraboul" ) ( "bangpowwww" ) ( "Mey_Advice" ) ( "GPiesset" ) ( "string9" ) ( "Yoloswag47" ) ( "string10" ) ( "string11" ) } }


Question: Which film has the film-documentaire.fr ID 43012?

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

What is the Wikidata item for the film identified as 43012 in film-documentaire.fr?

Find the film in Wikidata that corresponds to the identifier 43012 in film-documentaire.fr.

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


Question: What equipment or infrastructure was retired or went missing in 1988?

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?item WHERE {
  ?item ( wdt:P730 | wdt:P746 ) ?date .
  FILTER ( ?date >= "1988-01-01T00:00:00Z" ^^ xsd:dateTime && ?date <= "1988-12-31T23:59:59Z" ^^ xsd:dateTime )
}

List all items that had their service retirement or disappearance date in 1988.

Which ships, locomotives, or lighthouses were taken out of service or disappeared during 1988?

SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P730> | <http://www.wikidata.org/prop/direct/P746> ) ?var2 . FILTER ( ( ( ?var2 >= "1988-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1988-12-31T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: What are the National Pokédex numbers for all Pokémon species?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT ?pokemon ?pokemonLabel ?number WHERE {
  ?pokemon wdt:P31 / wdt:P279 * wd:Q3966183 .
  ?pokemon p:P1685 ?statement .
  ?statement ps:P1685 ?number .
  ?statement pq:P972 wd:Q20005020 .
  ?pokemon rdfs:label ?pokemonLabel .
  FILTER(LANG(?pokemonLabel) = "en")
}

List all Pokémon and their corresponding index numbers in the National Pokédex.

Which Pokémon are listed in the National Pokédex, and what number does each one have?

SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q3966183> . ?var2 <http://www.wikidata.org/prop/P1112> [ <http://www.wikidata.org/prop/statement/P1112> ?var1 ; <http://www.wikidata.org/prop/qualifier/P642> <http://www.wikidata.org/entity/Q20005020> ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } }


Question: What is the image associated with the SNAC ARK ID w6f29nwg?

SELECT ?image WHERE { ?item wdt:P3430 "w6f29nwg" . OPTIONAL { ?item wdt:P18 ?image } }

Can you find the Wikimedia Commons image for the person or entity identified by the SNAC ARK ID w6f29nwg?

Show me the image of the entity linked to the SNAC ARK ID w6f29nwg, if one exists.

SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> "w6s90w8d". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }


Question: Which entities on Wikidata have Twitter usernames CityOfBoston, melroserugby, deventergem, or ForestvilleMont, and how many Wikipedia articles are there about each?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?entity ?username ( COUNT( ?site ) AS ?sitelinks ) WHERE {
  ?entity wdt:P2002 ?username .
  ?site schema:about ?entity ; schema:isPartOf ?wiki .
  FILTER ( STRSTARTS( STR( ?wiki ) , "https://" ) ) VALUES ?username {
    "CityOfBoston" "melroserugby" "deventergem" "ForestvilleMont"
  }
}
GROUP BY ?entity ?username
ORDER BY ASC ( ?sitelinks )

What are the Twitter usernames of Boston, Melrose RFC, Deventer, and Forestville Montessori School, and which of them has the fewest Wikipedia language editions?

List the entities linked to the Twitter accounts CityOfBoston, melroserugby, deventergem, and ForestvilleMont, sorted by the number of Wikipedia pages about them, from least to most.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "string3" ) ( "mar0ka" ) ( "string4" ) ( "string5" ) ( "royaleswim" ) ( "string6" ) ( "dogtannoy" ) ( "roots_law" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "mgalvers" ) ( "string11" ) ( "AlanNglish" ) ( "SnapSpot3" ) } } ORDER BY ASC( ?var3 )


Question: List chess players with their native names and birth dates (year, month, day), sorted alphabetically by native name.

SELECT DISTINCT ?player ?nativeName (YEAR(?birthDate) AS ?birthYear) (MONTH(?birthDate) AS ?birthMonth) (DAY(?birthDate) AS ?birthDay) WHERE { ?player wdt:P106 wd:Q10873124 . ?player wdt:P569 ?birthDate . ?player wdt:P1559 ?nativeName . } ORDER BY ASC(?nativeName)

Who are the chess players, what are their names in their native languages, and when were they born (broken down by year, month, and day), ordered by their native names?

Please provide a list of all chess players, including their native names and full birth dates (year, month, and day), sorted by their native names.

SELECT DISTINCT ?var1 ?var2 ( YEAR ( ?var3 ) AS ?var4 )( MONTH ( ?var3 ) AS ?var5 )( DAY ( ?var3 ) AS ?var6 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q10873124> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en,ru". } } GROUP BY ?var1 ?var2 ?var3 ORDER BY ASC( ?var2 )


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

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:P4093 "LGA11650" .
  OPTIONAL {
    ?item rdfs:label ?itemLabel .
    FILTER ( LANG( ?itemLabel ) = "en" )
  }
  OPTIONAL {
    ?item schema:description ?description .
    FILTER ( LANG( ?description ) = "en" )
  }
}

Which local government area in Australia has the Australian Statistical Geography Standard 2016 ID LGA11650, and what is its name and description in English?

Show me the name and description in English for the geographic region identified by LGA11650 in the Australian Statistical Geography Standard 2016.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4093> "LGA11650". OPTIONAL { ?var1 <http://schema.org/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: Image of the entity with SNAC ARK ID w6f29nwg

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?image WHERE {
  ?item wdt:P3430 "w6f29nwg" .
  OPTIONAL {
    ?item wdt:P18 ?image .
  }
}

What is the image associated with the SNAC ARK ID w6f29nwg?

Can you show me the Wikimedia Commons image for the person identified by the SNAC ARK ID w6f29nwg?

SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> "w6894s3s". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }


Question: Which film has the Cinema.de ID 1312028?

SELECT ?film WHERE { ?film wdt:P3933 "1312028" .}

What is the Wikidata item for the film identified by Cinema.de ID 1312028?

Find the film in Wikidata that is assigned the Cinema.de ID 1312028.

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


Question: Chess players with an Elo rating above 2700

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?player ?elo WHERE {
  ?player wdt:P1087 ?elo .
  FILTER(?elo > 2700)
}
LIMIT 100

Who are the chess players with an Elo rating higher than 2700?

List the chess players who have an Elo rating over 2700.

SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1087> ?var3 . FILTER ( ( ( ?var3 > "2700"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "it". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } } LIMIT 100


Question: List all European Rowing Championships with their host countries, dates, and the preceding and succeeding events.

SELECT ?event ?eventName ?hostCountry ?date ?datePrecision ?precedingEvent ?succeedingEvent WHERE { ?event wdt:P31 wd:Q80767 ; rdfs:label ?eventName . FILTER (LANG(?eventName) = "en") OPTIONAL { ?event wdt:P17 ?hostCountry . } OPTIONAL { ?event p:P585 / psv:P585 [ wikibase:timeValue ?date ; wikibase:timePrecision ?datePrecision ] . } OPTIONAL { ?event wdt:P155 ?precedingEvent . } OPTIONAL { ?event wdt:P156 ?succeedingEvent . } } ORDER BY ASC(?eventName)

What are the host countries, dates, and chronological predecessors and successors of each European Rowing Championship since 1893?

Show me the full timeline of European Rowing Championships, including where and when each was held, and which events came before and after.

SELECT ?var1 ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q80767> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P585> / <http://www.wikidata.org/prop/statement/value/P585> ) [ <http://wikiba.se/ontology#timeValue> ?var4 ; <http://wikiba.se/ontology#timePrecision> ?var5 ] . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P155> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P156> ?var7 . } } ORDER BY ASC( ?var2Label )


Question: What is the English label and description of the Broadway show with IBDB ID 10973?

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

What is the title and description in English of the musical revue identified by the Internet Broadway Database ID 10973?

Please provide the English name and description of the Broadway production whose IBDB show ID is 10973.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1219> "10973". OPTIONAL { ?var1 <http://schema.org/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: Rowing figures with native names starting with O

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?nativeName WHERE {
  ?person wdt:P106 / wdt:P279 * wd:Q26270618 .
  ?person wdt:P1559 ?nativeName .
  FILTER ( REGEX( STR( ?nativeName ) , "^O" ) )
}

Who are the people involved in rowing whose native names begin with the letter O?

List the names of rowing coaches, umpires, and administrators whose native names start with O.

SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q26270618> . ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var2 . FILTER ( ( REGEX ( STR ( ?var2 ) , "O[A-Z]" ) ) ) . }


Question: German rowing athletes with DOSB ID but unknown place of birth

SELECT ?person ?dosbId WHERE { ?person (wdt:P106/wdt:P279*) wd:Q26270618 ; wdt:P4053 ?dosbId . FILTER NOT EXISTS { ?person wdt:P19 [] } }

Which German rowing athletes have a DOSB athlete ID but no recorded place of birth?

List all German rowing athletes who are registered with DOSB but whose birthplace is not specified in Wikidata.

SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q26270618> ; <http://www.wikidata.org/prop/direct/P4053> ?var2 ; <http://www.wikidata.org/prop/direct/P19> ?var3 . FILTER ( ( isBLANK ( ?var3 ) ) ) . }


Question: Is Jean Grimard an ice hockey player?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  wd:Q20435018 wdt:P106 wd:Q11774891 .
}

Confirm whether Jean Grimard’s occupation is ice hockey player.

ASK WHERE { <http://www.wikidata.org/entity/Q20435018> ( <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: How many Russian-language entries from the Jewish Encyclopedia (ЕЭБЕ) are classified as encyclopedia articles, cross-references, and other types?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?class ?classLabel ( COUNT( ?item ) AS ?count ) WHERE {
  ?item wdt:P31 ?class .
  ?item rdfs:label ?label .
  FILTER ( LANG( ?label ) = "ru" ) FILTER ( CONTAINS( ?label , "ЕЭБЕ" ) ) ?class rdfs:label ?classLabel .
  FILTER ( LANG( ?classLabel ) = "ru" )
}
GROUP BY ?class ?classLabel
ORDER BY DESC ( ?count ) ASC ( ?classLabel )

What are the most common types of items in Wikidata that have Russian labels containing "ЕЭБЕ", and how many of each type exist?

List the classes of Russian-language ЕЭБЕ entries in Wikidata, sorted by how many entries belong to each class, from most to least.

SELECT DISTINCT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var4 <http://schema.org/isPartOf> [ <http://wikiba.se/ontology#wikiGroup> "wikisource" ] ; <http://schema.org/inLanguage> "ru"; <http://schema.org/about> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru". } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = "ru" ) ) ) . FILTER ( ( CONTAINS ( ?var5Label , "ЕЭБЕ" ) ) ) . } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )ASC( ?var1Label )


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

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

What is the item in Wikidata with the AAT ID 300136954, and what is its English name and description?

Show me the English name and description of the furniture shape identified by the Getty AAT ID 300136954.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1014> "300136954". OPTIONAL { ?var1 <http://schema.org/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 description of the V&A item with ID O125587?

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

Can you find the Wikidata item for the Victoria and Albert Museum object numbered O125587 and show its English description if available?

Which item in Wikidata has the V&A ID O125587, and does it have an English description?

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3929> "O1171532". OPTIONAL { ?var1 <http://schema.org/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 Persian-language names of athletes such as football players, basketball players, swimmers, tennis players, and table tennis players?

SELECT DISTINCT ?label WHERE { ?athlete wdt:P31 wd:Q5 ; wdt:P106 ?occupation . VALUES ?occupation { wd:Q937857 wd:Q3665646 wd:Q10843402 wd:Q10833314 wd:Q13382519 } . ?athlete rdfs:label ?label . FILTER(LANG(?label) = "fa") } LIMIT 10

Can you list 10 athletes who have Persian-language labels on Wikidata?

Show me the Persian names of human athletes whose occupations are related to football, basketball, swimming, tennis, or table tennis.

SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = "fa" ) ) ) . } } LIMIT 10 OFFSET 2880


Question: What are some films and their composers?

SELECT ?film ?filmLabel ?composer ?composerLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P86 ?composer . } LIMIT 10

Can you list 10 films along with the names of the composers who created their music?

Who composed the music for films, and what are the titles of those films?

SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P86> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE], en". } } LIMIT 200 OFFSET 21800


Question: Is Haplogroup N a human mitochondrial DNA haplogroup?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  wd:Q118710 ( wdt:P31 | wdt:P279 ) * wd:Q1356230 .
}

Does Haplogroup N belong to the category of human mitochondrial DNA haplogroups through inheritance or classification?

Confirm whether Haplogroup N is classified as a human mitochondrial DNA haplogroup.

ASK WHERE { <http://www.wikidata.org/entity/Q35654540> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1356230> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> "forwards". }


Question: Russian citizens and their eye colors

SELECT ?person ?eyeColor ?eyeColorLabel WHERE { ?person wdt:P27 wd:Q159 . ?person wdt:P1340 ?eyeColor . ?eyeColor rdfs:label ?eyeColorLabel . FILTER(LANG(?eyeColorLabel) = "en") } LIMIT 100

What are the eye colors of people who are citizens of Russia?

List people from Russia along with the color of their eyes.

SELECT ?var1 ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q159> . ?var1 <http://www.wikidata.org/prop/direct/P1340> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru". } } LIMIT 100


Question: Does Kazakhstan have an administrative region with CATO ID 113437107?

Is there a Kazakh administrative unit identified by the CATO ID 113437107 in Wikidata?

Confirm whether the CATO ID 113437107 corresponds to any administrative region in Kazakhstan.

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


Question: Which organizations have Twitter accounts "CityOfBoston", "melroserugby", or "deventergem", and how many Wikipedia links do they have?

SELECT ?item ?username (COUNT(?site) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?username . ?site schema:about ?item ; schema:isPartOf ?siteItem . FILTER(STRSTARTS(STR(?site), "https://")) VALUES ?username { "CityOfBoston" "melroserugby" "deventergem" } } GROUP BY ?item ?username ORDER BY ASC(?sitelinkCount)

What are the Wikidata items for the Twitter usernames CityOfBoston, melroserugby, and deventergem, and how many Wikipedia sitelinks do they each have, sorted by the fewest links first?

List the entities linked to the Twitter handles CityOfBoston, melroserugby, and deventergem, along with their Wikipedia sitelink counts, ordered from least to most sitelinks.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "TancredeB" ) ( "string1" ) ( "string2" ) ( "TF1" ) ( "StanM3" ) } } ORDER BY ASC( ?var3 )


Question: Who is the Czech Olympic Committee athlete with ID 2417, and what is their description?

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

What is the name and English description of the athlete identified by the Czech Olympic Committee ID 2417?

Please provide the name and English description of the athlete whose Czech Olympic Committee athlete ID is 2417.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4062> "2417". OPTIONAL { ?var1 <http://schema.org/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: Ice hockey teams with their Facebook URLs

SELECT ?team ?teamLabel ?fbUrl WHERE { ?team wdt:P31 wd:Q4498974 . ?team wdt:P2013 ?fbUsername . BIND( IRI( CONCAT( "https://www.facebook.com/", ?fbUsername ) ) AS ?fbUrl ) . ?team rdfs:label ?teamLabel . }

What are the Facebook page URLs for ice hockey teams, and what are their names?

List all ice hockey teams along with their official names and corresponding Facebook page links.

SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4498974> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "sv", "en". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } BIND ( IRI ( CONCAT ( "string1", ?var4 ) ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var4 . }


Question: What are all the superclass categories of the Wikimedia infobox template Q6493499?

SELECT DISTINCT ?superclass WHERE { wd:Q6493499 wdt:P279* ?superclass . } LIMIT 100

Show me the hierarchy of classes that the infobox template Q6493499 belongs to.

What are the broader categories that include the infobox template Q6493499 as a subclass?

SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q6493499> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }


Question: List Wikimedia infobox templates along with their immediate superclass and ancestor class in the hierarchy, sorted by superclass and template name.

SELECT ?ancestorClass ?ancestorClassLabel ?parentClass ?parentClassLabel ?infobox ?infoboxLabel WHERE { ?infobox wdt:P31 wd:Q19887878 . ?infobox wdt:P279 ?parentClass . ?parentClass wdt:P279* ?ancestorClass . OPTIONAL { ?ancestorClass rdfs:label ?ancestorClassLabel . FILTER(LANG(?ancestorClassLabel) = "en") } OPTIONAL { ?parentClass rdfs:label ?parentClassLabel . FILTER(LANG(?parentClassLabel) = "en") } OPTIONAL { ?infobox rdfs:label ?infoboxLabel . FILTER(LANG(?infoboxLabel) = "en") } } ORDER BY ASC(?parentClassLabel) ASC(?infoboxLabel)

What are the infobox templates on Wikimedia, and what are their direct and indirect parent classes in the subclass hierarchy?

Show me all infobox templates, their direct superclass, and any higher ancestor class in the subclass tree, including their English labels, ordered alphabetically by superclass and then by template name.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19887878> . ?var3 <http://www.wikidata.org/prop/direct/P279> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru,en". } } ORDER BY ASC( ?var2Label )ASC( ?var3Label )


Question: Persian labels of athletes and their subtypes.

SELECT DISTINCT ?label WHERE { ?person (wdt:P31 | wdt:P106) ?occupation . ?occupation (wdt:P279)* wd:Q2066131 . ?person rdfs:label ?label . FILTER(LANG(?label) = "fa") } LIMIT 10 OFFSET 2590

Who are some athletes (or people in athletic occupations) with Persian-language labels?

List Persian-language names of people whose occupation is athlete or a specific type of athlete.

SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = "fa" ) ) ) . } } LIMIT 10 OFFSET 2590


Question: Who is the artist with Athenaeum ID 7256, and what is their 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 ?artist ?artistLabel ?description WHERE {
  ?artist wdt:P4145 "7256" .
  OPTIONAL {
    ?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 Athenaeum person ID 7256?

Please provide the name and biographical description in English of the artist whose Athenaeum ID is 7256.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4145> "7256". OPTIONAL { ?var1 <http://schema.org/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: Persian-labeled Iranian cultural heritage sites with coordinates

SELECT ?item ?label WHERE { ?item wdt:P1369 ?reg . ?item rdfs:label ?label . ?item wdt:P625 ?coord . FILTER(LANG(?label) = "fa") }

What are the Persian names of Iranian heritage sites that have geographic coordinates?

List the Persian labels of all registered Iranian cultural heritage sites that are geolocated.

SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1369> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . FILTER ( ( ( LANG ( ?var2Label ) = "fa" ) ) ) . }


Question: On which Wikipedia language editions can I find an article about the lighthouse?

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?articlePage ?languageCode WHERE {
  ?articlePage schema:about wd:Q39715 ; schema:isPartOf ?wikipediaSite ; schema:inLanguage ?languageCode .
  ?wikipediaSite wikibase:wikiGroup "wikipedia" .
}

Wikipedia articles about lighthouses and their language codes

Show me the URLs of Wikipedia articles about lighthouses and the languages they are written in.

SELECT * WHERE { [] <http://schema.org/about> <http://www.wikidata.org/entity/Q39715> ; <http://schema.org/isPartOf> ?var1 ; <http://schema.org/inLanguage> ?var2 . ?var1 <http://wikiba.se/ontology#wikiGroup> "wikipedia". }


Question: Lighthouses in Russia without a Spanish description.

SELECT ?lighthouse ?description WHERE { ?lighthouse wdt:P31 wd:Q39715 . ?lighthouse wdt:P17 wd:Q159 . OPTIONAL { ?lighthouse schema:description ?description . FILTER (LANG(?description) = "es") } FILTER (!BOUND(?description)) }

Which lighthouses in Russia do not have a description in Spanish?

Show me all lighthouses located in Russia that lack a Spanish-language description.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "es" ) ) ) . } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q159> . FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . }


Question: What is the English label and description of the geographic location with YSO ID 152592?

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:P2347 "152592" .
  OPTIONAL {
    ?item rdfs:label ?label .
    FILTER ( LANG( ?label ) = "en" )
  }
  OPTIONAL {
    ?item schema:description ?description .
    FILTER ( LANG( ?description ) = "en" )
  }
}

Can you find the English name and description for the Finnish concept identified by YSO ID 152592?

Show me the English label and description for the entity that has the YSO identifier 152592.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> "152592". OPTIONAL { ?var1 <http://schema.org/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: Ship with IMO number 9574523 in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?ship wdt:P458 "9574523" .
}

Is there a ship in Wikidata with the IMO number 9574523?

Check if the IMO number 9574523 is assigned to any ship in Wikidata.

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


Question: List zoos with their locations and images.

SELECT ?zoo ?zooLabel ?coordinates ?image WHERE { ?zoo wdt:P31 wd:Q43501 . OPTIONAL { ?zoo wdt:P625 ?coordinates . } OPTIONAL { ?zoo wdt:P18 ?image . } ?zoo rdfs:label ?zooLabel . FILTER(LANG(?zooLabel) = "en") }

What are the names, geographic coordinates, and images of all zoos in Wikidata?

Show me a table of zoos, including their English names, coordinates, and any available Wikimedia Commons images.

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


Question: What film has the AllMovie ID v299029?

SELECT ?film WHERE { ?film wdt:P1562 "v299029" . }

Which movie on Wikidata is identified by the AllMovie title ID "v299029"?

I’m looking for the film associated with the AllMovie identifier v299029 — what is its Wikidata item?

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


Question: Rowers who do not participate in any other sport.

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 ?rower ?rowerLabel WHERE {
  ?rower wdt:P106 wd:Q13382576 .
  ?rower wdt:P31 wd:Q5 .
  ?rower rdfs:label ?rowerLabel . MINUS {
    ?rower wdt:P641 [] .
  }
  FILTER(LANG(?rowerLabel) = "en")
}
ORDER BY ASC(?rowerLabel)

Who are the rowers that are not listed as participating in any other sport?

List the names of rowers who only row and don't play any other sport.

SELECT ?var1 ?var2Label ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q13382576> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P641> [] . } } ORDER BY ASC( ?var1Label )


Question: Is Haplogroup R0b a haplogroup?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  wd:Q47035348 ( wdt:P31 / wdt:P279 * ) wd:Q80686 .
}

Does Haplogroup R0b belong to the category of haplogroups through its class inheritance?

Confirm that Haplogroup R0b is classified as a haplogroup via its instance and subclass relationships.

ASK WHERE { <http://www.wikidata.org/entity/Q47035348> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Qnull> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> "forwards". }


Question: What are the cultural heritage sites in Finland with national or UNESCO status located between longitudes 21°E and 23°E and latitudes 60°N and 62°N?

SELECT ?site ?siteLabel ?coord ?image ?commonsCategory WHERE { VALUES ?heritageDesignation { wd:Q29966257 wd:Q9259 } ?site wdt:P1435 ?heritageDesignation . ?site wdt:P17 wd:Q33 . ?site wdt:P625 ?coord . FILTER(geof:longitude(?coord) >= 21 && geof:longitude(?coord) <= 23 && geof:latitude(?coord) >= 60 && geof:latitude(?coord) <= 62) OPTIONAL { ?site wdt:P18 ?image . } OPTIONAL { ?site wdt:P373 ?commonsCategory . } ?site rdfs:label ?siteLabel . FILTER(LANG(?siteLabel) = "en") } LIMIT 3000

Show me images and Wikimedia Commons categories for Finnish heritage sites in the area around the Gulf of Bothnia (21–23°E, 60–62°N) that are either nationally protected or UNESCO World Heritage Sites.

List the English-named cultural heritage sites in Finland within the geographic bounds of 21–23°E and 60–62°N, along with their photos and associated Commons categories.

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(21 60)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> "POINT(23 62)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q29966257> ) ( <http://www.wikidata.org/entity/Q9259> ) } ?var8 <http://www.wikidata.org/prop/direct/P1435> ?var7 . ?var8 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q33> . ?var1 (( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P276> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P361> / <http://www.wikidata.org/prop/direct/P279> *)) ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "string1". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000


Question: What is the English title and description of the Victoria and Albert Museum object with ID O81993?

SELECT ?item ?label ?desc WHERE { ?item wdt:P3929 "O81993" . OPTIONAL { ?item wdt:P1476 ?label . FILTER(LANG(?label) = "en") } OPTIONAL { ?item schema:description ?desc . FILTER(LANG(?desc) = "en") } }

Find the artwork in the V&A collection with ID O81993 and show its English title and description.

Can you tell me the name and a brief description of the painting in the V&A Museum identified by the ID O81993?

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3929> "O819195". OPTIONAL { ?var1 <http://schema.org/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 there a video game in Wikidata with ZXDB ID 0003126?

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

What video game has the ZXDB ID 0003126?

Can you find the video game identified by the ZXDB ID 0003126?

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


Question: People with hair color qualifiers specifying body parts

SELECT ?person ?personLabel ?partLabel WHERE { ?person p:P1884 ?statement . ?statement pq:P518 ?part . ?person rdfs:label ?personLabel . ?part rdfs:label ?partLabel . FILTER(LANG(?personLabel) = "en") FILTER(LANG(?partLabel) = "en") }

Which people have their hair color specified for particular body parts, and what are those parts?

Show me all individuals who have a hair color with a qualifier indicating which part of the body it applies to, along with the part names.

SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/P1884> / <http://www.wikidata.org/prop/qualifier/P794> ) ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,en". } }


Question: Zoos that keep both meerkats and polar bears, along with their websites, images, all species, and locations.

SELECT ?zoo ?zooLabel ?website ?image ?species ?speciesLabel ?location ?locationLabel WHERE { ?zoo wdt:P31 wd:Q43501 . ?zoo wdt:P1990 wd:Q134015 . ?zoo wdt:P1990 wd:Q33609 . OPTIONAL { ?zoo wdt:P856 ?website . } OPTIONAL { ?zoo wdt:P18 ?image . } OPTIONAL { ?zoo wdt:P1990 ?species . } OPTIONAL { ?zoo wdt:P131 ?location . } ?zoo rdfs:label ?zooLabel . ?species rdfs:label ?speciesLabel . ?location rdfs:label ?locationLabel . FILTER(LANG(?zooLabel) = "en") FILTER(LANG(?speciesLabel) = "en") FILTER(LANG(?locationLabel) = "en") } LIMIT 100

Which zoos house both meerkats and polar bears, and what are their official websites, images, other species, and locations?

List all zoos that have both meerkats and polar bears, and provide their official websites, images, all the species they keep, and where they are located.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ?var5 ?var5Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ko,en". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q43501> . ?var1 <http://www.wikidata.org/prop/direct/P1990> <http://www.wikidata.org/entity/Q134015> . ?var1 <http://www.wikidata.org/prop/direct/P1990> <http://www.wikidata.org/entity/Q33609> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1990> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var5 . } } LIMIT 100


Question: Which film has the FilmAffinity ID 373884?

SELECT ?film WHERE { ?film wdt:P480 "373884" . }

Tell me the film that corresponds to FilmAffinity ID 373884.

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


Question: Cultural heritage sites in southern Finland with coordinates between 23–28°E and 62–63°N, including images and Commons categories.

SELECT ?site ?siteLabel ?coord ?image ?commonsCat WHERE {  VALUES ?heritageDesignation { wd:Q29966257 wd:Q9259 }  ?heritageItem wdt:P1435 ?heritageDesignation .  ?heritageItem wdt:P17 wd:Q33 .  ?site (wdt:P131/wdt:P279*) | (wdt:P276/wdt:P279*) | (wdt:P361/wdt:P279*) ?heritageItem .  ?site wdt:P625 ?coord .  BIND(STRBEFORE(STRAFTER(STR(?coord), "POINT("), " ") AS ?lonStr)  BIND(STRBEFORE(STRAFTER(STR(?coord), " "), ")") AS ?latStr)  BIND(xsd:double(?lonStr) AS ?lon)  BIND(xsd:double(?latStr) AS ?lat)  FILTER(?lon >= 23 && ?lon <= 28 && ?lat >= 62 && ?lat <= 63)  OPTIONAL { ?site wdt:P18 ?image . }  OPTIONAL { ?site wdt:P373 ?commonsCat . }  ?site rdfs:label ?siteLabel .} LIMIT 3000

What are the cultural heritage sites in Finland within the geographic area bounded by longitudes 23 to 28 and latitudes 62 to 63, and what are their images and Wikimedia Commons categories?

List all nationally designated and UNESCO World Heritage sites in southern Finland between 62°N and 63°N latitude and 23°E and 28°E longitude, along with their images and associated Wikimedia Commons categories.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> "POINT(23 62)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> "POINT(28 63)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q29966257> ) ( <http://www.wikidata.org/entity/Q9259> ) } ?var8 <http://www.wikidata.org/prop/direct/P1435> ?var7 . ?var8 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q33> . ?var1 (( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P276> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P361> / <http://www.wikidata.org/prop/direct/P279> *)) ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "string1". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000


Question: What film has the film-documentaire.fr ID 21436?

SELECT ?film WHERE { ?film wdt:P3673 "21436" . }

Which movie is identified by the number 21436 in the French film database film-documentaire.fr?

Find the Wikidata item for the film with ID 21436 in film-documentaire.fr.

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


Question: Persian-language labels of athletes and their subclasses.

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 ?label WHERE {
  ?person wdt:P106 ?occupation .
  ?occupation wdt:P279 * wd:Q2066131 .
  ?person rdfs:label ?label .
  FILTER(LANG(?label) = "fa")
}
LIMIT 10
OFFSET 2350

Who are some athletes in Persian, including those in sub-occupations like football players or Olympians?

Show me 10 Persian names of people whose occupation is athlete or a type of athlete, starting from the 2351st result.

SELECT DISTINCT ?var1 WHERE { { ?var2 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> )* ?var4 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q2066131> ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = "fa" ) ) ) . } } LIMIT 10 OFFSET 2350


Question: Who is the artist with J. Paul Getty Museum DOR ID 549?

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:P2432 "549" .
  OPTIONAL {
    ?item rdfs:label ?itemLabel .
    FILTER ( LANG( ?itemLabel ) = "en" )
  }
  OPTIONAL {
    ?item schema:description ?description .
    FILTER ( LANG( ?description ) = "en" )
  }
}

What is the English name and description of the person identified by the J. Paul Getty Museum agent DOR ID 549?

Show me the English label of the person linked to Getty Museum ID 549, along with any English description they have.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2432> "549". OPTIONAL { ?var1 <http://schema.org/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: Does the video game Volfied have the ZXDB ID 0024359?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?game wdt:P4705 "0024359"
}

Is there a Wikidata item for the ZX Spectrum game with identifier 0024359?

Confirm if the ZXDB ID 0024359 is linked to any game in Wikidata.

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


Question: Does Wikidata contain the game with MobyGames ID 'wrc'?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?game wdt:P1933 "wrc" .
}

Is there a game in Wikidata that has the MobyGames game ID 'wrc'?

Confirm if World Rally Championship is linked to the MobyGames ID 'wrc' in Wikidata.

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


Question: What are the Spanish-language names of universities in Chile and the film directors who studied there?

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 ?universityLabel ?directorLabel WHERE {
  ?university wdt:P31 wd:Q3918 ; wdt:P17 wd:Q298 .
  ?director wdt:P69 ?university ; wdt:P106 wd:Q2526255 .
  ?university rdfs:label ?universityLabel .
  ?director rdfs:label ?directorLabel .
  FILTER ( LANG( ?universityLabel ) = "es" && LANG( ?directorLabel ) = "es" )
}

Can you list Chilean universities and their alumni who are film directors, with labels in Spanish?

Which film directors from Chile went to university there, and what are their Spanish names and the names of their universities?

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


Question: Cultural heritage sites in southern Finland with national or UNESCO status, including their coordinates, images, and Commons categories.

SELECT ?heritageSite ?heritageSiteLabel ?coord ?image ?commonsCategory WHERE {
  VALUES ?heritageDesignation {
    wd:Q29966257  # Cultural Heritage Site of National Significance
    wd:Q9259      # World Heritage Site
  }
  ?heritageSite wdt:P1435 ?heritageDesignation .
  ?heritageSite wdt:P17 wd:Q33 .  # Finland
  ?heritageSite wdt:P625 ?coord .
  FILTER(isLiteral(?coord) && datatype(?coord) = geo:wktLiteral)
  BIND(geof:latitude(?coord) AS ?lat)
  BIND(geof:longitude(?coord) AS ?long)
  FILTER(?lat >= 60.0 && ?lat <= 61.0 && ?long >= 22.0 && ?long <= 26.0)
  OPTIONAL { ?heritageSite wdt:P18 ?image . }
  OPTIONAL { ?heritageSite wdt:P373 ?commonsCategory . }
  FILTER(LANG(?heritageSiteLabel) = "en")
  ?heritageSite rdfs:label ?heritageSiteLabel .
}
LIMIT 100

What are the cultural heritage sites in Finland between latitudes 60 and 61 and longitudes 22 and 26 that have either national significance or UNESCO World Heritage status, and what are their images and Wikimedia Commons categories?

List all heritage sites in southern Finland with national or UNESCO designation, showing their names, locations, images, and associated Wikimedia Commons categories.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> "POINT(22 60)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> "POINT(26 61)"^^<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: Lists of UFO sightings

SELECT ?list ?listLabel WHERE { ?list wdt:P360 wd:Q421 . ?list rdfs:label ?listLabel . FILTER(LANG(?listLabel) = 'en') }

What are the Wikipedia lists about unidentified flying objects?

Show me the English-language lists that catalog UFO sightings.

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q1781841> ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } ?var2 <http://www.wikidata.org/prop/direct/P360> <http://www.wikidata.org/entity/Q421> . }


Question: What film is identified by the Cineplex Germany film ID 247601?

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

Which movie in the Cineplex database has the identifier 247601?

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


Question: What ships were retired in August 1958?

SELECT DISTINCT ?item WHERE { ?item (wdt:P730 | wdt:P746) ?date . FILTER ( ?date >= "1958-08-01T00:00:00Z"^^xsd:dateTime && ?date <= "1958-08-31T23:59:59Z"^^xsd:dateTime ) }

Which vessels had their service end or went missing between August 1 and August 31, 1958?

List all military or civilian ships that were taken out of service or disappeared in August 1958.

SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P730> | <http://www.wikidata.org/prop/direct/P746> ) ?var2 . FILTER ( ( ( ?var2 >= "1958-08-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1958-08-31T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: Categories of Pokémon species

SELECT ?pokemonSubclass ?pokemonSubclassLabel WHERE { ?pokemonSubclass wdt:P279 wd:Q3966183 . ?pokemonSubclass rdfs:label ?pokemonSubclassLabel . FILTER(LANG(?pokemonSubclassLabel) = "en") }

What are the different types of Pokémon species, such as Legendary or Starter Pokémon?

List all known subclasses of Pokémon species in the Pokémon franchise.

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


Question: What is the English label and description of the Great Russian Encyclopedia Online ID 3147267?

SELECT ?item ?label ?description WHERE { ?item wdt:P2924 "3147267" . OPTIONAL { ?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 item identified by the ID 3147267 in the Great Russian Encyclopedia Online (old version)?

Show me the English name and description of the material with the Great Russian Encyclopedia Online ID 3147267.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> "3147267". OPTIONAL { ?var1 <http://schema.org/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: Remarkable trees in the Czech Republic and their districts

SELECT ?tree ?treeLabel ?districtLabel WHERE { ?tree wdt:P31 wd:Q811534 . ?tree wdt:P131 ?municipality . ?municipality wdt:P131 ?district . ?district wdt:P31 wd:Q548611 . ?tree rdfs:label ?treeLabel . ?district rdfs:label ?districtLabel . FILTER(LANG(?treeLabel) = "en") FILTER(LANG(?districtLabel) = "en") } LIMIT 8000

Which districts in the Czech Republic contain remarkable trees?

List the names of remarkable trees in the Czech Republic along with the districts they are located in.

SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q811534> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P131> ?var3 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q548611> . } , ?var2 , IF ( EXISTS { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q548611> . } , ?var3 , IF ( EXISTS { ?var6 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q548611> . } , ?var6 , "XX" ) ) ) AS ?var4 ). } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "cs". } } LIMIT 8000


Question: Which film has the The Numbers movie ID "Maccheroni"?

SELECT ?film WHERE { ?film wdt:P3808 "Maccheroni" .}

Find the film identified by "Maccheroni" in The Numbers database.

What movie is listed with the ID Maccheroni on The Numbers website?

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


Question: Does the video game 'Fernandez Must Die' have the ZXDB ID 0001739?

Is there a video game in Wikidata with the ZXDB ID 0001739?

Confirm if the ZXDB ID 0001739 is assigned to any video game in Wikidata.

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


Question: Gaming-History ID 1240 in Wikidata?

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

Is the arcade game Jumping Cross identified by the Gaming-History ID 1240 in Wikidata?

Confirm whether Jumping Cross has the Gaming-History identifier 1240.

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


Question: What is the English label and description of the person with Collective Biographies of Women ID 11808?

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

Who is the German noblewoman and pioneering educationalist listed in the Collective Biographies of Women database with ID 11808?

Please provide the name and English description of the individual identified by the Collective Biographies of Women ID 11808.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4539> "11808". OPTIONAL { ?var1 <http://schema.org/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: Film with Cineplex Germany ID 297075

SELECT ?film WHERE { ?film wdt:P3077 "297075" . }

Which film has the Cineplex Germany film ID 297075?

Can you tell me the name of the film identified by the Cineplex ID 297075?

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


Question: Is Human mitochondrial DNA haplogroup a subclass of mitochondrial DNA haplogroup?

Does the category "Human mitochondrial DNA haplogroup" belong to the broader category of "mitochondrial DNA haplogroup"?

Confirm whether Human mitochondrial DNA haplogroup is classified under mitochondrial DNA haplogroup.

ASK WHERE { <http://www.wikidata.org/entity/Q28923954> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1356230> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> "forwards". }