Question: What regions are part of sovereign countries?

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 DISTINCT ?part ?partLabel ?country ?countryLabel WHERE {
  ?part wdt:P361 ?country .
  ?country wdt:P31 wd:Q3624078 .
  ?part rdfs:label ?partLabel .
  ?country rdfs:label ?countryLabel .
  FILTER(LANG(?partLabel) = "en")
  FILTER(LANG(?countryLabel) = "en")
}
LIMIT 100

Which geographical or administrative regions are parts of sovereign states, and what are those states?

List the parts of sovereign countries along with their corresponding countries, in English.

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


Question: Female citizens of Chile

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person WHERE {
  ?person wdt:P31 wd:Q5 ; wdt:P27 wd:Q298 ; wdt:P21 wd:Q6581072 .
}

List all human individuals who are female and hold Chilean citizenship.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q298> ; <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . }


Question: What movie has the IMDb ID tt0067690?

SELECT ?item WHERE { ?item wdt:P345 "tt0067690" . }

Which film on Wikidata is associated with the IMDb identifier tt0067690?

Find the Wikidata item for the movie with IMDb ID tt0067690.

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


Question: People with "Christen" in their native name in Danish or Norwegian.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?person ?nativeName WHERE {
  ?person wdt:P1559 ?nativeName .
  FILTER(CONTAINS(STR(?nativeName) , "Christen"))
  .
  FILTER(LANG(?nativeName) = "da" || LANG(?nativeName) = "nb" || LANG(?nativeName) = "no")
}

Who are the people whose native names include "Christen" in Danish, Norwegian Bokmål, or Norwegian Nynorsk?

List all individuals whose native names contain "Christen" and are written in Scandinavian languages like Danish or Norwegian.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> "Christen"@fr . }


Question: Who are the people named Moulard in French?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?item ?labelFr ?labelEn WHERE {
  ?item rdfs:label ?labelFr .
  FILTER(LANG(?labelFr) = 'fr')
  .
  FILTER(CONTAINS(LCASE(?labelFr) , "moulard"))
  .
  OPTIONAL {
    ?item rdfs:label ?labelEn .
    FILTER(LANG(?labelEn) = 'en')
  }
}

What entities have a French name containing "Moulard"?

Can you list the French-language names of individuals with the surname Moulard?

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> "Moulard"@fr . }


Question: Subclasses of association football players with number of players and their direct parent categories.

SELECT ?position ?positionLabel ?count ?parent WHERE { { SELECT ?position ( COUNT( DISTINCT ?player ) AS ?count ) WHERE { ?position wdt:P279* wd:Q937857 . OPTIONAL { ?player wdt:P106 ?position . } } GROUP BY ?position } OPTIONAL { ?position wdt:P279 ?parent . } ?position rdfs:label ?positionLabel . FILTER(LANG(?positionLabel) = "en") }

What are the specific football positions (like midfielder or striker), how many players are associated with each, and what is their immediate category above them?

List all sub-occupations of association football players, including how many people have each position and their direct parent category in the hierarchy.

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


Question: What are the municipalities in Baranya County, Hungary, along with their population and coordinates?

SELECT ?municipality ?municipalityLabel ?population ?coordinates WHERE { ?municipality wdt:P31 wd:Q2590631 ; wdt:P131 ?district . ?district wdt:P131 wd:Q186195 . OPTIONAL { ?municipality wdt:P1082 ?population . } OPTIONAL { ?municipality wdt:P625 ?coordinates . } ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = "en") }

List all Hungarian municipalities located in Baranya County, including their population and geographic coordinates.

Which towns and villages in Baranya County, Hungary, have recorded population and location data?

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


Question: List all heritage buildings in Uusimaa with their RKY IDs and coordinates, including those that are part of larger heritage sites.

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 psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT DISTINCT ?item(SUBSTR(STR(?item) , 32) AS ?itemId) ?itemLabel ?partOf ?rkyId ?latitude ?longitude WHERE {
  {
    ?item wdt:P361 ?partOf .
    ?partOf wdt:P4009 ?rkyId .
  } UNION {
    ?item wdt:P4009 ?rkyId .
  }
  ?item wdt:P131 * wd:Q5711 .
  OPTIONAL {
    ?item p:P625 ?statement .
    ?statement psv:P625 ?value .
    ?value wikibase:geoLatitude ?latitude .
    ?value wikibase:geoLongitude ?longitude .
  }
  OPTIONAL {
    ?item rdfs:label ?itemLabel .
    FILTER(LANG(?itemLabel) = "en")
  }
}
ORDER BY ASC(?rkyId) ASC(?partOf)

What are the buildings and structures in Uusimaa that have a national built heritage ID (RKY), and what are their locations and parent heritage sites?

Show me all heritage sites in Uusimaa, their RKY identifiers, whether they belong to a larger heritage area, and their geographic coordinates if available.

SELECT DISTINCT ?var1 ( SUBSTR ( STR ( ?var1 ) ,"32"^^<http://www.w3.org/2001/XMLSchema#integer> ,"250"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var2 ) ?var1Label ?var3 ?var4 ?var5 ?var6 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P4009> ?var4 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P4009> ?var4 . } ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q5711> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/P625> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/value/P625> ?var8 . ?var8 <http://wikiba.se/ontology#geoLatitude> ?var5 . ?var8 <http://wikiba.se/ontology#geoLongitude> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,fi". } } ORDER BY ASC( ?var4 )ASC( ?var3 )


Question: What properties are used to link more than one resource to the Czech ice dancer Šárka Vondrková?

SELECT ?property (COUNT(?resource) AS ?count) WHERE { ?resource ?property wd:Q17403136 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

Which metadata links point to Šárka Vondrková from multiple sources?

How many web resources are about Šárka Vondrková, and is this the only type of link she has more than once?

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q17403136> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: French national football team players and their names

SELECT ?player ?name WHERE { ?player wdt:P106 wd:Q937857 . ?player wdt:P31 wd:Q5 . ?player wdt:P54 wd:Q47774 . ?player rdfs:label ?name . FILTER(LANG(?name) = "en") } LIMIT 200

Who are the human players who have played for the France men's national football team, and what are their names?

List the English names of all humans who are association football players and have been members of the France men's national football team.

SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q47774> . } LIMIT 200


Question: What is the most frequently used property to associate entities with the biblical Magi?

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {
  ?item ?prop wd:Q51671 .
  ?property wikibase:directClaim ?prop .
  ?property rdf:type wikibase:Property .
}
GROUP BY ?property
ORDER BY DESC ( ?count )
LIMIT 1

Which Wikidata property links the most items to the biblical Magi?

How is the biblical Magi most commonly depicted in Wikidata?

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q51671> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: Which property is most frequently used to link Germay to other entities, and how many times is it used?

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?directProperty(COUNT(?directProperty) AS ?count) WHERE {
  ?item ?statementProperty wd:Q972058 .
  ?directProperty wikibase:directClaim ?statementProperty .
  ?directProperty rdf:type wikibase:Property .
}
GROUP BY ?directProperty
ORDER BY DESC(?count)
LIMIT 1

Most common property connecting Germay to other places

Show me the property that has the most connections to Germay and how many connections it has.

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q972058> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: Entities that started between 1945 and 1955 and ended between 1955 and 1965.

SELECT DISTINCT ?item WHERE { ?item wdt:P580 ?startDate . ?item wdt:P582 ?endDate . FILTER ( ?startDate >= "1945-12-08T00:00:00Z"^^xsd:dateTime && ?startDate <= "1955-12-08T23:59:59Z"^^xsd:dateTime ) FILTER ( ?endDate >= "1955-12-08T00:00:00Z"^^xsd:dateTime && ?endDate <= "1965-12-08T23:59:59Z"^^xsd:dateTime ) }

Which organizations or entities began operating between December 1945 and December 1955 and ceased between December 1955 and December 1965?

Show me historical entities like national sports teams or governments that were active in the mid-20th century, specifically those that started in the decade after WWII and ended a decade later.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= "1945-12-08T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1955-12-08T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= "1955-12-08T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= "1965-12-08T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: Songs from Italy or the United States

SELECT DISTINCT ?item ?itemLabel WHERE {  VALUES ?type { wd:Q7366 }  VALUES ?country { wd:Q38 wd:Q50 }  ?item wdt:P31 ?type .  ?item wdt:P495 ?country .  ?item rdfs:label ?itemLabel .  FILTER(LANG(?itemLabel) = "en")}

What songs originate from Italy or the United States?

List all songs that are classified as songs and have their country of origin as either Italy or the United States of America.

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


Question: Songs that are instances of the musical genre "song" and have English labels.

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 ?var1 ?var1Label WHERE {
  VALUES ( ?var2 ) {
    ( wd:Q7366 )
  }
  ?var1 wdt:P31 ?var2 .
  ?var1 rdfs:label ?var1Label .
  FILTER ( LANG( ?var1Label ) = "en" )
}

What are the English titles of all songs listed in Wikidata?

List all songs in Wikidata with their English names.

SELECT DISTINCT ?var1 ?var1Label WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q7366> ) } VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q38> ) ( <http://www.wikidata.org/entity/Q50> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en", "it". } }


Question: What wines are listed in Wikidata, and which countries are they from?

SELECT ?wine ?country WHERE { ?wine wdt:P31 wd:Q282 . OPTIONAL { ?wine wdt:P17 ?country . } } LIMIT 100

Show me the countries where wines are produced, based on Wikidata.

Which wines have a known country of origin in Wikidata?

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "es". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q282> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } } LIMIT 100


Question: What properties are used to link other items to Lisa Cushley more than once?

SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q6557904 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

How many items are about Lisa Cushley, and which property links them to her?

Show me the properties that connect other resources to Lisa Cushley, but only include those used more than once, sorted by frequency.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q6557904> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: What are the geographic coordinates of ancient Roman architectural structures located in Europe?

SELECT DISTINCT ?structure ?coordinates WHERE { ?structure wdt:P149 wd:Q223750 . ?structure wdt:P625 ?coordinates . ?structure wdt:P17 ?country . ?country wdt:P361 wd:Q46 . }

Ancient Roman buildings in Europe with their coordinates

Show me the locations (coordinates) of all ancient Roman architecture sites in Europe.

SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P149> <http://www.wikidata.org/entity/Q223750> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q46> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Which gene has HGNC ID 7672?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?gene WHERE {
  VALUES ?hgncId {
    "7672"
  }
  ?gene wdt:P354 ?hgncId .
}

What is the gene associated with the HGNC identifier 7672?

Tell me the gene symbol for HGNC ID 7672.

SELECT * WHERE { VALUES ( ?var1 ) { ( "7672" ) } ?var2 <http://www.wikidata.org/prop/direct/P354> ?var1 . }


Question: Library buildings in the United Kingdom with their coordinates, images, Commons categories, and addresses.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?library ?libraryLabel ?location ?image ?commonsCategory ?address WHERE {
  ?library ( wdt:P31 / wdt:P279 * ) wd:Q856584 .
  ?library wdt:P17 wd:Q145 .
  OPTIONAL {
    ?library wdt:P625 ?location .
  }
  OPTIONAL {
    ?library wdt:P18 ?image .
  }
  OPTIONAL {
    ?library wdt:P373 ?commonsCategory .
  }
  OPTIONAL {
    ?library wdt:P969 ?address .
  }
}
LIMIT 3000

What are the library buildings in the United Kingdom, and what are their locations, images, Wikimedia Commons categories, and street addresses?

Show me all library buildings in the UK along with their geographic coordinates, associated images, Commons categories, and street addresses if available.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> "POINT(-4 51)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> "POINT(2 53)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q856584> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "string1". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000


Question: Film with ČSFD ID 70877

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

Tell me the Wikidata item for the movie identified as 70877 in the ČSFD database.

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


Question: What are the most common properties linking John Kassir to other entities on Wikidata?

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

Which properties connect John Kassir to the most other items, and how many times are they used?

Show me the properties that link John Kassir to other entities more than once, sorted by how often they appear, including statement, qualifier, and reference properties.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q1582689> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: Properties linking resources to Barbara Radford with count greater than one.

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

What properties are used to connect other resources to Barbara Radford, and how many times is each used, considering only those used more than once?

Show me all properties that link other entities to Barbara Radford, along with their usage counts, but only include those used more than once.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q777032> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: Properties linking multiple items to Jan Luggenhölscher

SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q179011 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

What property is used more than once to connect resources to Jan Luggenhölscher?

Show me the properties that link more than one item to the German ice dancer Jan Luggenhölscher.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q179011> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: What properties link multiple resources to Allison MacLean?

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

Which properties are used to connect more than one web resource to the Wikidata item for Allison MacLean?

Show me the properties that relate Allison MacLean to more than one external resource, ordered by frequency.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q4732792> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: Image of the person with SNAC ARK ID w6sx6kxp

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

What is the image associated with Georges Moustaki in Wikidata?

Can you show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6sx6kxp?

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


Question: What is the image of the person 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 .
  }
}

Show the Wikimedia Commons image associated with the SNAC record w6f29nwg.

Can you find the photo linked to Barack Obama’s SNAC ARK ID?

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


Question: List all countries in English.

SELECT DISTINCT ?country ?countryLabel WHERE { ?country wdt:P31 wd:Q6256 ; rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = "en") }

What are the English names of all sovereign countries in Wikidata?

Can you show me the English labels for all entities that are classified as countries in Wikidata?

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . }


Question: List sister cities of cities around the world with their English names.

SELECT ?city ?cityLabel ?twin ?twinLabel WHERE { ?city wdt:P31 wd:Q515 ; wdt:P190 ?twin . ?city rdfs:label ?cityLabel . ?twin rdfs:label ?twinLabel . FILTER(LANG(?cityLabel) = "en") . FILTER(LANG(?twinLabel) = "en") . }

Which cities are twinned with other cities, and what are the names of both cities in English?

Show me pairs of twin cities, including the English names of both cities in each pair.

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


Question: What is the Wikidata item for the film with AllMovie title ID v160269?

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

Which movie in Wikidata has the AllMovie identifier v160269?

Can you find the film in Wikidata that corresponds to the AllMovie movie ID v160269?

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


Question: Paintings in the RCE collection with inventory numbers and online links

SELECT ?painting ?paintingLabel ?inventoryNumber ?descriptionUrl WHERE { ?painting wdt:P31 wd:Q3305213 ; wdt:P195 wd:Q18600731 ; wdt:P973 ?descriptionUrl . ?painting p:P217 ?inventoryStatement . ?inventoryStatement ps:P217 ?inventoryNumber ; pq:P195 wd:Q18600731 . FILTER( CONTAINS( STR(?descriptionUrl), "beeldbank.cultureelerfgoed.nl" ) ) OPTIONAL { ?painting rdfs:label ?paintingLabel . FILTER(LANG(?paintingLabel) = "en") } }

What paintings from the Cultural Heritage Agency of the Netherlands collection have inventory numbers and are available online?

Please list the paintings from the RCE art collection, including their inventory numbers and URLs to their online records.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( IRI ( CONCAT ( "string1", ?var2 ) ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q18600731> . ?var1 <http://www.wikidata.org/prop/direct/P973> ?var3 . ?var1 <http://www.wikidata.org/prop/P217> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P217> ?var2 . ?var5 <http://www.wikidata.org/prop/qualifier/P195> <http://www.wikidata.org/entity/Q18600731> . FILTER ( ( CONTAINS ( STR ( ?var3 ) , "string2" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "nl,nl". } }


Question: People with the given name Émilie

SELECT ?person ?personLabel WHERE { ?person wdt:P735 wd:Q18180939 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }

Who are the people named Émilie on Wikidata?

List all individuals whose first name is Émilie.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> "Emilie Hot"@fr . }


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

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

What is the name of the movie identified by the Cineplex ID 140681?

Tell me the film associated with Cineplex Germany film ID 140681.

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


Question: What country is Jabal Bou Haïdar located in?

SELECT DISTINCT ?location WHERE { wd:Q21572635 (wdt:P30 | wdt:P17 | wdt:P131 | wdt:P376 | wdt:P501) ?location .}

Which geographic entities (country, continent, administrative region, etc.) are directly associated with the mountain Jabal Bou Haïdar?

Show all direct geographic parent locations of the mountain Jabal Bou Haïdar, such as its country or region.

SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q21572635> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }


Question: Actors and the movies or TV shows they appeared in, with English titles.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?actor ?production ?productionLabel WHERE {
  ?production wdt:P161 ?actor .
  ?production rdfs:label ?productionLabel .
  FILTER ( LANG( ?productionLabel ) = "en" )
}
LIMIT 100

Which actors have appeared in which productions, and what are the English titles of those productions?

Show me a list of up to 100 cast members along with the English titles of the productions they were in.

SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "nl,en". } ?var2 <http://www.wikidata.org/prop/direct/P161> ?var1 . } LIMIT 100


Question: What is the endangered language with UNESCO ID 1575, and what is its English name and description?

SELECT ?language ?languageLabel ?description WHERE { ?language wdt:P2355 "1575" . OPTIONAL { ?language rdfs:label ?languageLabel . FILTER (LANG(?languageLabel) = "en") } OPTIONAL { ?language schema:description ?description . FILTER (LANG(?description) = "en") } }

Can you tell me the name and description in English of the language identified by UNESCO Atlas ID 1575?

Show me the English label and description of the language that has the UNESCO Atlas of Endangered Languages ID 1575.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2355> "1575". OPTIONAL { ?var1 <http://schema.org/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 person with SNAC ARK ID w6qc01mm

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

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

Can you show me the Wikimedia Commons image of Lord Stirling, identified by the SNAC ARK ID w6qc01mm?

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


Question: Female surveyors in Wikidata

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item WHERE {
  ?item wdt:P106 wd:Q294126 .
  ?item wdt:P21 wd:Q6581072 .
}

Who are the female surveyors listed on Wikidata?

List all people whose occupation is surveyor and gender is female.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/prop/direct/Q11699606> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/prop/direct/6581072> . }


Question: Which movie has the elCinema ID 2026201?

SELECT ?movie WHERE { ?movie wdt:P3135 "2026201" . }

What is the Wikidata item for the film identified as 2026201 on elCinema?

Find the movie in Wikidata that corresponds to the elCinema film ID 2026201.

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


Question: What is the English name and description of the language with UNESCO Atlas ID 1746?

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

Which language is identified by the UNESCO ID 1746, and what is its English description?

Tell me the English label and description of the endangered language listed as 1746 in the UNESCO Atlas of Endangered Languages.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2355> "1746". OPTIONAL { ?var1 <http://schema.org/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 names, alternative names, and coordinates of all provinces in Angola?

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/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT ?province(GROUP_CONCAT(DISTINCT ?label ; SEPARATOR = "|") AS ?labels)(GROUP_CONCAT(DISTINCT ?altLabel ; SEPARATOR = "|") AS ?altLabels) ?coordinate WHERE {
  ?province wdt:P31 / wdt:P279 * wd:Q329028 .
  ?province wdt:P625 ?coordinate .
  OPTIONAL {
    ?province rdfs:label ?label .
    FILTER(LANG(?label) IN("en" , "hy"))
  }
  OPTIONAL {
    ?province skos:altLabel ?altLabel .
    FILTER(LANG(?altLabel) IN("en" , "hy"))
  }
}
GROUP BY ?province ?coordinate

Can you list the provinces of Angola along with their English and Armenian labels, any alternative names, and their geographic coordinates?

Show me the administrative divisions of Angola, including their official and alternative names in English or Armenian, and their locations on the map.

SELECT ?var1 ( GROUP_CONCAT ( DISTINCT ?var2Label ; SEPARATOR = "|" ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var4 ; SEPARATOR = "|" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q329028> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var6 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( LANG ( ?var2Label ) IN ( "en", "hy" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var4 . FILTER ( ( LANG ( ?var4 ) IN ( "en", "hy" ) ) ) . } } GROUP BY ?var1


Question: FeedBurner official website and related English/German articles

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 ?article ?url WHERE {
  VALUES ?url {
    <http://www.feedburner.com/> <http://feedburner.google.com/>
  }
  ?item wdt:P856 ?url .
  ?article schema:about ?item .
  ?article schema:inLanguage ?lang .
  FILTER(?lang = "en" || ?lang = "de")
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en" || LANG(?itemLabel) = "de")
}

What are the official websites of FeedBurner, and what English or German articles are about it?

Show me the official websites of FeedBurner and the English and German Wikipedia pages or other articles about it.

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


Question: What are the official websites of Talking Points Memo and its corresponding English Wikipedia page?

PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE {
  ?var1 wdt:P856 ?var3 .
  FILTER ( ?var3 = <http://talkingpointsmemo.com> || ?var3 = <http://www.talkingpointsmemo.com> ) .
  ?var2 schema:about ?var1 ; schema:inLanguage ?lang .
  FILTER ( ?lang = "en" || ?lang = "de" ) .
  ?var1 rdfs:label ?var1Label .
  FILTER ( LANG( ?var1Label ) = "en" || LANG( ?var1Label ) = "de" )
}

Show the English Wikipedia page and official URLs for the entity with website talkingpointsmemo.com or www.talkingpointsmemo.com.

Which entity has an official website at talkingpointsmemo.com or www.talkingpointsmemo.com, and what is its English Wikipedia article?

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


Question: What are the direct properties and their values associated with the Mona Lisa painting, along with their English labels?

SELECT ?property ?propertyLabel ?value ?valueLabel WHERE { wd:Q12418 ?property ?value . FILTER(STRSTARTS(STR(?property), "http://www.wikidata.org/prop/direct/")) OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = "en") } OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = "en") } }

Can you list all the facts about the Mona Lisa, such as who created it, where it’s located, and when it was made, with their English names?

Show me the English-labeled attributes of the Mona Lisa, including its creator, location, and dimensions.

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { <http://www.wikidata.org/entity/Q12418> ?var1 ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: What date items in Wikidata are associated with March 1, 1685?

SELECT DISTINCT ?dateItem WHERE { ?dateItem (wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191) "1685-03-01T00:00:00Z"^^xsd:dateTime . }

Which named dates in Wikidata correspond to March 1, 1685?

List all Wikidata entities that represent March 1, 1685 as a point in time.

SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= "1685-03-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1685-03-01T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: Events that took place on September 13, 1995, including first performances, spacecraft launches, or service entries.

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?event WHERE {
  ?event ( wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191 ) ?date .
  FILTER ( ?date >= "1995-09-13T00:00:00Z" ^^ xsd:dateTime && ?date <= "1995-09-13T23:59:59Z" ^^ xsd:dateTime ) FILTER NOT EXISTS {
    ?event wdt:P31 ?dateClass .
    VALUES ?dateClass {
      wd:Q577 wd:Q186408 wd:Q47150325
    }
  }
}

What events occurred on September 13, 1995, such as treaties signed, massacres, or spacecraft docking?

List all known events from Wikidata that happened on September 13, 1995, including first flights, service entries, or premiere dates.

SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= "1995-09-13T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1995-09-13T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: Which film has the AFI Catalog ID 64602?

SELECT ?film WHERE { ?film wdt:P3593 "64602" . }

What is the name of the film identified by the AFI Catalog number 64602?

Tell me the film that corresponds to the AFI Catalog ID 64602.

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


Question: List all first-level administrative divisions in Azerbaijan with their English and Spanish names, alternative names, and coordinates, excluding districts and dissolved entities.

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/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT ?item ( GROUP_CONCAT( DISTINCT ?label ; SEPARATOR = "|" ) AS ?labels ) ( GROUP_CONCAT( DISTINCT ?altLabel ; SEPARATOR = "|" ) AS ?altLabels ) ( SAMPLE( ?coord ) AS ?coordinate ) WHERE {
  ?item ( wdt:P31 / wdt:P279 * ) wd:Q10864048 .
  ?item wdt:P17 wd:Q227 .
  OPTIONAL {
    ?item rdfs:label ?label .
    FILTER ( LANG( ?label ) IN ( "en" , "es" ) )
  }
  OPTIONAL {
    ?item skos:altLabel ?altLabel .
    FILTER ( LANG( ?altLabel ) IN ( "en" , "es" ) )
  }
  OPTIONAL {
    ?item wdt:P625 ?coord
  } MINUS {
    ?item ( wdt:P31 / wdt:P279 * ) wd:Q13417250
  } MINUS {
    ?item wdt:P576 []
  } MINUS {
    ?item wdt:P1366 []
  }
}
GROUP BY ?item

What are the names (in English and Spanish), alternative names, and geographic coordinates of all first-level administrative divisions in Azerbaijan that are not districts and have not been dissolved or replaced?

Show me the administrative regions of Azerbaijan, including their labels in English and Spanish, any alternative names, and their coordinates, but exclude districts and any that are no longer active.

SELECT ?var1 ( GROUP_CONCAT ( DISTINCT ?var2Label ; SEPARATOR = "|" ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var4 ; SEPARATOR = "|" ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> . } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q227> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var6 . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( LANG ( ?var2Label ) IN ( "en", "es" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var4 . FILTER ( ( LANG ( ?var4 ) IN ( "en", "es" ) ) ) . } MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q13417250> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P576> [] . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P1366> [] . } } GROUP BY ?var1


Question: What are all the broader categories that a joint honours degree belongs to, including indirect ones?

SELECT DISTINCT ?superclass WHERE { wd:Q6269522 wdt:P279* ?superclass .}

What classes is the joint honours degree a subclass of in Wikidata’s hierarchy?

Show me the full superclass chain of a joint honours degree in Wikidata.

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


Question: Items created, published, invented, or officially opened on June 18, 1985

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT ?item WHERE {
  ?item wdt:P571 | wdt:P575 | wdt:P577 | wdt:P1619 ?date .
  FILTER(?date >= "1985-06-18T00:00:00Z" ^^ xsd:dateTime && ?date <= "1985-06-18T23:59:59Z" ^^ xsd:dateTime)
}

What works, laws, or organizations were published, invented, or officially opened on June 18, 1985?

List all entities that had their inception, publication, discovery, or official opening on June 18, 1985.

SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P575> | <http://www.wikidata.org/prop/direct/P577> | <http://www.wikidata.org/prop/direct/P1619> ) ?var2 . FILTER ( ( ( ?var2 >= "1985-06-18T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1985-06-18T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: Indian actors with known birth dates

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 ?actor ?actorLabel WHERE {
  ?actor wdt:P27 wd:Q668 .
  ?actor wdt:P106 wd:Q33999 .
  ?actor wdt:P569 ?birthDate .
  ?actor rdfs:label ?actorLabel .
  FILTER(LANG(?actorLabel) = "en")
}

Who are the Indian actors with a recorded date of birth?

List the names of actors from India who have a known birth date.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q668> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Is Bengt Braun a type of software?

Does Bengt Braun belong to a class that is a subclass of software?

Check if Bengt Braun is categorized under software or any of its broader categories.

ASK WHERE { <http://www.wikidata.org/entity/Q5585358> ( <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: Municipalities in Hungary with population and coordinates in Individual Constituency Heves County No. 3

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 ?municipality ?municipalityLabel ?population ?coordinates WHERE {
  ?municipality wdt:P31 wd:Q2590631 ; wdt:P7938 wd:Q15891201 .
  OPTIONAL {
    ?municipality wdt:P1082 ?population .
  }
  OPTIONAL {
    ?municipality wdt:P625 ?coordinates .
  }
  FILTER(LANG(?municipalityLabel) = "en")
  .
  ?municipality rdfs:label ?municipalityLabel .
}

Which towns and municipalities in Hungary belong to the electoral district of Heves County No. 3, and what are their populations and geographic coordinates?

List all Hungarian municipalities in the Heves County No. 3 electoral district along with their population and location coordinates.

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


Question: Spanish regions with Catalan and English labels, ISO codes, and Catalan/English demonyms

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 ?region ?label_ca ?label_en ?iso_code ?demonym_ca ?demonym_en WHERE {
  ?region wdt:P17 wd:Q29 ; wdt:P300 ?iso_code ; rdfs:label ?label_ca ; rdfs:label ?label_en .
  FILTER(LANG(?label_ca) = "ca")
  FILTER(LANG(?label_en) = "en")
  OPTIONAL {
    ?region wdt:P1549 ?demonym_ca .
    FILTER(LANG(?demonym_ca) = "ca")
  }
  OPTIONAL {
    ?region wdt:P1549 ?demonym_en .
    FILTER(LANG(?demonym_en) = "en")
  }
}

Which administrative regions of Spain have labels in both Catalan and English, along with their ISO 3166-2 codes and demonyms in Catalan or English?

Show me the Catalan and English names of Spanish regions, their ISO codes, and their demonyms in Catalan and English, if available.

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q29> . ?var1 <http://www.wikidata.org/prop/direct/P300> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "zh-yue" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "ca" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1549> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = "ca" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1549> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = "en" ) ) ) . } }


Question: Who are the people with the family name Aeberhardt?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?person WHERE {
  ?person wdt:P734 wd:Q83338588
}

List all individuals whose surname is Aeberhardt.

Which people have Aeberhardt as their last name?

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> "aeberhardt"@fr . }


Question: Is the river Gizhget classified as software or any of its subclasses?

Is Gizhget, a river in Armenia, considered a type of software?

Confirm whether Gizhget belongs to the category of software or any broader category that includes software.

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


Question: What is the German label and description of the 2013 Austrian legislative election?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
SELECT ?label ?description WHERE {
  wd:Q1386143 rdfs:label ?label .
  wd:Q1386143 schema:description ?description .
  FILTER(LANG(?label) = "de")
  FILTER(LANG(?description) = "de")
}

In German, how is the 2013 Austrian legislative election described and labeled?

Show me the German-language name and description for the 2013 Austrian parliamentary election.

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q1386143> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "de" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "de" ) ) ) . } LIMIT 100


Question: Is the Soviet writer Garegin Bes considered a type of software?

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

Does Garegin Bes belong to any category that is a subclass of software?

Can a human writer like Garegin Bes be classified as software?

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


Question: What film has the AllMovie ID v161674?

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

Which Wikidata item corresponds to the AllMovie title ID "v161674"?

Find the movie in Wikidata that is identified by the AllMovie ID v161674.

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


Question: What movie has the elCinema ID 2045105?

SELECT ?movie WHERE { ?movie wdt:P3135 "2045105" . }

Which film on Wikidata is associated with the elCinema film ID 2045105?

Find the Wikidata item for the movie identified by elCinema film ID 2045105.

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


Question: What is the English label for Schubert polynomial on Wikidata?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?label WHERE {
  wd:Q7432937 rdfs:label ?label .
  FILTER(LANGMATCHES(LANG(?label) , "en"))
}
LIMIT 1

Can you tell me the English name of the Schubert polynomial entity?

What is the official English term for Schubert polynomial in Wikidata?

SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q7432937> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , "EN" ) ) ) . } LIMIT 1


Question: What are all the properties in Wikidata and their English labels?

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?property ?propertyLabel WHERE {
  ?property rdf:type wikibase:Property .
  ?property rdfs:label ?propertyLabel .
  FILTER(langMatches(lang(?propertyLabel) , "en"))
}

Can you list the English names of all Wikidata properties?

Show me the human-readable English labels for every property in Wikidata.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ar, en". } }


Question: List languages with their ISO 639-3 codes in English.

SELECT ?language ?languageLabel ?isoCode WHERE { ?language wdt:P220 ?isoCode . ?language rdfs:label ?languageLabel . FILTER(LANG(?languageLabel) = "en") } LIMIT 10

What are the English names and ISO 639-3 codes of 10 languages?

Show me 10 languages along with their English labels and corresponding three-letter ISO 639-3 codes.

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P220> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } LIMIT 10


Question: Geographic entities connected to Waimoqe Creek via country, administrative division, or continent.

SELECT DISTINCT ?geographicEntity WHERE { { wd:Q23974736 (wdt:P30|wdt:P17|wdt:P131|wdt:P376|wdt:P501) ?geographicEntity . } UNION { wd:Q23974736 (wdt:P30|wdt:P17|wdt:P131|wdt:P376|wdt:P501) ?mid . ?mid (wdt:P30|wdt:P17|wdt:P131|wdt:P376|wdt:P501) ?geographicEntity . } }

What countries, administrative regions, and continents include Waimoqe Creek, either directly or through intermediate geographic entities?

List all geographic locations that Waimoqe Creek is part of, including those connected through Fiji or its administrative divisions.

SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q23974736> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }


Question: What film has the elCinema ID 2046117?

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

Which movie is identified by the elCinema film ID 2046117?

Can you find the film with the elCinema identifier 2046117?

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


Question: Top journals where John Kuriyan has published, ordered by number of papers.

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 ?publicationVenue ?publicationVenueLabel(COUNT(?work) AS ?publicationCount) WHERE {
  ?work wdt:P50 wd:Q6243502 .
  ?work wdt:P1433 ?publicationVenue .
  ?publicationVenue rdfs:label ?publicationVenueLabel .
  FILTER(LANG(?publicationVenueLabel) = "en")
}
GROUP BY ?publicationVenue ?publicationVenueLabel
ORDER BY DESC(?publicationCount)

Which scientific journals have published the most papers by John Kuriyan, and how many papers did he publish in each?

Show me a list of journals where John Kuriyan has published, ranked by how many of his papers appeared in each.

SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q6243502> . ?var2 <http://www.wikidata.org/prop/direct/P1433> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,fr,de,ru,es,zh,jp". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )


Question: Cities with over 100,000 people, their countries, official languages, and language codes.

SELECT ?city ?country ?countryLabel ?language ?languageLabel ?languageCode WHERE { ?city wdt:P31 wd:Q515 . ?city wdt:P17 ?country . ?city wdt:P1082 ?population . ?country wdt:P37 ?language . ?country rdfs:label ?countryLabel . ?language wdt:P424 ?languageCode . ?language rdfs:label ?languageLabel . FILTER (?population > 100000) } LIMIT 100

What are the cities with a population greater than 100,000, and what are their countries, official languages, and Wikimedia language codes?

List cities with more than 100,000 residents, along with the countries they are in, the official languages of those countries, and the corresponding Wikimedia language codes.

SELECT ?var1 ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P37> ?var3 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.wikidata.org/prop/direct/P424> ?var4 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( ?var5 > "100000"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 100


Question: French people with "Demolombe" in their name

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 ?item WHERE {
  ?item rdfs:label ?label .
  FILTER(LANG(?label) = "fr")
  FILTER(REGEX(?label , "Demolombe" , "i"))
  ?item wdt:P31 wd:Q5 .
}

Who are the French individuals whose names include "Demolombe"?

List all French persons named Demolombe or with Demolombe in their name.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> "Demolombe"@fr . }


Question: People who have a business or sports partner, with their English names.

SELECT ?person ?personLabel WHERE { ?person wdt:P1327 ?partner . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }

Who are the people that have a partner in business or sport, and what are their names in English?

List all individuals with a business or sports partner along with their English labels.

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


Question: Distribution of statement counts for mathematicians with mathnet.ru IDs.

SELECT ?statementCount (COUNT(?item) AS ?itemCount)
WHERE {
  {
    SELECT ?item (COUNT(?statement) AS ?statementCount)
    WHERE {
      ?item wdt:P4252 ?mathnetId .
      ?item ?p ?statement .
      FILTER(STRSTARTS(STR(?p), "http://www.wikidata.org/prop/direct/"))
    }
    GROUP BY ?item
  }
}
GROUP BY ?statementCount
ORDER BY ASC(?statementCount)

How many mathematicians listed in the All-Russian Mathematical Portal have exactly 5 statements, 10 statements, etc., in Wikidata?

Show how many items with a mathnet.ru ID have each number of statements in Wikidata, sorted by statement count.

SELECT ?var1 ( COUNT (* ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P4252> ?var4 ; <http://wikiba.se/ontology#statements> ?var1 . } GROUP BY ?var1 ORDER BY ASC( ?var1 )


Question: What property is most commonly used to classify fictional robots in Wikidata?

SELECT ?property (COUNT(?item) AS ?count)
WHERE {
  ?item ?property wd:Q18327510 .
  FILTER(STRSTARTS(STR(?property), "http://www.wikidata.org/prop/"))
}
GROUP BY ?property
ORDER BY DESC(?count)
LIMIT 1

Which property links the most entities to the concept of a fictional robot?

Show me the most frequent property used to indicate that something is a fictional robot.

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q18327510> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: Who has "Griffon" as their native name in French?

SELECT DISTINCT ?item WHERE { ?item wdt:P1559 "Griffon" @fr . }

Which person is known by the French native name "Griffon"?

Find individuals whose name in their native French language is Griffon.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1559> "Grifti"@fr . }


Question: Taxonomic units with their NCBI, ITIS, EOL, and Netherlands Register IDs

SELECT ?taxonLabel ?taxon ?ncbiId ?itisId ?eolId ?netherlandsId WHERE {  ?taxon wdt:P31 wd:Q16521 .  OPTIONAL { ?taxon rdfs:label ?taxonLabel . }  OPTIONAL { ?taxon wdt:P685 ?ncbiId . }  OPTIONAL { ?taxon wdt:P815 ?itisId . }  OPTIONAL { ?taxon wdt:P830 ?eolId . }  OPTIONAL { ?taxon wdt:P3405 ?netherlandsId . }} LIMIT 100

What are the names and database identifiers (NCBI, ITIS, EOL, Netherlands) for 100 taxonomic units?

Show me 100 taxonomic species or groups with their labels and IDs from NCBI, ITIS, Encyclopedia of Life, and the Dutch Soortenregister.

SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P685> ?var3 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P815> ?var4 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P830> ?var5 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P3405> ?var6 . } } LIMIT 100


Question: What are some types of images?

SELECT ?subclassLabel WHERE { ?subclass wdt:P279* wd:Q478798 . ?subclass rdfs:label ?subclassLabel FILTER(LANG(?subclassLabel) = 'en') } LIMIT 10

Can you list the subclasses of the concept "image" in Wikidata?

What are different kinds of images, such as photographic or artistic types?

SELECT ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q478798> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } LIMIT 1


Question: Humans born on January 1, 1911, with their place of birth and country of citizenship.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?human ?birthDate ?placeOfBirth ?country WHERE {
  ?human wdt:P31 wd:Q5 .
  ?human wdt:P569 ?birthDate .
  OPTIONAL {
    ?human wdt:P19 ?placeOfBirth .
  }
  OPTIONAL {
    ?human wdt:P27 ?country .
  }
  FILTER(?birthDate >= "1911-01-01" ^^ xsd:date && ?birthDate < "1911-01-02" ^^ xsd:date)
}
ORDER BY ASC(?human)

Who were the people born on January 1, 1911, and where and in which country were they born?

List all humans born on January 1, 1911, including their birthplace and nationality.

SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var9 . } BIND ( ( ( ?var5 - ?var2 ) /"365.2425"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var10 ). FILTER ( ( ( ?var2 >= "1911-01-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 < "1911-01-02"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY ASC( ?var1 )


Question: List Swedish historical figures from the Dictionary of Swedish National Biography who also have Geni.com profiles, along with their Find a Grave IDs if available.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?geniId ?sblId ?findAGraveId WHERE {
  ?person wdt:P2600 ?geniId .
  ?person wdt:P3217 ?sblId .
  OPTIONAL {
    ?person wdt:P535 ?findAGraveId .
  }
}

Which people in Wikidata have both a Geni.com profile and an entry in the Dictionary of Swedish National Biography, and what are their Find a Grave memorial IDs?

Show me the Geni.com IDs, SBL IDs, and Find a Grave IDs for all individuals documented in both Geni.com and the Dictionary of Swedish National Biography.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2600> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P3217> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P535> ?var4 . } }


Question: What are some types of resorts?

SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P279 wd:Q875157 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en") } LIMIT 11

List the subclasses of "resort" in Wikidata, along with their English labels.

Can you show me 11 examples of different kinds of resorts, such as seaside resorts or holiday camps?

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


Question: Coordinates of Le Cannet, France

SELECT ?coordinates WHERE { wd:Q207967 wdt:P625 ?coordinates .}

What are the geographic coordinates of Le Cannet?

Can you tell me the latitude and longitude of Le Cannet?

SELECT DISTINCT( SAMPLE ( ?var1 ) AS ?var2 ) WHERE { ?var3 <http://schema.org/about> ?var4 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q207967> ) ) ) . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P625> ?var1 . } }


Question: What geographic entities (continent, country, administrative regions, etc.) is the village of Frunză connected to?

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 ?connectedEntity ?label WHERE {
  wd:Q20858663 ( wdt:P30 | wdt:P17 | wdt:P131 | wdt:P376 | wdt:P501 ) * ?connectedEntity .
  ?connectedEntity rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" )
}
LIMIT 100

List all places that are directly or indirectly linked to Frunză through location relationships like country, continent, or administrative divisions.

Show me the hierarchy of geographic locations that include Frunză, from local district up to continent.

SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q30249287> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }


Question: List all fictional humanoid and intelligent species from the Star Trek universe.

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 ?species ?speciesLabel WHERE {
  {
    ?species wdt:P31 wd:Q24286894 .
  } UNION {
    ?species wdt:P31 wd:Q32999896 .
  }
  ?species wdt:P1080 wd:Q18043309 .
  OPTIONAL {
    ?species rdfs:label ?speciesLabel .
    FILTER ( LANG( ?speciesLabel ) = "en" )
  }
}

What are the names of fictional species from Star Trek that are either humanoid or intelligent?

Show me the English labels of all fictional species from the Star Trek universe that are classified as either humanoid species or intelligent species.

SELECT ?var1 ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q24286894> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q32999896> . } ?var1 <http://www.wikidata.org/prop/direct/P1080> <http://www.wikidata.org/entity/Q18043309> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1165> ?var2 . } }


Question: Entities labeled "health" in English with their images

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?itemLabel ?image WHERE {
  ?item rdfs:label "health" @en .
  OPTIONAL {
    ?item wdt:P18 ?image .
  }
  FILTER ( STRSTARTS( STR( ?item ) , "http://www.wikidata.org/entity/Q" ) )
}

What are the entities in Wikidata with the English label "health", and what images are associated with them?

Show me the items in Wikidata that are called "health" in English, along with their images if available.

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


Question: Entities in the health category with "health" in their name and their images

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

What are the health-related topics in the Wikimedia health category that have "health" in their English label, and what are their images?

Show me items categorized under the health category on Wikimedia that have "health" in their English name, along with their images.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } ?var1 <http://www.wikidata.org/prop/direct/P910> ?var4 . FILTER ( ( ?var4 IN ( <http://www.wikidata.org/entity/Q7486603> ) ) ) . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , "health"@en ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100


Question: List international airports with their English names and geographic coordinates (latitude and longitude).

SELECT ?airport ?airportLabel ?latitude ?longitude WHERE { ?airport wdt:P31 wd:Q644371 . ?airport p:P625 ?coordinateStatement . ?coordinateStatement psv:P625 ?coordinateValue . ?coordinateValue wikibase:geoLatitude ?latitude . ?coordinateValue wikibase:geoLongitude ?longitude . ?airport rdfs:label ?airportLabel . FILTER(LANG(?airportLabel) = "en") }

What are the names, latitudes, and longitudes of all international airports in Wikidata?

Can you provide the English labels, latitude, and longitude for every airport that serves international flights?

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q644371> . ?var1 <http://www.wikidata.org/prop/P625> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/value/P625> ?var5 . ?var5 <http://wikiba.se/ontology#geoLongitude> ?var3 . ?var5 <http://wikiba.se/ontology#geoLatitude> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } }


Question: Image of the person with SNAC ARK ID w68d0xvt

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

What is the image associated with Joseph L. Bristow in Wikidata?

Show me the Wikimedia Commons image for the individual identified by SNAC ARK ID w68d0xvt.

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


Question: Country and administrative division of the Eiffel Tower

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 ?countryLabel ?administrativeEntityLabel ?administrativeEntity WHERE {
  BIND( wd:Q243 AS ?eiffelTower ) .
  ?eiffelTower wdt:P17 ?country .
  ?eiffelTower wdt:P131 ?administrativeEntity .
  ?country rdfs:label ?countryLabel .
  ?administrativeEntity rdfs:label ?administrativeEntityLabel .
  FILTER ( LANG( ?countryLabel ) = "en" ) .
  FILTER ( LANG( ?administrativeEntityLabel ) = "en" ) .
}
LIMIT 10

In which country and which administrative division of Paris is the Eiffel Tower located?

What is the English name of the country and the 7th arrondissement where the Eiffel Tower is located?

SELECT DISTINCT ?var1Label ?var2Label ?var3Label ?var3 WHERE { BIND ( <http://www.wikidata.org/entity/Q243> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P31> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } ORDER BY DESC( ?var7 ) LIMIT 10


Question: Types of Parque de las Avenidas station, its administrative divisions (Madrid and Community of Madrid), and country.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?stationTypeLabel ?countryLabel ?admin1TypeLabel ?admin1Label ?admin2TypeLabel ?admin2Label ?stationType ?admin1Type ?admin2Type WHERE {
  BIND( wd:Q2480862 AS ?station ) .
  ?station wdt:P17 ?country .
  ?station wdt:P31 ?stationType .
  ?station wdt:P131 ?admin1 .
  ?admin1 wdt:P31 ?admin1Type .
  ?admin1 wdt:P131 ?admin2 .
  ?admin2 wdt:P31 ?admin2Type .
  OPTIONAL {
    ?stationType rdfs:label ?stationTypeLabel .
    FILTER ( LANG( ?stationTypeLabel ) = "en" )
  }
  OPTIONAL {
    ?country rdfs:label ?countryLabel .
    FILTER ( LANG( ?countryLabel ) = "en" )
  }
  OPTIONAL {
    ?admin1Type rdfs:label ?admin1TypeLabel .
    FILTER ( LANG( ?admin1TypeLabel ) = "en" )
  }
  OPTIONAL {
    ?admin1 rdfs:label ?admin1Label .
    FILTER ( LANG( ?admin1Label ) = "en" )
  }
  OPTIONAL {
    ?admin2Type rdfs:label ?admin2TypeLabel .
    FILTER ( LANG( ?admin2TypeLabel ) = "en" )
  }
  OPTIONAL {
    ?admin2 rdfs:label ?admin2Label .
    FILTER ( LANG( ?admin2Label ) = "en" )
  }
}
LIMIT 10

What are the different types of the Parque de las Avenidas metro station, and what administrative regions and country does it belong to?

Show me all the classifications of Parque de las Avenidas station, along with the municipality and autonomous community it is located in, and its country.

SELECT DISTINCT ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label ?var1 ?var3 ?var5 WHERE { BIND ( <http://www.wikidata.org/entity/Q2480862> AS ?var7 ). ?var7 <http://www.wikidata.org/prop/direct/P17> ?var2 . ?var7 <http://www.wikidata.org/prop/direct/P31> * ?var1 . ?var7 <http://www.wikidata.org/prop/direct/P131> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P131> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P31> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } ORDER BY DESC( ?var8 ) LIMIT 10


Question: Image of Walter Charleton with SNAC ARK ID w6h148z6

SELECT ?image WHERE { ?person wdt:P3430 "w6h148z6" . OPTIONAL { ?person wdt:P18 ?image . } }

What is the image of the person with SNAC ARK ID w6h148z6?

Show me the Wikimedia Commons image for Walter Charleton, identified by SNAC ARK ID w6h148z6.

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


Question: What is the date of birth of Willeke van Ammelrooy, and is her date of death known?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?birthDate ?deathDate WHERE {
  wd:Q447122 wdt:P569 ?birthDate .
  OPTIONAL {
    wd:Q447122 wdt:P570 ?deathDate .
  }
}

Willeke van Ammelrooy's birth date and death date

Can you tell me when Willeke van Ammelrooy was born and whether she has passed away?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q447122> <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { <http://www.wikidata.org/entity/Q447122> <http://www.wikidata.org/prop/direct/P570> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "nl,en". } }


Question: Show a building with an image and coordinates.

SELECT ?item ?itemLabel ?lat ?lon ?image WHERE { ?item wdt:P18 ?image . ?item p:P625 ?coord . ?coord psv:P625 ?coordValue . ?coordValue wikibase:geoLatitude ?lat . ?coordValue wikibase:geoLongitude ?lon . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } LIMIT 1

What is an example of a location with a photo on Wikimedia Commons and its latitude and longitude?

Give me one item that has an image and geographic coordinates, along with its English name.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { { SELECT ?var1 ?var5 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . ?var1 <http://www.wikidata.org/prop/P625> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/value/P625> ?var7 . ?var7 <http://wikiba.se/ontology#geoLatitude> ?var3 . ?var7 <http://wikiba.se/ontology#geoLongitude> ?var4 . } OFFSET 44 LIMIT 1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,de". } }


Question: Museums with geographic coordinates, sorted alphabetically by name.

SELECT DISTINCT ?var1 ?label WHERE { ?var1 (wdt:P31/wdt:P279*) wd:Q33506 . ?var1 wdt:P625 ?var2 . ?var1 rdfs:label ?label . FILTER(LANG(?label) = "en") } ORDER BY ASC(?label)

What are the names of all museums and museum-like institutions that have known geographic locations?

List all museums with coordinates, ordered by their English names.

SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q33506> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ca". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . } OPTIONAL { } } ORDER BY ASC( ?var3 )


Question: Fictional characters created by Isaac Asimov

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 ?character ?characterLabel WHERE {
  ?character wdt:P31 wd:Q3658341 .
  ?character wdt:P170 wd:Q34981 .
  OPTIONAL {
    ?character rdfs:label ?characterLabel .
    FILTER(LANG(?characterLabel) = 'en')
  }
}
LIMIT 10

Which literary characters were created by Isaac Asimov?

List the English names of literary characters created by Isaac Asimov.

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


Question: What is the type of Saint-Séverin church, the administrative area it is located in, and the type and name of the city it belongs to?

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 DISTINCT ?churchTypeLabel ?placeTypeLabel ?placeLabel ?countryTypeLabel ?countryLabel WHERE {
  BIND( wd:Q1710376 AS ?church ) .
  OPTIONAL {
    ?church wdt:P31 ?churchType .
    ?churchType rdfs:label ?churchTypeLabel .
    FILTER ( LANG( ?churchTypeLabel ) = "en" )
  }
  OPTIONAL {
    ?church wdt:P131 ?place .
    ?place rdfs:label ?placeLabel .
    FILTER ( LANG( ?placeLabel ) = "en" )
  }
  OPTIONAL {
    ?place wdt:P31 ?placeType .
    ?placeType rdfs:label ?placeTypeLabel .
    FILTER ( LANG( ?placeTypeLabel ) = "en" )
  }
  OPTIONAL {
    ?place wdt:P131 ?country .
    ?country rdfs:label ?countryLabel .
    FILTER ( LANG( ?countryLabel ) = "en" )
  }
  OPTIONAL {
    ?country wdt:P31 ?countryType .
    ?countryType rdfs:label ?countryTypeLabel .
    FILTER ( LANG( ?countryTypeLabel ) = "en" )
  }
}

Show the hierarchy of Saint-Séverin: its type, the type and name of the arrondissement it’s in, and the type and name of Paris.

For the church Saint-Séverin, list its classification, the classification and name of the arrondissement it’s part of, and the classification and name of the city it belongs to.

SELECT DISTINCT ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label WHERE { BIND ( <http://www.wikidata.org/entity/Q1710376> AS ?var6 ). OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P31> ?var1 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/direct/P131> ?var3 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var2 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P131> ?var5 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P31> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Current members of the German Bundestag and their political parties.

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?person ?personLabel ?partyLabel WHERE {
  ?person p:P39 ?statement .
  ?statement ps:P39 wd:Q1939555 .
  FILTER NOT EXISTS {
    ?statement pq:P582 ?end
  }
  .
  ?person wdt:P102 ?party .
  ?person rdfs:label ?personLabel .
  ?party rdfs:label ?partyLabel .
  FILTER ( LANG( ?personLabel ) = "en" && LANG( ?partyLabel ) = "en" )
}
LIMIT 10

Who are the current members of the German Bundestag and which political parties do they belong to?

List the English names of all currently serving members of the German Bundestag along with their political parties.

SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q1939555> . ?var3 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } ) ) . ?var1 <http://www.wikidata.org/prop/qualifier/P102> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Geographic locations in Brazil with coordinates, excluding duplicates and parts of other items.

SELECT ?item ?itemLabel ?coord WHERE { ?item wdt:P17 wd:Q155 . ?item wdt:P625 ?coord . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "pt" || LANG(?itemLabel) = "en") MINUS { ?item wdt:P361 ?part . } MINUS { ?item wdt:P2959 ?dup . } } ORDER BY ?itemLabel LIMIT 10000

What are the named places in Brazil that have geographic coordinates and are not part of larger entities?

List all labeled geographic features in Brazil along with their coordinates, excluding duplicates and items that are components of other places.

SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pt,de,en,fr". } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q155> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var4 . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P361> ?var5 . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var6 . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P2959> ?var7 . } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } ORDER BY ASC( ?var1Label ) LIMIT 10000


Question: List all obituaries published in the Biographical Memoirs or Obituary Notices of the Royal Society, along with their DOIs, publication dates, and the birth and death dates of the deceased fellows, including their ODNB IDs if available.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?article ?publicationDate ?doi ?person ?odnbId ?birthDate ?deathDate WHERE {
  {
    ?article wdt:P1433 wd:Q4914871 .
  } UNION {
    ?article wdt:P1433 wd:Q29043655 .
  }
  OPTIONAL {
    ?article wdt:P921 ?person .
    OPTIONAL {
      ?person wdt:P1415 ?odnbId .
    }
    OPTIONAL {
      ?person wdt:P569 ?birthDate .
    }
    OPTIONAL {
      ?person wdt:P570 ?deathDate .
    }
  }
  ?article wdt:P356 ?doi .
  ?article wdt:P577 ?publicationDate .
}
ORDER BY ASC ( ?publicationDate ) ASC ( ?doi )

What are the publication dates and DOIs of articles in the Royal Society’s Biographical Memoirs and Obituary Notices journals, and for those articles that are about specific individuals, what are their names, dates of birth and death, and Oxford Dictionary of National Biography IDs?

Please provide a sorted list of all articles from the Royal Society’s two obituary journals, showing their DOIs, publication dates, and for each article about a person, include that person’s birth date, death date, and ODNB ID.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ?var5 ?var6 ?var7 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q4914871> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q29043655> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P921> ?var4 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P1415> ?var5 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P569> ?var6 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P570> ?var7 . } } ?var1 <http://www.wikidata.org/prop/direct/P356> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } ORDER BY ASC( ?var2 )ASC( ?var3 )


Question: People with FFN swimmer ID who do not compete in swimming.

SELECT DISTINCT ?person (SAMPLE(?label) AS ?personLabel) WHERE { ?person wdt:P4074 ?id . MINUS { ?person wdt:P641 wd:Q31920 . } ?person rdfs:label ?label . } GROUP BY ?person ORDER BY ?person

Who are the individuals registered in the French Swimming Federation with an FFN ID but not listed as swimmers?

List all French Swimming Federation (FFN) ID holders who are not associated with the sport of swimming.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4074> ?var2 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q31920> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } }


Question: Biographical articles in the Royal Society’s journals with authors’ birth/death dates and ODNB IDs.

SELECT ?item ?itemLabel ?pubDate ?person ?personLabel ?odnbId ?birthDate ?deathDate WHERE { { ?item wdt:P1433 wd:Q4914871 . } UNION { ?item wdt:P1433 wd:Q29043655 . } ?item wdt:P577 ?pubDate . ?item wdt:P921 ?person . OPTIONAL { ?person wdt:P1415 ?odnbId . } OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?item rdfs:label ?itemLabel . ?person rdfs:label ?personLabel . FILTER(LANG(?itemLabel) = "en") FILTER(LANG(?personLabel) = "en") } ORDER BY ?pubDate

What are the biographical articles published in the Biographical Memoirs or Obituary Notices of the Royal Society, and who are the people they are about, including their birth and death dates and Oxford Dictionary of National Biography IDs?

List the titles, publication dates, and biographical details (birth, death, ODNB ID) of the people featured in the Royal Society’s biographical journals.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ?var5 ?var6 ?var7 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q4914871> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q29043655> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P921> ?var4 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P1415> ?var5 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P569> ?var6 . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P570> ?var7 . } } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P356> ?var3 . } ) ) . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } ORDER BY ASC( ?var2 )ASC( ?var3 )


Question: What entities are classified as scholarly articles in Wikidata?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT * WHERE {
  ?item ?property wd:Q13442814 .
}
LIMIT 10000

Which Wikipedia pages or works are about scholarly articles?

List all entities that have a relationship with the concept of a scholarly article and describe how they are connected.

SELECT * WHERE { ?var1 ?var2 <https://www.wikidata.org/wiki/Q13442814> . } LIMIT 10000


Question: Italian Wikipedia page titles for communes in Italy

SELECT ?pageTitle WHERE { ?commune wdt:P31 wd:Q747074 . ?wikipediaPage schema:about ?commune . ?wikipediaPage schema:inLanguage "it" . ?wikipediaPage schema:isPartOf <https://it.wikipedia.org/> . ?wikipediaPage schema:name ?pageTitle .}

What are the names of Italian Wikipedia articles about Italian communes?

List the titles of all Italian-language Wikipedia pages that describe communes in Italy.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q747074> . ?var3 !( <http://schema.org/about> ) ?var1 . ?var3 <http://schema.org/inLanguage> "it". ?var3 <http://schema.org/isPartOf> <https://it.wikipedia.org/> . ?var3 <http://schema.org/name> ?var4 . }


Question: What properties link items to lightvessels in Wikidata, excluding "instance of"?

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?item ?statement ?property WHERE {
  ?statement ?statementProperty wd:Q831515 .
  ?item ?claimProperty ?statement .
  ?property wikibase:statementProperty ?statementProperty .
  ?property wikibase:claim ?claimProperty .
  FILTER ( ?property != wd:P31 )
}
LIMIT 101

Which properties are used to state that a ship or station is a lightvessel, and what are the associated items?

Show me all entities that are connected to a lightvessel through a statement property (other than P31), along with the property and statement used.

SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q831515> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3


Question: What silent film has the danskefilm ID 1447?

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

Which film is identified by the ID 1447 in the danskefilm.dk silent film database?

Find the English title of the silent film with the danskefilm silent film ID 1447.

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


Question: What is the English title of the film with danskefilm ID 1185?

SELECT ?film ?filmLabel WHERE { ?film wdt:P3785 "1185" . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = "en") }

Which film is identified by the ID 1185 in the danskefilm database?

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


Question: Who is the human named "Maite Perroni" in English?

SELECT DISTINCT ?item WHERE { ?item rdfs:label "Maite Perroni"@en . ?item wdt:P31 wd:Q5 }

Find the Wikidata item for the person labeled "Maite Perroni" in English who is a human.

What entity in Wikidata has the English label "Maite Perroni" and is classified as a human?

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "Maïté Juré"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }


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

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

Which Wikidata item corresponds to the film with Scope.dk identifier 4423?

I need to find the movie in Wikidata that is listed as number 4423 on Scope.dk.

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


Question: What is Kelly Osbourne's date of birth and is she deceased?

SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q231182 wdt:P31 wd:Q5 . wd:Q231182 rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") OPTIONAL { wd:Q231182 wdt:P569 ?birthDate . } OPTIONAL { wd:Q231182 wdt:P570 ?deathDate . } }

When was Kelly Osbourne born, and what is her full name?

Can you provide the English name and birth date of Kelly Osbourne, along with her date of death if available?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q231182> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }