Question: Most frequently used properties linking items to Goa, with count > 1

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?property ?propertyLabel ?count WHERE {
  {
    SELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {
      ?item ?prop wd:Q1171 .
      ?property wikibase:directClaim ?prop .
    }
    GROUP BY ?property
    HAVING ( ?count > 1 )
  }
  OPTIONAL {
    ?property rdfs:label ?propertyLabel .
    FILTER ( LANG( ?propertyLabel ) = "en" )
  }
}
ORDER BY DESC ( ?count )

Which properties are used most often to associate entities with Goa, and how many times are they used?

Show me the properties that connect multiple items to Goa, ordered by how frequently they are used, along with their English labels and usage counts.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q1171> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl,en". } } ORDER BY DESC( ?var3 )


Question: Instances and subclasses of confectionery with English labels

SELECT DISTINCT ?item ?itemLabel WHERE {
  {
    ?item wdt:P31 wd:Q18646422 .
  } UNION {
    ?item wdt:P279 wd:Q18646422 .
  }
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en")
}

What are the items that are either instances of or subclasses of confectionery, and what are their English names?

List all confectionery types and their subtypes in English.

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


Question: French-labeled writers who died on December 12

SELECT DISTINCT ?person ?label ?deathDate WHERE { ?person wdt:P31 wd:Q5 ; (wdt:P106/wdt:P279*) wd:Q36180 ; wdt:P570 ?deathDate . BIND( xsd:date(?deathDate) AS ?deathDateOnly ) FILTER (MONTH(?deathDateOnly) = 12 && DAY(?deathDateOnly) = 12) . ?person rdfs:label ?label . FILTER (LANG(?label) = "fr") } ORDER BY DESC(?deathDate)

Who are the writers (including literary scholars) that died on December 12 and have a French label?

List all people who were writers and died on December 12, showing their French names and death dates, ordered from most recent to oldest.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q36180> ; <http://www.wikidata.org/prop/direct/P570> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . FILTER ( ( ( MONTH ( ?var2 ) = "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var2 ) = "12"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "fr" ) ) ) . } ORDER BY DESC( ?var3 ) DESC( ?var2 )


Question: What are the street identifier systems related to the Paris city digital code (P630)?

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

Which properties are linked to the Paris street code (P630) via 'related property', and what are their English labels and descriptions?

Show me the English labels and descriptions of properties that are related to the Paris street code (P630).

SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P630> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . }


Question: Who is Albert Einstein, and what are his birth date, birth name, native name, and occupation?

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 ?person ?personLabel ?birthName ?nativeName ?birthDate ?occupation ?occupationLabel WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" ) FILTER ( ?personLabel = "Albert Einstein" @en ) OPTIONAL {
    ?person wdt:P569 ?birthDate .
  }
  OPTIONAL {
    ?person wdt:P1477 ?birthName .
  }
  OPTIONAL {
    ?person wdt:P1559 ?nativeName .
  }
  OPTIONAL {
    ?person wdt:P106 ?occupation .
  }
  OPTIONAL {
    ?occupation rdfs:label ?occupationLabel .
  }
  FILTER ( LANG( ?occupationLabel ) = "en" )
}

Albert Einstein's birth date, birth name, native name, and occupation.

Please provide the date of birth, birth name, name in native language, and occupation of Albert Einstein.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1477> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var5 . } ?var1 ?var7Label "string1". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "es". } }


Question: What are the genres of the 1931 film Iron Man?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?genre WHERE {
  wd:Q1758603 wdt:P136 ?genre .
}

What film genres does the 1931 movie Iron Man belong to?

Can you tell me the artistic genres associated with the 1931 drama film Iron Man, directed by Tod Browning?

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q1758603> <http://www.wikidata.org/prop/direct/P136> ?var1 . } LIMIT 25


Question: List all films in Wikidata.

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

What are all the entities that are classified as films?

Show me all items that are instances of the category "film".

SELECT ?var1 WHERE { ?var1 <https://www.wikidata.org/wiki/Property:P31> <https://www.wikidata.org/wiki/Q11862829> . }


Question: List humans with "Georges" in their name, along with their English descriptions and images.

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 schema: <http://schema.org/>
SELECT ?person ?label ?image ?description WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person rdfs:label ?label .
  ?person schema:description ?description .
  FILTER(LANG(?label) = "en")
  FILTER(LANG(?description) = "en")
  FILTER(CONTAINS(?label , "Georges"))
  OPTIONAL {
    ?person wdt:P18 ?image .
  }
}
LIMIT 10

Who are the people named Georges (or containing "Georges") in Wikidata, and what are their professions and images?

Show me up to 10 English-language entries for humans whose names include "Georges", including their job descriptions and any associated images.

SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var4 . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . FILTER ( ( CONTAINS ( ?var2Label , "Georges" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 10


Question: Humans with 'John' in their name, their descriptions, and images.

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 schema: <http://schema.org/>
SELECT ?human ?humanLabel ?image ?description WHERE {
  ?human wdt:P31 wd:Q5 .
  ?human rdfs:label ?humanLabel .
  ?human schema:description ?description .
  FILTER(LANG(?humanLabel) = "en")
  FILTER(LANG(?description) = "en")
  FILTER(CONTAINS(LCASE(?humanLabel) , "john"))
  OPTIONAL {
    ?human wdt:P18 ?image .
  }
}
LIMIT 10

Who are some humans named John, what do they do, and do they have images on Wikidata?

List up to 10 English-labeled humans whose names contain 'John', along with their descriptions and any associated images.

SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var4 . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . FILTER ( ( CONTAINS ( ?var2Label , "eor" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 10


Question: Books written by Michel Bussi and their titles

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?work ?title WHERE {
  ?work wdt:P50 wd:Q3309133 .
  ?work wdt:P1476 ?title .
}

What are the titles of the works authored by Michel Bussi?

List all the works created by the French author Michel Bussi along with their published titles in any language.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q3309133> . ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 . }


Question: Image of Petro Poroshenko

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?image WHERE {
  wd:Q58077 wdt:P18 ?image .
}

What is the official portrait image of Petro Poroshenko?

Can you show me the Wikimedia Commons image file linked to Petro Poroshenko’s Wikidata entry?

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


Question: Software projects written in the Rust programming language

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 ?software ?softwareLabel WHERE {
  ?software wdt:P277 wd:Q575650 .
  ?software rdfs:label ?softwareLabel .
  FILTER ( LANG( ?softwareLabel ) = "en" )
}

Which software tools are implemented using Rust?

List the names of applications and tools that are programmed in Rust, along with their English labels.

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


Question: Rowing clubs in Spain without a Spanish description

PREFIX schema: <http://schema.org/>
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 ?club ?clubLabel WHERE {
  ?club wdt:P31 wd:Q7372078 ; wdt:P17 wd:Q29 .
  OPTIONAL {
    ?club schema:description ?desc .
    FILTER ( LANG( ?desc ) = "es" )
  }
  FILTER ( ! BOUND( ?desc ) ) .
  ?club rdfs:label ?clubLabel .
  FILTER ( LANG( ?clubLabel ) = "en" )
}

Which rowing clubs in Spain do not have a description in Spanish?

List the names of rowing clubs in Spain that lack a Spanish-language description.

SELECT ?var1 ?var2 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7372078> . ?var1 <http://www.wikidata.org/prop/direct/P1629> ?var2 . OPTIONAL { ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "es" ) ) ) . } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var4 . FILTER ( ( ( ?var4 != <http://www.wikidata.org/entity/Q13382576> ) ) ) . } ) ) . OPTIONAL { ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "es" ) ) ) . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q29> . }


Question: All properties and values for the concept of human in Wikidata, including English and Portuguese labels and non-literal identifiers.

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ?value WHERE {
  wd:Q5 ?property ?value .
  FILTER ( ! isLiteral( ?value ) || langMatches( lang( ?value ) , "en" ) || langMatches( lang( ?value ) , "pt" ) )
}
LIMIT 1000

What are all the properties and values associated with the human species (Q5) in Wikidata, especially those in English or Portuguese, or non-literal identifiers like IDs?

Show me all statements about humans (Q5) in Wikidata, including non-literal values like IDs and literal values in English or Portuguese.

SELECT * WHERE { { <http://www.wikidata.org/entity/Q5> ?var1 ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "" ) ) ) . } UNION { <http://www.wikidata.org/entity/Q5> ?var1 ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) || ( LANG ( ?var2 ) = "pt" ) ) ) . } } LIMIT 1000


Question: Swedish minor localities (småorter) with their area as of 2015 and their P776 codes.

SELECT ?code ?locality ?localityLabel ?area WHERE { ?locality p:P31 ?instance . ?instance ps:P31 wd:Q14839548 . OPTIONAL { ?instance pq:P582 ?endTime . } FILTER ( !BOUND(?endTime) ) . ?locality wdt:P776 ?code . ?locality p:P2046 ?areaStmt . ?areaStmt ps:P2046 ?area . ?areaStmt pq:P585 ?date . OPTIONAL { ?areaStmt pq:P518 ?part . } FILTER ( !BOUND(?part) ) . FILTER ( ?date = "2015-12-31T00:00:00Z"^^xsd:dateTime ) . ?locality rdfs:label ?localityLabel . FILTER ( LANG(?localityLabel) = "en" ) } ORDER BY ASC(?code)

What are the names, Swedish urban area codes, and areas of all current minor localities in Sweden as of December 31, 2015?

List all minor localities in Sweden that had their area recorded on December 31, 2015, along with their official P776 codes and English names.

SELECT ?var1 ?var2 ?var2Label ?var3 ?var4 ( MAX ( ?var5 ) AS ?var6 ) WHERE { ?var2 <http://www.wikidata.org/prop/P31> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q14839548> . OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var8 . } FILTER ( ( !( BOUND ( ?var8 ) ) ) ) . ?var2 <http://www.wikidata.org/prop/direct/P776> ?var1 . ?var2 <http://www.wikidata.org/prop/P2046> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/P2046> ?var4 . ?var9 <http://www.wikidata.org/prop/qualifier/P585> ?var5 . OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P518> ?var10 . } FILTER ( ( !( BOUND ( ?var10 ) ) ) ) . FILTER ( ( ( ?var5 = "2015-12-31T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "sv,en". } } GROUP BY ?var1 ?var2 ?var2Label ?var3 ?var4 ORDER BY ASC( ?var1 )


Question: Who are the people with the surname Gleiser?

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

List all individuals whose family name is Gleiser.

Which people have Gleiser as their last name?

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


Question: What are the Wikipedia categories for lists of people by occupation?

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

Which Commons categories are classified under the Wikidata category for lists of people by occupation?

Can you list all the Wikimedia categories that group people by their occupation?

SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/entity/Q4167836> ?var2 . } LIMIT 100


Question: People born in 1625 with Greek Wikipedia labels.

SELECT ?greekLabel ?birthDate WHERE { ?person wdt:P569 ?birthDate . ?person rdfs:label ?greekLabel . FILTER(LANG(?greekLabel) = "el") FILTER(?birthDate >= "1625-01-01T00:00:00Z"^^xsd:dateTime && ?birthDate <= "1625-12-31T23:59:59Z"^^xsd:dateTime) } ORDER BY ASC(?birthDate)

Who were the people born in 1625 whose names are written in Greek on Wikipedia?

List the names in Greek of all individuals born in the year 1625.

SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = "el" ) ) ) . } FILTER ( ( ( ?var2 >= "1625-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1625-12-31T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ?var1 ) ) . } ORDER BY ASC( ?var2 )


Question: Episodes of Tatort with their episode numbers

SELECT ?episode ?episodeLabel ?ordinal WHERE { ?episode wdt:P179 wd:Q689438 . ?episode wdt:P1545 ?ordinal . ?episode rdfs:label ?episodeLabel . FILTER(LANG(?episodeLabel) = "en") } ORDER BY ?ordinal LIMIT 2000

What are the episodes of the German TV series Tatort and their corresponding episode numbers?

List all episodes of Tatort in order of their series ordinal, along with their English titles.

SELECT ?var1 ?var1Label ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q689438> AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P179> [ <http://www.wikidata.org/prop/direct/P1545> ?var2 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,de,en". } } ORDER BY ASC( ?var2 ) LIMIT 2000


Question: List all episodes of the TV series Tatort with their titles.

SELECT ?episode ?episodeTitle WHERE { ?episode wdt:P179 wd:Q689438 . ?episode wdt:P1476 ?episodeTitle . }

What are the titles of all episodes in the Tatort television series?

Please provide the titles of every episode from the Tatort TV series.

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


Question: What are all the films and TV series in the "Tatort" franchise, including the main series?

SELECT DISTINCT ?item ?title WHERE {
  {
    wd:Q689438 wdt:P1476 ?title .
    BIND(wd:Q689438 AS ?item)
  }
  UNION
  {
    VALUES ?type { wd:Q11424 wd:Q506240 wd:Q5398426 }
    ?item wdt:P31 ?type .
    ?item wdt:P179 wd:Q689438 .
    ?item wdt:P1476 ?title .
  }
}
ORDER BY ?title
LIMIT 100

List all episodes and the main series of the German crime show "Tatort" along with their titles.

Show me the titles of all TV films and series that are part of the "Tatort" universe.

SELECT DISTINCT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q5398426> ) ( <http://www.wikidata.org/entity/Q11424> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 . } FILTER ( ( REGEX ( ?var4 , "Tatort", "i" ) ) ) . } LIMIT 100


Question: What English-language labels and descriptions are associated with Tim Berners-Lee?

SELECT ?property ?label WHERE { wd:Q80 ?property ?label . FILTER(LANG(?label) = "en") }

Can you list all the English names and descriptions for the inventor of the World Wide Web?

Show me all the English text labels for Tim Berners-Lee, including his name, description, and other labels.

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


Question: Who has the native name "Cas Anvar"?

SELECT DISTINCT ?item WHERE { ?item wdt:P1559 "Cas Anvar"@en . }

What person is known by the name "Cas Anvar" in their native language?

Find the Wikidata item for the person whose native name is Cas Anvar in English.

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


Question: What is the English label and description of the album "In Europe" by Miles Davis, and does it have an associated image?

SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q1264150 rdfs:label ?label . FILTER(LANG(?label) = "en") } OPTIONAL { wd:Q1264150 wdt:P18 ?image . } OPTIONAL { wd:Q1264150 schema:description ?description . FILTER(LANG(?description) = "en") } }

Show me the English name and summary of Miles Davis's album "In Europe", along with its cover image if available.

Can you provide the English title and description of the 1964 live album "In Europe" by Miles Davis, and any image linked to it on Wikimedia Commons?

SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q1264150> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q1264150> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q1264150> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } }


Question: What are the English names of engineering disciplines and technical fields classified under technical sciences?

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 DISTINCT ?label WHERE {
  ?item ( wdt:P31 / wdt:P279 * ) wd:Q12015335 .
  ?item rdfs:label ?label .
  FILTER ( LANGMATCHES( LANG( ?label ) , "en" ) )
}

Which technical fields and engineering branches are categorized under technical sciences in Wikidata?

List all English-labeled technical disciplines that are instances or subclasses of technical sciences.

SELECT DISTINCT ?var1Label WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q12015335> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , "en" ) ) ) . }


Question: List up to 100 mathematicians and their images from Wikidata.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?person ?image WHERE {
  ?person wdt:P106 wd:Q170790 .
  OPTIONAL {
    ?person wdt:P18 ?image .
  }
}
LIMIT 100

Who are some mathematicians, and do they have images on Wikimedia Commons?

Show me a list of mathematicians along with their available images, up to 100 results.

SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q170790> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "sv". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100


Question: What countries, continents, and administrative regions is the building at 29 Martin Lane located in?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?location WHERE {
  wd:Q26317782 ( wdt:P30 | wdt:P17 | wdt:P131 ) * ?location .
}
LIMIT 100

Show the geographic hierarchy from 29 Martin Lane up to the continent level.

Which administrative and geographic entities include the building 29 Martin Lane in London?

SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q26317782> 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: Who are the people educated at the University of Edinburgh?

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 ?person ?personLabel WHERE {
  ?person wdt:P69 wd:Q160302 .
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}

List the names of all alumni of the University of Edinburgh.

Which individuals have the University of Edinburgh as their alma mater?

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


Question: Paintings in the Royal Collection with RKDimages IDs but no location and not privately owned.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?painting WHERE {
  ?painting wdt:P31 wd:Q3305213 .
  ?painting wdt:P350 [] .
  ?painting wdt:P195 wd:Q1459037 . MINUS {
    ?painting wdt:P195 wd:Q768717 .
  } MINUS {
    ?painting wdt:P276 [] .
  }
}

Which paintings from the British Royal Collection are documented in the RKDimages database, are not in a private collection, and have no specified physical location?

List all paintings belonging to the Royal Collection that have an RKDimages ID, are not privately owned, and are not assigned to a specific location.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P350> [] . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q768717> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P276> [] . } ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q1459037> . }


Question: Songs with "billie" in the title

SELECT ?song ?songLabel WHERE { ?song wdt:P31 wd:Q7366 . ?song rdfs:label ?songLabel . FILTER(LANG(?songLabel) = "en") FILTER(CONTAINS(LCASE(?songLabel), "billie")) } LIMIT 10

What are some songs titled with "billie" in English?

List English songs whose names contain the word "billie".

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q193319> . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , "billie"@en ) ) ) . } LIMIT 10


Question: Songs with "billie" in the title

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 DISTINCT ?song ?songLabel WHERE {
  ?song rdfs:label ?songLabel .
  ?song wdt:P31 wd:Q7366 .
  FILTER ( CONTAINS( LCASE( ?songLabel ) , "billie" ) )
}
LIMIT 10

What are the songs titled "Billie" or containing "billie" in their name?

List all songs (as instances of musical work) that have "billie" in any language version of their title.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7366> . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , "billie"@en ) ) ) . } LIMIT 10


Question: What protein is encoded by the gene with NCBI locus tag "lmo0005" in Listeria monocytogenes?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?gene ?protein WHERE {
  ?gene wdt:P2393 "lmo0005" ; wdt:P703 ?taxon ; wdt:P688 ?protein .
  ?taxon wdt:P685 "169963" .
}

For the gene lmo0005 found in Listeria monocytogenes, which protein does it encode?

Show me the protein encoded by the gene lmo0005 in Listeria monocytogenes.

SELECT DISTINCT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P685> "169963". ?var1 <http://www.wikidata.org/prop/direct/P2393> "lmo0005"; <http://www.wikidata.org/prop/direct/P703> ?var3 ; <http://www.wikidata.org/prop/direct/P688> ?var2 . }


Question: Which film has the EDb ID t0011658?

SELECT ?film WHERE { ?film wdt:P3141 "t0011658" . }

What is the name of the movie identified by the EDb film ID t0011658?

I need to find the Wikidata entry for the film with EDb ID t0011658 — can you tell me which film that is?

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


Question: French-language Wikipedia chronicle articles about politics by year

SELECT ?event ?label WHERE { ?event wdt:P31 wd:Q18340514 ; rdfs:label ?label . FILTER (LANG(?label) = "fr") FILTER (REGEX(?label, "en politique")) }

What are the French-language articles on Wikipedia that list political events for specific years?

List all French-labeled yearly political event articles from Wikidata.

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


Question: What are the Czech names of districts in Austria, and which municipalities belong to them?

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 ?var3 ?var1 ?var1Label(SUBSTR(?var1Label , 7) AS ?districtName) WHERE {
  ?var3 wdt:P31 wd:Q667509 .
  ?var3 wdt:P17 wd:Q40 .
  ?var3 wdt:P131 ?var1 .
  ?var1 wdt:P31 wd:Q871419 .
  ?var1 rdfs:label ?var1Label .
  FILTER(LANG(?var1Label) = "cs")
}
LIMIT 20000

List Austrian municipalities along with the names of their districts in Czech.

In Czech, what are the district names for municipalities in Austria?

SELECT * WHERE { BIND ( SUBSTR ( ?var1Label ,"2"^^<http://www.w3.org/2001/XMLSchema#integer> ,"3"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var2 ). ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q667509> . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q40> . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q871419> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "cs" ) ) ) . } LIMIT 20000


Question: Battles with their locations, coordinates, start and end times, and associated wars.

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 ?battle ?battleLabel ?partOf ?partOfLabel ?battleCoords ?location ?locationLabel ?locationCoords ?startTime ?endTime WHERE {
  ?battle wdt:P31 wd:Q178561 .
  ?battle rdfs:label ?battleLabel .
  FILTER(LANG(?battleLabel) = "en")
  OPTIONAL {
    ?battle wdt:P361 ?partOf .
    ?partOf rdfs:label ?partOfLabel .
    FILTER(LANG(?partOfLabel) = "en")
  }
  OPTIONAL {
    ?battle wdt:P625 ?battleCoords .
  }
  OPTIONAL {
    ?battle wdt:P276 ?location .
    ?location rdfs:label ?locationLabel .
    FILTER(LANG(?locationLabel) = "en")
    ?location wdt:P625 ?locationCoords .
  }
  OPTIONAL {
    {
      ?battle wdt:P580 ?startTime
    } UNION {
      ?battle wdt:P585 ?startTime
    }
  }
  OPTIONAL {
    {
      ?battle wdt:P582 ?endTime
    } UNION {
      ?battle wdt:P585 ?endTime
    }
  }
}
LIMIT 500

What are the battles, their locations, coordinates, and time periods, along with the wars they were part of?

List up to 500 battles, including their English names, geographic coordinates, locations (with coordinates), start and end dates, and the larger conflicts they belonged to.

SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label ?var5 ?var6 ?var7 ?var8 ?var9 ?var9Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q178561> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = "en" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P361> ?var9 . ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var9Label . FILTER ( ( ( LANG ( ?var9Label ) = "en" ) ) ) . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var6 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P276> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var5 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "en" ) ) ) . } { ?var2 <http://www.wikidata.org/prop/direct/P585> ?var7 . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P580> ?var7 . } { ?var2 <http://www.wikidata.org/prop/direct/P582> ?var8 . } UNION { ?var2 <http://www.wikidata.org/prop/direct/P585> ?var8 . } } LIMIT 500


Question: What are the Swedish settlements that currently have both a minor locality (småort) and an urban area (tätort) classification, along with their codes and 2015 population?

SELECT ?settlement ?småortCode ?småortStart ?tätortCode ?tätortStart ?population ?population WHERE { ?settlement p:P31 ?småortStmt . ?småortStmt ps:P31 wd:Q14839548 . OPTIONAL { ?småortStmt pq:P580 ?småortStart . } OPTIONAL { ?småortStmt pq:P582 ?småortEnd . } FILTER ( !BOUND(?småortEnd) ) ?settlement p:P31 ?tätortStmt . ?tätortStmt ps:P31 wd:Q12813115 . OPTIONAL { ?tätortStmt pq:P580 ?tätortStart . } OPTIONAL { ?tätortStmt pq:P582 ?tätortEnd . } FILTER ( !BOUND(?tätortEnd) ) ?settlement wdt:P776 ?småortCode . ?settlement wdt:P775 ?tätortCode . ?settlement p:P1082 ?popStmt . ?popStmt ps:P1082 ?population . ?popStmt pq:P585 "2015-12-31T00:00:00Z"^^xsd:dateTime . OPTIONAL { ?popStmt pq:P518 ?part . } FILTER ( !BOUND(?part) ) } ORDER BY ASC(?settlement)

List all Swedish places that are simultaneously recognized as småort and tätort with their respective Swedish codes and population figures from 2015.

Show me the population of Swedish settlements in 2015 that have both a småort and a tätort code, including the start dates of these classifications.

SELECT ?var1 ?var1Label ?var2 ( ?var3 AS ?var4 ) ?var5 ( ?var6 AS ?var7 )( ?var8 AS ?var9 )( ?var10 AS ?var11 ) WHERE { OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P776> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P775> ?var5 . } ?var1 <http://www.wikidata.org/prop/P31> ?var12 . ?var12 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q14839548> . OPTIONAL { ?var12 <http://www.wikidata.org/prop/qualifier/P582> ?var13 . } OPTIONAL { ?var12 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } FILTER ( ( !( BOUND ( ?var13 ) ) ) ) . ?var1 <http://www.wikidata.org/prop/P31> ?var14 . ?var14 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q12813115> . OPTIONAL { ?var14 <http://www.wikidata.org/prop/qualifier/P582> ?var15 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/qualifier/P580> ?var6 . } FILTER ( ( !( BOUND ( ?var15 ) ) ) ) . ?var1 <http://www.wikidata.org/prop/P1082> ?var16 . ?var16 <http://www.wikidata.org/prop/statement/P1082> ?var8 . ?var16 <http://www.wikidata.org/prop/qualifier/P585> ?var17 . OPTIONAL { ?var16 <http://www.wikidata.org/prop/qualifier/P518> ?var18 . } FILTER ( ( !( BOUND ( ?var18 ) ) ) ) . FILTER ( ( ( ?var17 = "2015-12-31T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "sv,en". } } ORDER BY ASC( ?var1Label )


Question: What are the main topics or aspects related to carbon?

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?facet ?statement(SAMPLE(?qualifier) AS ?qualifierProperty) WHERE {
  ?statement ps:P1269 wd:Q623 .
  ?facet p:P1269 ?statement .
  OPTIONAL {
    ?statement ?qualifier ?value .
    wd:P1269 wdt:P1687 ?qualifier .
  }
}
GROUP BY ?facet ?statement
LIMIT 101

Can you list concepts that are considered facets of carbon, and if any, what additional details (qualifiers) are associated with those relationships?

Which entities are described as aspects of carbon in Wikidata, and what qualifier properties might be attached to those relationships?

SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P1269> <http://www.wikidata.org/entity/Q623> . ?var1 <http://www.wikidata.org/prop/P1269> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2


Question: Image of Joshua Reed Giddings from SNAC ARK ID w6t72g1p

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

What is the Wikimedia Commons image associated with the SNAC ARK ID w6t72g1p?

Show me the picture of the person whose SNAC ARK ID is w6t72g1p.

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


Question: Is the Wikimedia category "Kategori:Strumbo Range" considered a type of software?

Does the entity Q26975524 belong to a category that is a subclass of software?

Is software a superclass of the category Q26975524 through its type and inheritance chain?

ASK WHERE { <http://www.wikidata.org/entity/Q26975524> ( <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 Russiancinema.ru ID 5757?

SELECT ?film WHERE { ?film wdt:P2678 "5757" . }

Which movie is identified by the ID 5757 on Russiancinema.ru?

Can you tell me the title of the film with the Russiancinema.ru identifier 5757?

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


Question: Zoos in the Czech Republic with images

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 ?zoo ?zooLabel ?image WHERE {
  ?zoo wdt:P17 wd:Q213 .
  ?zoo wdt:P31 wd:Q43501 .
  ?zoo rdfs:label ?zooLabel .
  FILTER(LANG(?zooLabel) = 'en')
  OPTIONAL {
    ?zoo wdt:P18 ?image .
  }
}
LIMIT 100

What are the zoos in the Czech Republic, and do they have images on Wikimedia Commons?

Show me a list of zoos in the Czech Republic along with their images.

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


Question: Czech label for the type of Q29320940

SELECT ?instanceType ?label WHERE { wd:Q29320940 wdt:P31 ?instanceType . ?instanceType rdfs:label ?label . FILTER (LANG(?label) = "cs") } LIMIT 50

What is the Czech word for the category that Q29320940 belongs to?

Show me the Czech label of the class that Q29320940 is an instance of.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q29320940> <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "cs" ) ) ) . } LIMIT 50


Question: Is the Italian commune Artegna a human?

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

Does Artegna belong to the category of humans or any of their broader categories?

Is Artegna classified as a person or any type of living being that humans belong to?

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


Question: Is New Orleans a human?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  wd:Q34404 wdt:P31 / wdt:P279 * wd:Q5 .
}

Does New Orleans belong to any class that is a subclass of human?

What type of entity is New Orleans, and is it classified as a human?

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


Question: Is Albert Einstein a human?

ASK WHERE { wd:Q937 (wdt:P31/wdt:P279*) wd:Q5 . }

Does Albert Einstein belong to the category of human beings?

Is Albert Einstein classified as a human, either directly or through inheritance?

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


Question: Is Meiji no Mori Minō Quasi-National Park a type of software?

Does Meiji no Mori Minō Quasi-National Park belong to any subclass hierarchy that leads to software?

Can Meiji no Mori Minō Quasi-National Park be categorized as software based on its type hierarchy?

ASK WHERE { <http://www.wikidata.org/entity/Q1070991> ( <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 image of the person with SNAC ARK ID w6931vqs?

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

Can you find the Wikimedia Commons image for Louis-Marcelin de Fontanes using his SNAC ARK ID?

Show me the image associated with the SNAC ARK ID w6931vqs.

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


Question: Publication years and titles (first 20 characters) of works by Douglas Kell.

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 ?year ?title WHERE {
  ?work wdt:P50 wd:Q5301676 ; wdt:P577 ?date ; rdfs:label ?label .
  FILTER(LANG(?label) = "en")
  BIND(YEAR(?date) AS ?year)
  BIND(SUBSTR(?label , 1 , 20) AS ?title)
}
ORDER BY ?year

What are the publication years and shortened titles of books and papers written by biochemist Douglas Kell?

List the years and first 20 characters of the English titles of all works authored by Douglas Kell, sorted by year.

SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( "0"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( "_" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q5301676> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"20"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q5301676> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = "en" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }


Question: What is the English label for the radio program "Le Jeu des 1000 euros"?

SELECT ?programLabel WHERE { wd:Q3223602 rdfs:label ?programLabel FILTER(LANG(?programLabel) = 'en') }

Can you tell me the name of the radio show "Le Jeu des 1000 euros" in English?

What is the English name of the radio program with Wikidata ID Q3223602?

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


Question: List entities with both a Wikimedia Commons image and geographic coordinates, along with their English names and image URLs.

SELECT ?item ?itemLabel ?coordinates ?image WHERE { ?item wdt:P18 ?image ; wdt:P625 ?coordinates . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } LIMIT 1000

Which places on Wikidata have both a map or photo and known geographic coordinates, and what are their names and image links?

Show me up to 1000 items that have an image on Wikimedia Commons and a geographic location, including their English labels and image links.

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


Question: Image of Elmer Ernest Southard (SNAC ARK ID: w6wd48rq)

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

What is the Wikimedia Commons image associated with the SNAC ARK ID w6wd48rq?

Show me the picture of the person with SNAC ARK ID w6wd48rq.

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


Question: People who are homosexual and have brown eyes.

SELECT ?person ?personLabel WHERE { ?person wdt:P91 wd:Q6636 . ?person wdt:P1340 wd:Q17122705 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }

Who are the people with brown eyes and a homosexual sexual orientation?

List all individuals with brown eyes who identify as homosexual.

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


Question: Who has red hair and invented the Sinclair Executive?

SELECT ?person ?hairColor ?invention WHERE { ?person wdt:P1884 ?hairColor . ?person wdt:P61 ?invention . }

Which person is known for having red hair and inventing the Sinclair Executive?

Find people whose hair color is red and who invented the Sinclair Executive.

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


Question: What are the most common given names among members of the Irish Dáil Éireann?

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 DISTINCT ?var1Label ( COUNT( ?var1 ) AS ?var2 ) WHERE {
  ?var3 wdt:P39 wd:Q654291 .
  ?var3 wdt:P735 ?var1 .
  ?var1 rdfs:label ?var1Label .
  FILTER ( LANG( ?var1Label ) = "en" )
}
GROUP BY ?var1Label
ORDER BY DESC ( ?var2 )

Which first names appear most frequently among people who have served as Teachta Dála, and how many times does each appear?

Can you list the top given names of Irish TDs, ordered by popularity?

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


Question: List all chemical authority control properties in Wikidata with their English labels in ['Pxxxxx']= 'label', format.

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(CONCAT("['" , STRAFTER(STR(?prop) , "/entity/") , "']= '" , ?label , "',") AS ?formatted) WHERE {
  ?prop wdt:P31 wd:Q19833835 .
  ?prop rdfs:label ?label .
  FILTER(LANG(?label) = "en")
  .
  ?prop wdt:P31 ?class .
  ?class wdt:P279 * wd:Q21294996 .
}

Which Wikidata properties are used for chemical authority control and belong to a class related to chemistry, and what are their English labels?

Please provide a formatted list of all Wikidata properties that identify chemicals (instances of Q19833835) and whose type is a subclass of chemical-related properties, showing their property IDs and English labels in the format ['Pxxxxx']= 'label',.

SELECT DISTINCT( CONCAT ( "['", STRAFTER ( STR ( ?var1 ) , "/entity/" ) , "']= '", ?var2 , "'," ) AS ?var3 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q21294996> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19833835> . }


Question: Is human an instance of a class that is a subclass of software?

ASK WHERE { wd:Q5 (wdt:P31 / wdt:P279*) wd:Q7397 . }

Can a human be classified as a type of software through hierarchical classification?

Check whether the category that humans belong to is a subclass of software.

ASK WHERE { <http://www.wikidata.org/entity/Q551> ( <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 English title of the film with IMDb ID tt6200274?

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

Which film has the IMDb identifier tt6200274, and what is its English title?

Show me the English name of the movie identified by tt6200274 on IMDb.

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


Question: Wikidata item for Twitter username Remy_WMFr

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username WHERE {
  ?item wdt:P2002 ?username .
  VALUES ?username {
    "Remy_WMFr"
  }
}

Find the Wikidata entity linked to the Twitter handle Remy_WMFr.

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


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

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

Which movie has the IMDb identifier tt5003186, and what is its English title?

Find the English label for the film identified by the IMDb ID tt5003186.

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


Question: Is Franz Karl Hess a type of software?

Could Franz Karl Hess be categorized under software or any of its broader categories?

Does the classification of Franz Karl Hess include software as a category?

ASK WHERE { <http://www.wikidata.org/entity/Q6543664> ( <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 ORCID URL for the author of the academic article "New Avenues for the Investigation of Currently Occupied ... Observations from the Higher Education Field Academy"?

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 ?author ?authorLabel(COALESCE(CONCAT("https://orcid.org/" , ?orcid) , CONCAT("https://orcid.org/" , ENCODE_FOR_URI(?authorLabel))) AS ?orcidUrl) WHERE {
  wd:Q44422785 wdt:P50 ?author .
  OPTIONAL {
    ?author wdt:P496 ?orcid .
  }
  ?author rdfs:label ?authorLabel .
  FILTER(LANG(?authorLabel) = "en")
}

Can you provide a link to the ORCID profile of the author of this scholarly article, or construct one from their name if the ORCID is not available?

Show the ORCID profile link for the author of the article Q44422785, using their ORCID identifier if known, or their name otherwise.

SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( "string1", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q44422785> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh". } }


Question: Is the onion genus (Allium) a type of software?

Does the genus Allium belong to the category of software?

Is software a classification that includes onions?

ASK WHERE { <http://www.wikidata.org/entity/Q49391> ( <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: Is Joaquin Antonio Consuelos classified as software or any category above software?

Does Joaquin Antonio Consuelos belong to the class of software or any of its superclasses?

Confirm whether Joaquin Antonio Consuelos is an instance of software or any of its broader categories.

ASK WHERE { <http://www.wikidata.org/entity/Q43374381> ( <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 infobox template on the Russian Wikipedia is used for operating systems?

PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?template WHERE {
  ?template wdt:P31 wd:Q19887878 .
  ?template wdt:P1423 wd:Q9135 .
  ?wikipediaPage schema:about ?template ; schema:isPartOf <https://ru.wikipedia.org/> .
}
LIMIT 1

Which Wikipedia template is used to display information about operating systems like Nokia Series 40 in Russian?

Can you find the Russian Wikipedia infobox template that has 'operating system' as its main topic?

SELECT DISTINCT ?var1 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ( COUNT ( ?var5 ) AS ?var6 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ( COUNT ( ?var7 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19887878> . ?var1 <http://www.wikidata.org/prop/direct/P1423> ?var2 . <http://www.wikidata.org/entity/Q1995656> ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P106> ) ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P279> * ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P279> * ?var2 . } GROUP BY ?var1 ?var2 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P279> * ?var3 . } } GROUP BY ?var1 ?var2 ?var3 ?var4 } FILTER ( ( EXISTS { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . } ) ) . } ORDER BY ASC( ?var4 ) DESC( ?var6 ) LIMIT 1


Question: Is SIMH a type of software?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK {
  wd:Q2004809 wdt:P31 ?type .
  ?type wdt:P279 * wd:Q7397 .
}

Does SIMH belong to a category that is a subclass of software?

Is SIMH classified as an instance of something that falls under the category of software?

ASK WHERE { <http://www.wikidata.org/entity/Q2004809> ( <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 historical events began between 1490 and 1500 and ended between 1500 and 1510?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT ?item WHERE {
  ?item wdt:P580 ?start .
  ?item wdt:P582 ?end .
  FILTER(?start >= "1490-01-01T00:00:00Z" ^^ xsd:dateTime && ?start <= "1500-12-31T23:59:59Z" ^^ xsd:dateTime)
  FILTER(?end >= "1500-01-01T00:00:00Z" ^^ xsd:dateTime && ?end <= "1510-12-31T23:59:59Z" ^^ xsd:dateTime)
}

Show me entities that started in the late 15th century and concluded in the early 16th century.

List events with a start date from 1490 to 1500 and an end date from 1500 to 1510.

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


Question: Shen Congwen's date of birth and date of death

SELECT ?personLabel ?birthDate ?deathDate WHERE { BIND( wd:Q559264 AS ?person ) . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }

When were Shen Congwen born and when did he die?

Can you tell me the birth and death dates of the Chinese writer Shen Congwen?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q559264> 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". } }


Question: What are the birth and death dates of Bruce Ingram?

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 ?label ?birthDate ?deathDate WHERE {
  wd:Q16863912 rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" ) .
  OPTIONAL {
    wd:Q16863912 wdt:P569 ?birthDate .
  }
  OPTIONAL {
    wd:Q16863912 wdt:P570 ?deathDate .
  }
}

What is the English label, birth date, and death date of the person with Wikidata ID Q16863912?

Can you tell me when Bruce Ingram was born and when he died?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q16863912> 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". } }


Question: What are the birth and death dates of Matthew W. Hill?

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 ?personLabel ?birthDate ?deathDate WHERE {
  wd:Q29966487 rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
  OPTIONAL {
    wd:Q29966487 wdt:P569 ?birthDate .
  }
  OPTIONAL {
    wd:Q29966487 wdt:P570 ?deathDate .
  }
}

Can you tell me when Matthew W. Hill was born and when he died?

Show me the full name, date of birth, and date of death for the American judge Matthew W. Hill.

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q29966487> 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". } }


Question: People born in Le Grand-Quevilly with their birth and death 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 ?personLabel ?birthDate ?deathDate WHERE {
  ?person wdt:P19 wd:Q655572 ; wdt:P31 wd:Q5 .
  ?person rdfs:label ?personLabel
  FILTER(LANG(?personLabel) = "en")
  .
  OPTIONAL {
    ?person wdt:P569 ?birthDate .
  }
  OPTIONAL {
    ?person wdt:P570 ?deathDate .
  }
}

Who were the people born in Le Grand-Quevilly, and when were they born and died?

List the names, birth dates, and death dates of all humans born in Le Grand-Quevilly.

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q655572> 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". } }


Question: What are the birth and death dates of Philip Hickey Morgan?

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 ?label ?birthDate ?deathDate WHERE {
  wd:Q7183669 rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" ) OPTIONAL {
    wd:Q7183669 wdt:P569 ?birthDate .
  }
  OPTIONAL {
    wd:Q7183669 wdt:P570 ?deathDate .
  }
}

Who is Philip Hickey Morgan, and when was he born and died?

Can you provide the English label, date of birth, and date of death for the American diplomat Philip Hickey Morgan?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q7183669> 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". } }


Question: What are the birth and death dates of the biblical Jacob?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?birth ?death WHERE {
  wd:Q289957 wdt:P569 ?birth .
  wd:Q289957 wdt:P570 ?death .
}

When was Jacob, the biblical patriarch, born and when did he die?

Can you provide the birth and death years of Jacob from the Bible?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q1878995> 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". } }


Question: Who was the person who held the Kaye baronetcy, and when were they born and died?

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

Birth and death dates of the holder of the Kaye baronetcy

Tell me the name, birth date, and death date of the individual who was the Kaye baronet.

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q17142861> 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". } }


Question: What are the birth and death dates of the French poet Alfred de Vigny?

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

When was Alfred de Vigny born and when did he die?

Provide the full name, birth date, and death date of Alfred de Vigny.

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q245138> 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". } }


Question: What are the birth and death dates of Maddie Blaustein?

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 ?personLabel ?birthDate ?deathDate WHERE {
  BIND(wd:Q2555359 AS ?person)
  ?person wdt:P31 wd:Q5 .
  OPTIONAL {
    ?person wdt:P569 ?birthDate .
  }
  OPTIONAL {
    ?person wdt:P570 ?deathDate .
  }
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}

Can you tell me when Maddie Blaustein was born and when she died?

Show me the life span (birth and death dates) of the American voice actress Maddie Blaustein.

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q2555359> 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". } }


Question: What qualifier properties are most frequently used on Czech street ID statements, and how often are they used?

SELECT ?qualifier ?qualifierLabel ?count WHERE { { SELECT ?qualifier (COUNT(DISTINCT ?statement) AS ?count) WHERE { ?item p:P4533 ?statement . ?statement ps:P4533 ?value . ?statement ?qualifier ?qualifierValue . FILTER(STRSTARTS(STR(?qualifier), "http://www.wikidata.org/prop/qualifier/P")) } GROUP BY ?qualifier ORDER BY DESC(?count) } OPTIONAL { ?qualifier rdfs:label ?qualifierLabel . FILTER(LANG(?qualifierLabel) = "fr") } } ORDER BY DESC(?count) ASC(?qualifierLabel)

Which properties are used as qualifiers on statements of Czech street IDs, and how many times does each appear?

List the qualifier properties used with Czech street IDs (P4533), sorted by usage frequency, and include their French labels if available.

SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". ?var3 <http://www.wikidata.org/prop/P4533> ?var4 . ?var4 ?var5 ?var6 . ?var1 <http://wikiba.se/ontology#qualifier> ?var5 . } GROUP BY ?var1 } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "fr" ) ) ) . } } ORDER BY DESC( ?var2 )ASC( ?var1Label )


Question: Image of the person with SNAC ARK ID w65b0vvc

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

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

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

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


Question: How many cast members are in each television series?

SELECT ?series (COUNT(?castMember) AS ?castCount) WHERE { ?series wdt:P31 wd:Q5398426 . ?series wdt:P161 ?castMember . } GROUP BY ?series

Television series and their number of cast members

List all television series along with how many actors or actresses appeared in each one.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> . ?var1 <http://www.wikidata.org/prop/direct/P161> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } GROUP BY ?var1


Question: People with native French name starting with Arnaud

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?item WHERE {
  ?item wdt:P1559 ?name .
  FILTER(LANG(?name) = "fr")
  FILTER(STRSTARTS(STR(?name) , "Arnaud"))
}

Who are the people whose native name in French starts with 'Arnaud'?

List all individuals whose native name in French begins with 'Arnaud'.

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


Question: Italian airline with IATA code, ICAO code, and image

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 ?airline ?label ?iata ?icao ?image WHERE {
  ?airline wdt:P31 wd:Q46970 ; wdt:P17 wd:Q38 ; wdt:P229 ?iata ; wdt:P230 ?icao ; wdt:P18 ?image .
  ?airline rdfs:label ?label .
}
LIMIT 1

What is an airline based in Italy, and what are its IATA and ICAO codes and an associated image?

Show me an airline operating in Italy, including its IATA and ICAO codes and a photo of its aircraft.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "it,en". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q46970> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> ; <http://www.wikidata.org/prop/direct/P229> ?var3 ; <http://www.wikidata.org/prop/direct/P230> ?var4 ; <http://www.wikidata.org/prop/direct/P18> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P230> ?var4 . } } LIMIT 1


Question: What sets include the set of positive integers, and what are their immediate supersets?

SELECT ?superset ?supersetLabel ?immediateSuperset WHERE { ?superset wdt:P361* wd:Q47339953 . OPTIONAL { ?superset wdt:P361 ?immediateSuperset . } ?superset rdfs:label ?supersetLabel . FILTER(LANG(?supersetLabel) = "en") }

Which mathematical sets contain the positive integers, and what larger sets are they part of?

Show me all sets that have the positive integers as a subset, along with their direct supersets.

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


Question: 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 .
  }
}

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

Show me the picture of the entity identified by the SNAC ARK ID w6f29nwg.

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


Question: People with the surname Kadlec.

SELECT ?person ?personLabel WHERE { ?person wdt:P734 wd:Q21452152 ; wdt:P31 wd:Q5 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }

Who are the people whose last name is Kadlec?

List the English names of all humans who have the family name Kadlec.

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


Question: What are the top software items with the most French Wikipedia articles?

SELECT ?software ?label (COUNT(?article) AS ?articleCount) WHERE { ?software wdt:P31 ?class . ?class wdt:P279* wd:Q40056 . OPTIONAL { ?article schema:about ?software . ?article schema:isPartOf <https://fr.wikipedia.org/> . } OPTIONAL { ?software rdfs:label ?label . FILTER(LANG(?label) = "fr") } } GROUP BY ?software ?label ORDER BY DESC(?articleCount) LIMIT 100

Can you list software programs in French with the number of French Wikipedia pages dedicated to each?

Which computer programs have the highest number of French-language Wikipedia entries, and what are their French names?

SELECT ?var1 ?var2Label ( COUNT ( DISTINCT ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/P31> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P31> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q7397> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "fr" ) ) ) . } OPTIONAL { ?var3 <http://schema.org/about> ?var1 . } } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )


Question: Female CEOs with images and Dutch Wikipedia pages.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?var1(SAMPLE(?var1Label) AS ?label)(SAMPLE(?var3) AS ?image) ?var4 WHERE {
  ?var1 wdt:P21 wd:Q6581072 .
  ?var1 wdt:P39 wd:Q484876 .
  ?var1 rdfs:label ?var1Label .
  OPTIONAL {
    ?var1 wdt:P18 ?var3 .
  }
  OPTIONAL {
    ?var4 schema:about ?var1 .
    ?var4 schema:isPartOf <https://nl.wikipedia.org/> .
  }
}
GROUP BY ?var1 ?var4

Who are the female chief executive officers, and do they have an image on Wikimedia Commons or a page on the Dutch Wikipedia?

List all female chief executive officers along with their photos (if available) and their Dutch Wikipedia links.

SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q484876> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://nl.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs". } } GROUP BY ?var1 ?var1Label ?var2 ?var4


Question: What are the Slovenian labels and descriptions of properties related to the image property on Wikidata?

SELECT ?relatedProperty ?label ?description WHERE { wd:P18 wdt:P1659 ?relatedProperty . ?relatedProperty rdfs:label ?label . ?relatedProperty schema:description ?description . FILTER (LANG(?label) = "sl") . FILTER (LANG(?description) = "sl") . }

In Slovenian, what are the names and descriptions of image-related properties such as coat of arms or logo?

Which properties in Slovenian are considered related to uploading an image, and what do they mean?

SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P18> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "sl" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "sl" ) ) ) . }


Question: Humans with names starting with "M" and their relatives.

SELECT ?human ?humanLabel ?relative ?relativeLabel WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P1038 ?relative . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = "en") . FILTER(STRSTARTS(?humanLabel, "M")) . ?relative rdfs:label ?relativeLabel . FILTER(LANG(?relativeLabel) = "en") . } LIMIT 10

Who are the humans named starting with "M" and what are the names of their relatives?

List all English-named humans whose names begin with "M" and identify their relatives by name.

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1038> ?var2 . } FILTER ( ( STRSTARTS ( ?var3Label , "M" ) ) ) . } LIMIT 1000


Question: What are the Chinese titles of all films in Wikidata?

SELECT ?film ?filmLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film rdfs:label ?filmLabel . FILTER (LANG(?filmLabel) = "zh") }

Can you list films along with their Chinese-language names?

Which movies have Chinese labels in Wikidata, and what are those labels?

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


Question: Scholarly articles about suicide involving DNA.

SELECT ?article ?title WHERE { ?article wdt:P31 wd:Q13442814 ; wdt:P921 wd:Q10737 ; rdfs:label ?title . FILTER (CONTAINS(LCASE(?title), "dna")) FILTER (LANG(?title) = "en") }

What academic papers discuss suicide and DNA in their titles?

Show me English-language research articles where the main subject is suicide and the title contains the word "DNA".

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


Question: What are the English and French labels, image, and Wikipedia article for Chriss Rune Olsen Angvik?

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?label ?image ?wikipediaArticle ?youtubeId ?githubUsername ?twitterUsername ?facebookUsername ?instagramUsername ?website ?orcid WHERE {
  wd:Q19872356 rdfs:label ?label .
  VALUES(?lang ?priority) {("en" 1)("de" 2)("fr" 3)("it" 4)
  }
  FILTER(LANG(?label) = ?lang)
  OPTIONAL {
    wd:Q19872356 wdt:P18 ?image .
  }
  OPTIONAL {
    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q19872356 ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> .
  }
  OPTIONAL {
    wd:Q19872356 wdt:P1651 ?youtubeId .
  }
  OPTIONAL {
    wd:Q19872356 wdt:P2037 ?githubUsername .
  }
  OPTIONAL {
    wd:Q19872356 wdt:P2002 ?twitterUsername .
  }
  OPTIONAL {
    wd:Q19872356 wdt:P2013 ?facebookUsername .
  }
  OPTIONAL {
    wd:Q19872356 wdt:P2003 ?instagramUsername .
  }
  OPTIONAL {
    wd:Q19872356 wdt:P856 ?website .
  }
  OPTIONAL {
    wd:Q19872356 wdt:P496 ?orcid .
  }
}
ORDER BY ?priority

Can you show me the labels in English and French for the musician Chriss Rune Olsen Angvik, along with his image and English Wikipedia page?

Please provide the preferred language labels (English first, then French), the image from Wikimedia Commons, and the English Wikipedia link for Chriss Rune Olsen Angvik.

SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q19872356> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var12 ) ) ) . VALUES ( ?var12 ?var13 ) { ( "en""1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "en""2"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "de""3"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "fr""4"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "it""5"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q19872356> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q19872356> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q19872356> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q19872356> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q19872356> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q19872356> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q19872356> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q19872356> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q19872356> <http://www.wikidata.org/prop/direct/P496> ?var11 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q19872356> ; <http://schema.org/inLanguage> "en"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )


Question: English label of Pairwise comparison

SELECT ?label WHERE { wd:Q1435712 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), "en")) }

What is the English name of the concept "Pairwise comparison"?

Can you tell me the English label for the entity representing pairwise comparison?

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


Question: List airports and stations with scheduled service destinations, including their qualifier properties (like time period or website) and values, excluding language or time range qualifiers.

SELECT ?airportOrStation ?airportOrStationLabel ?qualifierProperty ?qualifierPropertyLabel ?rank ?qualifierValue ?qualifierValueLabel WHERE { ?airportOrStation p:P521 [ ?qualifierPropertyP ?qualifierValue ; wikibase:rank ?rank ] . ?qualifierProperty wikibase:qualifier ?qualifierPropertyP . FILTER ( ?qualifierProperty NOT IN ( wd:P137, wd:P580, wd:P582, wd:P931 ) ) OPTIONAL { ?airportOrStation rdfs:label ?airportOrStationLabel . FILTER(LANG(?airportOrStationLabel) = "en") } OPTIONAL { ?qualifierProperty rdfs:label ?qualifierPropertyLabel . FILTER(LANG(?qualifierPropertyLabel) = "en") } OPTIONAL { ?qualifierValue rdfs:label ?qualifierValueLabel . FILTER(LANG(?qualifierValueLabel) = "en") } } LIMIT 100

What are the qualifier properties and values for scheduled service destinations of airports and train stations, and which ones are not related to language or start/end times?

Show me all scheduled service destinations (P521) for airports and stations, along with their qualifier properties (e.g., time period, official website) and their labels in English, excluding irrelevant properties like language or time range.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/P521> [ ?var5 ?var4 ; <http://wikiba.se/ontology#rank> ?var3 ] . ?var2 <http://wikiba.se/ontology#qualifier> ?var5 . FILTER ( ( ?var2 NOT IN ( <http://www.wikidata.org/entity/P137> , <http://www.wikidata.org/entity/P580> , <http://www.wikidata.org/entity/P582> , <http://www.wikidata.org/entity/P931> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 100


Question: Is the threshold of originality a human?

Does the concept of threshold of originality belong to the category of humans or any of its subclasses?

Can the threshold of originality be classified as a person or human being?

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


Question: What are the direct and indirect parent categories of fast food in Wikidata?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?superclass WHERE {
  {
    wd:Q81799 wdt:P279 ?superclass
  } UNION {
    wd:Q81799 wdt:P279 / wdt:P279 ?superclass
  } UNION {
    wd:Q81799 wdt:P279 / wdt:P279 / wdt:P279 ?superclass
  }
}
LIMIT 100

What broader classes does fast food belong to, including its superclasses up to three levels above?

List all the categories that fast food is a subclass of, going up the taxonomy tree.

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


Question: What are the authors of the article "Unsupervised Multilingual Sentence Boundary Detection", and what would their ORCID URLs be if they had one?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?authorName(CONCAT("https://orcid.org/" , ENCODE_FOR_URI(?authorName)) AS ?orcidUrl) WHERE {
  wd:Q29052049 wdt:P2093 ?authorName .
}

Show the names of the authors of the academic paper "Unsupervised Multilingual Sentence Boundary Detection" and construct a placeholder ORCID link for each.

Who wrote the 2006 paper on multilingual sentence boundary detection, and how could you form a URL to their ORCID profile based on their name?

SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( "string1", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q29052049> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh". } }


Question: Who died in the year 1808?

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

List all people whose date of death was between January 1, 1808, and December 31, 1808.

Can you show me the entities in Wikidata that have a recorded death date in 1808?

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


Question: List businesses with their English names, English Wikipedia links, and headquarters cities.

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 schema: <http://schema.org/>
SELECT ?business ?businessLabel ?wikipediaPage ?headquartersLabel WHERE {
  ?business wdt:P31 wd:Q4830453 .
  OPTIONAL {
    ?business rdfs:label ?businessLabel .
    FILTER(LANG(?businessLabel) = "en")
  }
  OPTIONAL {
    ?wikipediaPage schema:about ?business ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> .
  }
  OPTIONAL {
    ?business wdt:P159 ?headquarters .
    ?headquarters rdfs:label ?headquartersLabel .
    FILTER(LANG(?headquartersLabel) = "en")
  }
}
LIMIT 10000

What are the English names, Wikipedia pages, and headquarters locations of businesses?

Show me businesses along with their English labels, corresponding English Wikipedia pages, and the English names of their headquarters.

SELECT ?var1 ?var2 ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> "en". ?var3 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P159> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 10000


Question: Top 20 most cited scholarly articles with first author affiliated with McGill University.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT(COUNT(DISTINCT ?citation) AS ?citationCount) ?work ?workLabel WHERE {
  {
    ?author wdt:P108 wd:Q201492 .
  } UNION {
    ?author wdt:P1416 wd:Q201492 .
  } UNION {
    ?author wdt:P1416 ?affiliation .
    ?affiliation wdt:P361 wd:Q201492 .
  }
  ?work p:P50 ?authorStatement .
  ?authorStatement ps:P50 ?author .
  ?authorStatement pq:P1545 "1" .
  ?citation wdt:P2860 ?work .
  ?work rdfs:label ?workLabel .
  FILTER(LANG(?workLabel) = "en")
}
GROUP BY ?work ?workLabel
ORDER BY DESC(?citationCount)
LIMIT 20

Which research papers authored as first author by someone from McGill University have received the most citations?

Show me the 20 most frequently cited academic works where the first author is employed by or affiliated with McGill University, including their citation counts.

SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) ?var3 ?var3Label WHERE { { ?var4 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q201492> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P1416> <http://www.wikidata.org/entity/Q201492> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P1416> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q201492> . } ?var3 <http://www.wikidata.org/prop/P50> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P50> ?var4 . ?var6 <http://www.wikidata.org/prop/qualifier/P1545> "1". ?var1 <http://www.wikidata.org/prop/direct/P2860> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var7 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,fr,de,ru,es,zh,jp,da". } } GROUP BY ?var3 ?var3Label ORDER BY DESC( ?var2 ) LIMIT 20


Question: Is Otoniel Gonzaga classified as software or any type of software?

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

Is the Filipino tenor singer Otoniel Gonzaga an instance of software or a subclass of software?

Confirm whether Otoniel Gonzaga, the opera singer, can be categorized as software.

ASK WHERE { <http://www.wikidata.org/entity/Q23135738> ( <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 are the years and names of all Davis Cup editions?

PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wikibase: <http://wikiba.se/ontology#>
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 ?edition ?year ?editionLabel WHERE {
  ?edition ( wdt:P31 | wdt:P3450 ) wd:Q132377 .
  ?edition p:P585 ?dateStatement .
  ?dateStatement psv:P585 / wikibase:timeValue ?dateLiteral .
  BIND( YEAR( ?dateLiteral ) AS ?year ) .
  ?edition rdfs:label ?editionLabel .
  FILTER ( LANG( ?editionLabel ) = "en" )
}

In which years were the Davis Cup tournaments held, and what are their official names?

List all Davis Cup events along with their years and English labels.

SELECT ?var1 ?var2 ?var1Label ?var3 WHERE { BIND ( YEAR ( ?var4 ) AS ?var2 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P3450> ) <http://www.wikidata.org/entity/Q132377> ; <http://www.wikidata.org/prop/direct/P585> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Is Blaise Matuidi a human?

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

Does Blaise Matuidi belong to the category of human beings?

Is Blaise Matuidi classified as a human in Wikidata?

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


Question: What institution is Ellen Swift affiliated with, and what is the image of that institution?

SELECT ?image ?institution ?institutionLabel ?startDate ?endDate ?degreeLabel WHERE { { wd:Q47091509 p:P1416 ?statement . } UNION { wd:Q47091509 p:P108 ?statement . } { ?statement ps:P1416 ?institution . } UNION { ?statement ps:P108 ?institution . } ?institution rdfs:label ?institutionLabel . FILTER (LANG(?institutionLabel) = "en") OPTIONAL { ?institution wdt:P18 ?image . } OPTIONAL { ?statement pq:P580 ?startDate . } OPTIONAL { ?statement pq:P582 ?endDate . } OPTIONAL { ?statement pq:P512 ?degree . ?degree rdfs:label ?degreeLabel . FILTER (LANG(?degreeLabel) = "en") } }

Where did Ellen Swift work or have an affiliation, and is there an image available for that institution? Also, when did this affiliation start or end, and does she hold any academic degrees related to it?

Show me the institution Ellen Swift is connected to (either as employer or affiliate), its English label, any associated image, the start and end dates of the connection, and any academic degrees linked to that affiliation — all in English.

SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q47091509> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q47091509> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = "en" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,fr,de,ru,es,zh,jp". } }


Question: List 10 films from Wikidata.

SELECT DISTINCT ?film WHERE { ?film wdt:P31 wd:Q11424 . } LIMIT 10

What are some examples of films in Wikidata?

Show me up to 10 items that are classified as films.

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