Question: French citizens who died between January 1, 1947 and January 1, 1948 with French-language labels

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?person ?personLabel WHERE {
  ?person wdt:P31 wd:Q5 ; wdt:P27 wd:Q142 ; wdt:P570 ?deathDate .
  FILTER ( ?deathDate >= "1947-01-01T00:00:00Z" ^^ xsd:dateTime ) FILTER ( ?deathDate <= "1948-01-01T00:00:00Z" ^^ xsd:dateTime ) OPTIONAL {
    ?person rdfs:label ?personLabel .
    FILTER ( LANG( ?personLabel ) = "fr" )
  }
}
LIMIT 100

Who are the French citizens that died between January 1, 1947 and January 1, 1948, and what are their French names?

List the French-language labels of people who were French citizens and died in the first year of the post-war period (1947–early 1948).

SELECT ?var1 ?var2 ?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/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q142> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "fr" ) ) ) . } FILTER ( ( ( ?var3 <= "1948-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= "1947-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } } LIMIT 10500


Question: What is the English label of the oration "Canada, England and the United States" by Wilfrid Laurier?

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

Does the speech "Canada, England and the United States" have an English description or an image on Wikimedia Commons?

Provide the label, description, and image for the oration titled "Canada, England and the United States".

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


Question: How many people were born in March 1960, according to Wikidata?

SELECT ?year (COUNT(?person) AS ?count) WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P569 ?birthDate . BIND( STR(YEAR(?birthDate)) AS ?year ) FILTER( ?birthDate >= "1960-03-01"^^xsd:date && ?birthDate < "1960-04-01"^^xsd:date ) } GROUP BY ?year

Can you tell me the number of humans born between March 1 and April 1, 1960?

What is the count of individuals born in the month of March 1960?

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P569> ?var4 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P570> ?var5 . } BIND ( STR ( YEAR ( ?var4 ) ) AS ?var1 ). FILTER ( ( ( ?var4 >= "1960-03-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var4 < "1960-04-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } GROUP BY ?var1


Question: Administrative hierarchy of Ottawa excluding dissolved entities and their parents

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 ?entity ?entityLabel ?parent WHERE {
  VALUES ?entity {
    wd:Q1930 wd:Q1904 wd:Q16
  }
  OPTIONAL {
    ?entity wdt:P131 ?parent
  }
  OPTIONAL {
    ?entity rdfs:label ?entityLabel .
    FILTER ( LANG( ?entityLabel ) = "en" )
  } MINUS {
    ?entity wdt:P576 | wdt:P582 []
  } MINUS {
    ?parent wdt:P576 | wdt:P582 []
  }
}

What are the administrative regions that Ottawa belongs to, and what is each one’s immediate parent, excluding any that have been dissolved or ended?

Show me the full administrative chain from Ottawa up to Canada, including each region’s parent, but only if they are still active.

SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". <http://www.wikidata.org/entity/Q1930> <http://www.wikidata.org/prop/direct/P131> * ?var1 . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P576> | <http://www.wikidata.org/prop/direct/P582> ) [] . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . MINUS { ?var2 ( <http://www.wikidata.org/prop/direct/P576> | <http://www.wikidata.org/prop/direct/P582> ) [] . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr, en, en, fr, en, fr, en, fr, en, fr, en, fr, en, fr". } }


Question: What is the image associated with the entity that has the SNAC ARK ID "w6cr66w7"?

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

Show the Wikimedia Commons image for the item identified by the SNAC ARK ID w6cr66w7.

Can you find the image of the person or entity with SNAC ARK ID w6cr66w7?

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


Question: What is the English label for Erik Hersman on Wikidata?

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

What is the name of Erik Hersman as listed in Wikidata in English?

Please provide the English name of the Wikidata entity for Erik Hersman.

SELECT ?var1Label ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q5388622> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are Big B's social media usernames, official website, and Wikipedia link in English, German, French, and Italian?

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 ?coordinates ?youtubeId ?githubUsername ?twitterUsername ?instagramUsername ?facebookUsername ?website ?orcid ?wikipediaArticle WHERE {
  VALUES(?lang ?priority) {("en" 1)("de" 2)("fr" 3)("it" 4)
  }
  OPTIONAL {
    wd:Q4904960 rdfs:label ?label .
    FILTER(LANG(?label) = ?lang)
  }
  OPTIONAL {
    wd:Q4904960 wdt:P18 ?image .
  }
  OPTIONAL {
    wd:Q4904960 wdt:P625 ?coordinates .
  }
  OPTIONAL {
    wd:Q4904960 wdt:P1651 ?youtubeId .
  }
  OPTIONAL {
    wd:Q4904960 wdt:P2037 ?githubUsername .
  }
  OPTIONAL {
    wd:Q4904960 wdt:P2002 ?twitterUsername .
  }
  OPTIONAL {
    wd:Q4904960 wdt:P2013 ?instagramUsername .
  }
  OPTIONAL {
    wd:Q4904960 wdt:P2003 ?facebookUsername .
  }
  OPTIONAL {
    wd:Q4904960 wdt:P856 ?website .
  }
  OPTIONAL {
    wd:Q4904960 wdt:P496 ?orcid .
  }
  OPTIONAL {
    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q4904960 ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> .
  }
}
ORDER BY ?priority

Show me the name, Twitter, Instagram, website, and Wikipedia article for the rapper Big B, prioritizing English, then German, French, and Italian.

Can you provide Big B’s online presence — including his Twitter, Instagram, website, and Wikipedia page — along with his name in English, German, French, and Italian?

SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q4904960> <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/Q4904960> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q4904960> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q4904960> <http://www.wikidata.org/prop/direct/P1651> ?var5 . } OPTIONAL { <http://www.wikidata.org/entity/Q4904960> <http://www.wikidata.org/prop/direct/P2037> ?var6 . } OPTIONAL { <http://www.wikidata.org/entity/Q4904960> <http://www.wikidata.org/prop/direct/P2002> ?var7 . } OPTIONAL { <http://www.wikidata.org/entity/Q4904960> <http://www.wikidata.org/prop/direct/P2013> ?var8 . } OPTIONAL { <http://www.wikidata.org/entity/Q4904960> <http://www.wikidata.org/prop/direct/P2003> ?var9 . } OPTIONAL { <http://www.wikidata.org/entity/Q4904960> <http://www.wikidata.org/prop/direct/P856> ?var10 . } OPTIONAL { <http://www.wikidata.org/entity/Q4904960> <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/Q4904960> ; <http://schema.org/inLanguage> "en"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var13 )


Question: Human named Karl Wolf

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 WHERE {
  ?person rdfs:label "Karl Wolf" @en .
  ?person wdt:P31 wd:Q5 .
}
LIMIT 1

Find a person named Karl Wolf who is a human.

SELECT ?var1 WHERE { ?var1 ?var1Label "Karl Wolf". ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } LIMIT 100


Question: What is the image associated with the entity having SNAC ARK ID w6g164w3?

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

Show the image of the item identified by the SNAC ARK ID w6g164w3, if it exists.

Is there a Wikimedia Commons image for the entity with SNAC ARK ID w6g164w3?

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


Question: English and German Wikipedia pages for the movie with IMDb ID tt0057611

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?movie ?wikipedia_article WHERE {
  ?movie wdt:P345 "tt0057611" .
  ?wikipedia_article schema:about ?movie ; schema:inLanguage ?lang .
  FILTER ( ?lang = "en" || ?lang = "de" ) .
  FILTER ( STRSTARTS( STR( ?wikipedia_article ) , "https://en.wikipedia.org/" ) || STRSTARTS( STR( ?wikipedia_article ) , "https://de.wikipedia.org/" ) )
}

What are the English and German Wikipedia articles about the film with IMDb ID tt0057611?

Show me the English and German Wikipedia links for the 1963 film The Silence, identified by IMDb ID tt0057611.

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


Question: What entities in Wikidata are labeled "Albert Einstein" in English?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?entity WHERE {
  ?entity rdfs:label "Albert Einstein" @en .
}

Show me all items in Wikidata with the name "Albert Einstein" in English.

Which Wikidata items have "Albert Einstein" as their English label?

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 "string1"@en . }


Question: Albert Einstein: English label, image, coordinates, Wikipedia page, and abstract

SELECT ?label ?abstract ?image ?coordinates ?wikipediaPage WHERE { wd:Q937 rdfs:label ?label . FILTER(LANG(?label) = "en") OPTIONAL { wd:Q937 wdt:P18 ?image . } OPTIONAL { wd:Q937 wdt:P625 ?coordinates . } OPTIONAL { ?wikipediaPage schema:about wd:Q937 ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> ; schema:description ?abstract . } } ORDER BY ?label

What is the English label, image, coordinates, Wikipedia article, and abstract for Albert Einstein?

Please provide the English name, image, geographic coordinates, English Wikipedia link, and summary description for Albert Einstein.

SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/statement/Q9219399-8F4A2F0C-7E26-4F18-8F50-1899E578B64A> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( "en""1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "en""2"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "de""3"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "fr""4"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "it""5"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/statement/Q9219399-8F4A2F0C-7E26-4F18-8F50-1899E578B64A> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/statement/Q9219399-8F4A2F0C-7E26-4F18-8F50-1899E578B64A> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/statement/Q9219399-8F4A2F0C-7E26-4F18-8F50-1899E578B64A> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/statement/Q9219399-8F4A2F0C-7E26-4F18-8F50-1899E578B64A> ; <http://schema.org/inLanguage> "en"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var8 )


Question: What is the English label for the Wikidata entity of Mohamed Atta?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?person ?personLabel WHERE {
  BIND( wd:Q110067 AS ?person ) .
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}

Can you tell me the name of Mohamed Atta as it appears in English on Wikidata?

What is the official English name of the person identified as Mohamed Atta in Wikidata?

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


Question: What are the most common ways that individuals are recorded as having received the French military honor "mort pour la France"?

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

Which Wikidata properties are used to indicate that someone was declared "mort pour la France", and how many times is each used?

How is the French war dead designation "mort pour la France" most frequently linked to individuals in Wikidata?

SELECT DISTINCT ?var1 ?var2 WHERE { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q3324507> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var4 . } GROUP BY ?var1 } ORDER BY DESC( ?var2 )


Question: What is the English label, description, and all associated images for the electronic musician Richie Hawtin?

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

Richie Hawtin: English name, description, and photos.

Show me Richie Hawtin’s English name, his professional description, and all the images linked to him on Wikimedia Commons.

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


Question: What is the image and English description of Albert Einstein?

SELECT ?image ?description WHERE { ?human wdt:P31 wd:Q5 . ?human rdfs:label "Albert Einstein"@en . OPTIONAL { ?human wdt:P18 ?image . ?human schema:description ?description . FILTER(LANG(?description) = "en") } }

Albert Einstein: image and English Wikipedia description

Show me the photo and English bio of Albert Einstein.

SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 ?var4 "string1". OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var1 . ?var3 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: What are some places and organizations located in Canada?

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 ?item ?itemLabel WHERE {
  ?item wdt:P131 wd:Q16 .
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" )
}
LIMIT 20

List entities in Canada, such as cities or institutions, along with their English names.

Which items are administratively part of Canada?

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q16> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en". } } LIMIT 20


Question: What are all the subclasses of the Cabinet of Canada in Wikidata?

SELECT ?subclass WHERE { wd:Q2458227 wdt:P279* ?subclass .}

Show the full hierarchy of classes that the Cabinet of Canada belongs to through subclass relationships.

What higher-level categories does the Cabinet of Canada fall under in Wikidata’s classification system?

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


Question: What properties are most commonly used to associate entities with the surname Schmidt?

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

How many times are different properties used to link people to the family name Schmidt?

Which properties connect entities to the surname Schmidt, and which ones are used more than once?

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


Question: Which properties link more than one item to the surname Kiseľ, and how many items each links?

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

What properties are used to connect other entities to the surname Kiseľ, and which ones appear more than once?

Show me the properties that relate other items to the surname Kiseľ, sorted by how frequently they are used, but only include those used more than once.

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


Question: What items are located in a parish, and what qualifiers are associated with their location statements?

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?statement ( SAMPLE( ?qualifier ) AS ?qualifierValue ) WHERE {
  {
    SELECT DISTINCT ?item ?statement WHERE {
      ?statement ps:P131 wd:Q102496 .
      ?item p:P131 ?statement .
    }
    LIMIT 101
  }
  OPTIONAL {
    ?statement ?qualifier ?value .
    ?qualifier wikibase:qualifier true .
  }
}
GROUP BY ?item ?statement

Show me entities that have a parish as their administrative location, along with any additional details (qualifiers) on those location statements.

List churches or buildings situated within a parish and include any qualifiers (like time periods or references) attached to their location data.

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


Question: What are the labels for Stan Lee in English, French, German, Italian, and Portuguese?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?label WHERE {
  wd:Q181900 rdfs:label ?label .
  FILTER(LANG(?label) = "en" || LANG(?label) = "fr" || LANG(?label) = "de" || LANG(?label) = "it" || LANG(?label) = "pt")
}

In which languages is Stan Lee labeled on Wikidata, specifically in English, French, German, Italian, and Portuguese?

Show me the names of Stan Lee in English, French, German, Italian, and Portuguese from Wikidata.

SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q181900> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) && ( LANG ( ?var1Label ) = "fr" ) && ( LANG ( ?var1Label ) = "de" ) && ( LANG ( ?var1Label ) = "it" ) && ( LANG ( ?var1Label ) = "pt" ) ) ) . }


Question: Humans born and died in human settlements with English labels.

SELECT ?human ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . ?human rdfs:label ?humanLabel . FILTER (LANG(?humanLabel) = "en") . ?human wdt:P19 ?birth . ?human wdt:P20 ?death . ?birth wdt:P31/wdt:P279* wd:Q486972 . ?death wdt:P31/wdt:P279* wd:Q486972 . } LIMIT 10

Who are some humans who were both born and died in a human settlement, and have an English label?

List 10 humans with English names who were born and died in populated places like towns or villages.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q486972> . ?var4 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q486972> . } OFFSET 250000 LIMIT 10


Question: Image of the person with SNAC ARK ID w6v1261m

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

What image is linked to the SNAC ARK ID w6v1261m?

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

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


Question: Humans who died in early 1900 with exact birth and death dates, including their place of death.

SELECT ?person ?personLabel ?deathDate ?placeOfDeath ?placeOfDeathLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P569 ?birthDate . ?person wdt:P570 ?deathDate . ?person wdt:P19 ?placeOfBirth . ?person wdt:P20 ?placeOfDeath . ?person (p:P569/psv:P569) ?birthStmt . ?birthStmt wikibase:timePrecision "11"^^xsd:integer . ?person (p:P570/psv:P570) ?deathStmt . ?deathStmt wikibase:timePrecision "11"^^xsd:integer . FILTER ( ?deathDate >= "1900-01-01"^^xsd:date && ?deathDate < "1900-06-01"^^xsd:date ) . ?person rdfs:label ?personLabel . ?placeOfDeath rdfs:label ?placeOfDeathLabel . FILTER (LANG(?personLabel) = "en") FILTER (LANG(?placeOfDeathLabel) = "en") } ORDER BY ASC(?person)

Who were the people that died between January 1 and May 31, 1900, with known day-specific birth and death dates, and where did they die?

List the names and places of death of people who died in the first five months of 1900, with precise birth and death dates recorded.

SELECT ?var1 ?var1Label ?var2 ?var3Label ?var3 WHERE { BIND ( ( ( ?var2 - ?var4 ) /"365.2425"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var6 . ?var6 <http://wikiba.se/ontology#timePrecision> "11"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var1 ( <http://www.wikidata.org/prop/P570> / <http://www.wikidata.org/prop/statement/value/P570> ) ?var7 . ?var7 <http://wikiba.se/ontology#timePrecision> "11"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var6 <http://wikiba.se/ontology#timeValue> ?var8 . ?var7 <http://wikiba.se/ontology#timeValue> ?var9 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var10 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var3 . FILTER ( ( ( ?var2 >= "1900-01-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 < "1900-06-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY ASC( ?var1 )


Question: What are the occupations of Multatuli in Dutch?

SELECT ?occupation ?occupationLabel WHERE { wd:Q154211 wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = 'nl') }

In Dutch, what jobs did the Dutch author Multatuli have?

Show the Dutch-language labels for the occupations of Multatuli.

SELECT ?var1Label ?var1 WHERE { <http://www.dbnl.org/auteurs/auteur.php?id=biss001> <http://www.wikidata.org/prop/direct/P106> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( "nl" = LANG ( ?var1Label ) ) ) ) . }


Question: Humans with the name "Han" in English.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?item WHERE {
  ?item rdfs:label "Han" @en .
  ?item wdt:P31 wd:Q5 .
}

Who are the people named Han in English-speaking contexts?

List all humans whose English label is "Han".

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


Question: Statues and statue-like monuments in Indonesia

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?var1 ?var1Label WHERE {
  ?var1 wdt:P17 wd:Q252 .
  ?var1 wdt:P31 / wdt:P279 * wd:Q179700 .
  OPTIONAL {
    ?var1 rdfs:label ?var1Label .
    FILTER(LANG(?var1Label) = "en")
  }
}
ORDER BY ASC(?var1Label)

What statues or items classified as subclasses of statues are located in Indonesia?

List all statues and their subclasses located in Indonesia, along with their English labels.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q252> . { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q179700> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q179700> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "id". } } ORDER BY ASC( ?var1Label )


Question: Image of Heinrich Biber (SNAC ARK ID w6hb2m8q)

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

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

Show me the Wikimedia Commons image for the person with SNAC ARK ID w6hb2m8q.

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


Question: Wikipedia page for movie with IMDb ID tt5958060 in English or German

SELECT ?movie ?wikipediaPage ?imdbId WHERE { VALUES ?imdbId { "tt5958060" } ?movie wdt:P345 ?imdbId . ?wikipediaPage schema:about ?movie . ?wikipediaPage schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") }

What is the English or German Wikipedia page for the movie with IMDb ID tt5958060?

Show me the Wikipedia page in English or German about the film identified by IMDb ID tt5958060, along with the movie's Wikidata ID and IMDb ID.

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


Question: What are the properties most commonly used to associate items with the Polish ethnic group, and how many times are they used?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?propertyItem ?propertyItemLabel ?count WHERE {
  {
    SELECT ?directProperty ( COUNT( ?item ) AS ?count ) WHERE {
      ?item ?directProperty wd:Q1026 .
      FILTER ( STRSTARTS( STR( ?directProperty ) , "http://www.wikidata.org/prop/direct/" ) )
    }
    GROUP BY ?directProperty
    HAVING ( ?count > 1 )
  }
  BIND( IRI( REPLACE( STR( ?directProperty ) , "http://www.wikidata.org/prop/direct/" , "http://www.wikidata.org/entity/" ) ) AS ?propertyItem ) .
  ?propertyItem rdfs:label ?propertyItemLabel .
  FILTER ( LANG( ?propertyItemLabel ) = "en" )
}
ORDER BY DESC ( ?count )

Which Wikidata properties link the most items to Poles, and how many items are linked by each?

Show me the properties (with their labels) that are used to classify more than one item as Polish, sorted by usage frequency.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q1026> . ?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: Who were the human participants in the Appomattox Campaign, and what were 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 ?birth ?death WHERE {
  ?person wdt:P607 wd:Q621676 ; wdt:P31 wd:Q5 .
  OPTIONAL {
    ?person wdt:P569 ?birth .
  }
  OPTIONAL {
    ?person wdt:P570 ?death .
  }
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}

Can you list the names, birth dates, and death dates of people who fought in the Appomattox Campaign during the American Civil War?

Show me the birth and death information for all military personnel involved in the Appomattox Campaign.

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q621676> 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: Materials in Wikidata made from Chinese-labeled substances with Chinese descriptions.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
SELECT ?material ?materialLabel ?materialDesc WHERE {
  ?item wdt:P186 ?material .
  ?material rdfs:label ?materialLabel .
  ?material schema:description ?materialDesc .
  FILTER(LANG(?materialLabel) = "zh")
  .
  FILTER(LANG(?materialDesc) = "zh")
}
LIMIT 100

What materials are used in items on Wikidata that have both Chinese labels and Chinese descriptions?

Show me materials used in items on Wikidata, along with their Chinese names and descriptions.

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P186> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "zh" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "zh" ) ) ) . } LIMIT 100


Question: Image of Constantine Samuel Rafinesque (SNAC ARK ID: w6r211c2)

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

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

Show me the picture of the person identified by the SNAC ARK ID w6r211c2.

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


Question: What are the given names with the label "Heinrich"?

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 ?item ?itemLabel WHERE {
  ?item wdt:P31 / wdt:P279 * wd:Q202444 ; rdfs:label ?itemLabel .
  FILTER(REGEX(?itemLabel , "^Heinrich$"))
}

Which given names are named "Heinrich" in any language?

List all entities that are types of given names and have the name "Heinrich" as their label.

SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q202444> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( REGEX ( ?var1Label , "^Heinrich$" ) ) ) . }


Question: Image of Keppel Craven (SNAC ARK ID w6tx4h26)

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

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

Show me the Wikimedia Commons image of the person with SNAC ARK ID w6tx4h26.

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


Question: What are the labels for Gaël Perdriau in French, English, German, and Italian, along with his image and French Wikipedia link?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {
  wd:Q17497010 rdfs:label ?label .
  FILTER ( LANG( ?label ) IN ( "fr" , "en" , "de" , "it" ) ) OPTIONAL {
    wd:Q17497010 wdt:P18 ?image .
  }
  OPTIONAL {
    wd:Q17497010 wdt:P625 ?coordinates .
  }
  ?wikipediaArticle schema:about wd:Q17497010 ; schema:inLanguage "fr" ; schema:isPartOf <https://fr.wikipedia.org/> .
  VALUES ( ?lang ?sort ) {
    ( "fr" 1 ) ( "en" 2 ) ( "de" 3 ) ( "it" 4 )
  }
  FILTER ( ?lang = LANG( ?label ) )
}
ORDER BY ?sort

Can you show me Gaël Perdriau’s name in different languages, his photo, and the link to his French Wikipedia article?

Retrieve the multilingual labels, image, and French Wikipedia page for the French politician Gaël Perdriau, sorted by language preference.

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


Question: What are the multilingual labels (Italian, English, German, French) for Donald W. Ernst, ordered by language priority?

SELECT ?var1Label ?var3 ?var4 ?var6 WHERE { OPTIONAL { wd:Q5295252 rdfs:label ?var1Label . FILTER (LANG(?var1Label) IN ("it", "en", "de", "fr")) VALUES (?lang ?var8) { ("it" "1"^^xsd:integer) ("en" "2"^^xsd:integer) ("de" "3"^^xsd:integer) ("fr" "4"^^xsd:integer) } FILTER (LANG(?var1Label) = ?lang) } OPTIONAL { wd:Q5295252 wdt:P18 ?var3 . } OPTIONAL { wd:Q5295252 wdt:P625 ?var4 . } OPTIONAL { ?var6 rdf:type schema:Article ; schema:about wd:Q5295252 ; schema:inLanguage "it" ; schema:isPartOf <https://it.wikipedia.org/> . } } ORDER BY ASC(?var8)

Can you show me the labels for Donald W. Ernst in Italian, English, German, and French, sorted so that Italian comes first?

Please retrieve the labels of Donald W. Ernst in Italian, English, German, and French, in that priority order, along with any available image, coordinates, or Italian Wikipedia link.

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


Question: Humans who died in Schaffhausen

SELECT ?human ?humanLabel ?placeOfDeath ?placeOfDeathLabel WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P20 wd:Q9009 . ?human rdfs:label ?humanLabel . wd:Q9009 rdfs:label ?placeOfDeathLabel . FILTER(LANG(?humanLabel) = "en") FILTER(LANG(?placeOfDeathLabel) = "en") }

Who are the people that died in the city of Schaffhausen?

List the names of people and confirm they died in Schaffhausen, Switzerland.

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/P20> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12697> . }


Question: Labels of Elsa Einstein in English, German, French, and Italian, along with her image and English Wikipedia link.

SELECT ?label ?image ?wikipedia WHERE { wd:Q68761 rdfs:label ?label . FILTER(LANG(?label) IN ("en", "de", "fr", "it")) wd:Q68761 wdt:P18 ?image . ?wikipedia schema:about wd:Q68761 ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> . VALUES (?lang ?sort) { ("en" 1) ("de" 2) ("fr" 3) ("it" 4) } FILTER(LANG(?label) = ?lang) } ORDER BY ?sort

What are the names of Elsa Einstein in English, German, French, and Italian, and what is her image and English Wikipedia page?

Show me the multilingual labels for Elsa Einstein (in en, de, fr, it), her image from Wikimedia Commons, and her English Wikipedia article, ordered by language.

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


Question: English or German Wikipedia page for the movie with IMDb ID tt4835086

SELECT ?item ?wikipediaPage ?imdbId WHERE { ?item wdt:P345 "tt4835086" . ?wikipediaPage schema:about ?item . VALUES ?lang { "en" "de" } ?wikipediaPage schema:inLanguage ?lang . BIND("tt4835086" AS ?imdbId) }

What is the English or German Wikipedia page for the film "We Are X" (IMDb ID: tt4835086)?

Show me the Wikipedia page in English or German that corresponds to the movie with IMDb ID tt4835086, along with its Wikidata item and IMDb ID.

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


Question: People who died on November 14, 1996

SELECT DISTINCT ?person WHERE { ?person wdt:P570 ?deathDate . FILTER ( ?deathDate >= "1996-11-14T00:00:00Z"^^xsd:dateTime && ?deathDate <= "1996-11-14T23:59:59Z"^^xsd:dateTime ) }

List all individuals whose date of death was exactly November 14, 1996.

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


Question: How many people died in 1985?

SELECT ?year (COUNT(?person) AS ?count) WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P570 ?deathDate . BIND(YEAR(?deathDate) AS ?year) FILTER(?year = 1985) } GROUP BY ?year

What is the total number of humans recorded as having died in the year 1985 on Wikidata?

Can you tell me how many individuals born as humans passed away during 1985?

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P569> ?var4 . } BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P570> ?var5 . FILTER ( ( ( ?var5 >= "1985-01-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var5 < "1985-01-02"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } GROUP BY ?var1


Question: Who is Anne Monod, a human being?

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 WHERE {
  ?person rdfs:label "Anne Monod" @en .
  ?person wdt:P31 wd:Q5 .
}

What is the Wikidata item for Anne Monod, who is a human?

Find the Wikidata entry for Anne Monod, confirming she is a human.

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


Question: Chen Yuanyuan's date of birth and date of death

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?label ?birthDate ?deathDate WHERE {
  wd:Q698781 rdfs:label ?label .
  OPTIONAL {
    wd:Q698781 wdt:P569 ?birthDate .
  }
  OPTIONAL {
    wd:Q698781 wdt:P570 ?deathDate .
  }
  FILTER ( LANG( ?label ) = "en" )
}

When was the Chinese poet and courtesan Chen Yuanyuan born and when did she die?

Can you provide the English name, birth date, and death date of Chen Yuanyuan?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q698781> 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: Dates of death, precision, and calendar for 66 historical women’s rights activists including Margaret Mansfield and Harriet Clisby.

What were the dates of death, precision levels, and calendar models for the list of suffragists and feminist activists such as Dolce Ann Cabot, Nelly Trumel, and Amneh Al-Rimawi?

Please provide the death dates (with precision and calendar information) for all the women’s rights activists listed in this set of Wikidata IDs, including those from the Netherlands, Spain, and the United States.

SELECT ?var1 ?var2 ?var3 ?var4 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q39278459> ) ( <http://www.wikidata.org/entity/Q40327798> ) ( <http://www.wikidata.org/entity/Q40430698> ) ( <http://www.wikidata.org/entity/Q40762505> ) ( <http://www.wikidata.org/entity/Q41350537> ) ( <http://www.wikidata.org/entity/Q41783094> ) ( <http://www.wikidata.org/entity/Q41793283> ) ( <http://www.wikidata.org/entity/Q42110535> ) ( <http://www.wikidata.org/entity/Q42298452> ) ( <http://www.wikidata.org/entity/Q42298565> ) ( <http://www.wikidata.org/entity/Q42299315> ) ( <http://www.wikidata.org/entity/Q42314115> ) ( <http://www.wikidata.org/entity/Q42340894> ) ( <http://www.wikidata.org/entity/Q42399648> ) ( <http://www.wikidata.org/entity/Q42411152> ) ( <http://www.wikidata.org/entity/Q42560965> ) ( <http://www.wikidata.org/entity/Q42661846> ) ( <http://www.wikidata.org/entity/Q42666485> ) ( <http://www.wikidata.org/entity/Q42666589> ) ( <http://www.wikidata.org/entity/Q42677353> ) ( <http://www.wikidata.org/entity/Q42752855> ) ( <http://www.wikidata.org/entity/Q42756317> ) ( <http://www.wikidata.org/entity/Q42844775> ) ( <http://www.wikidata.org/entity/Q42887201> ) ( <http://www.wikidata.org/entity/Q42950643> ) ( <http://www.wikidata.org/entity/Q42950667> ) ( <http://www.wikidata.org/entity/Q43190347> ) ( <http://www.wikidata.org/entity/Q43237208> ) ( <http://www.wikidata.org/entity/Q43252431> ) ( <http://www.wikidata.org/entity/Q43253930> ) ( <http://www.wikidata.org/entity/Q43371614> ) ( <http://www.wikidata.org/entity/Q43373620> ) ( <http://www.wikidata.org/entity/Q43375646> ) ( <http://www.wikidata.org/entity/Q43456056> ) ( <http://www.wikidata.org/entity/Q43779014> ) ( <http://www.wikidata.org/entity/Q44403762> ) ( <http://www.wikidata.org/entity/Q44611020> ) ( <http://www.wikidata.org/entity/Q45284820> ) ( <http://www.wikidata.org/entity/Q45843013> ) ( <http://www.wikidata.org/entity/Q45843259> ) ( <http://www.wikidata.org/entity/Q46749743> ) ( <http://www.wikidata.org/entity/Q46764968> ) ( <http://www.wikidata.org/entity/Q47008647> ) ( <http://www.wikidata.org/entity/Q47008701> ) ( <http://www.wikidata.org/entity/Q47027252> ) ( <http://www.wikidata.org/entity/Q47027609> ) ( <http://www.wikidata.org/entity/Q47036806> ) ( <http://www.wikidata.org/entity/Q47084600> ) ( <http://www.wikidata.org/entity/Q47090220> ) ( <http://www.wikidata.org/entity/Q47091499> ) ( <http://www.wikidata.org/entity/Q47093160> ) ( <http://www.wikidata.org/entity/Q47145192> ) ( <http://www.wikidata.org/entity/Q47483693> ) ( <http://www.wikidata.org/entity/Q47498926> ) ( <http://www.wikidata.org/entity/Q47667727> ) ( <http://www.wikidata.org/entity/Q48255493> ) ( <http://www.wikidata.org/entity/Q48340826> ) ( <http://www.wikidata.org/entity/Q48782492> ) ( <http://www.wikidata.org/entity/Q49873280> ) ( <http://www.wikidata.org/entity/Q50344794> ) ( <http://www.wikidata.org/entity/Q50348436> ) ( <http://www.wikidata.org/entity/Q50353187> ) ( <http://www.wikidata.org/entity/Q50374708> ) ( <http://www.wikidata.org/entity/Q50376370> ) ( <http://www.wikidata.org/entity/Q50376481> ) ( <http://www.wikidata.org/entity/Q50379236> ) ( <http://www.wikidata.org/entity/Q18528970> ) ( <http://www.wikidata.org/entity/Q18593026> ) ( <http://www.wikidata.org/entity/Q18783838> ) ( <http://www.wikidata.org/entity/Q18875771> ) ( <http://www.wikidata.org/entity/Q19754738> ) ( <http://www.wikidata.org/entity/Q19802280> ) ( <http://www.wikidata.org/entity/Q19857144> ) ( <http://www.wikidata.org/entity/Q19904645> ) ( <http://www.wikidata.org/entity/Q23005618> ) ( <http://www.wikidata.org/entity/Q24242263> ) ( <http://www.wikidata.org/entity/Q26883990> ) ( <http://www.wikidata.org/entity/Q28922613> ) ( <http://www.wikidata.org/entity/Q29419539> ) ( <http://www.wikidata.org/entity/Q29522052> ) ( <http://www.wikidata.org/entity/Q29549288> ) ( <http://www.wikidata.org/entity/Q29576175> ) ( <http://www.wikidata.org/entity/Q29576200> ) ( <http://www.wikidata.org/entity/Q29576258> ) ( <http://www.wikidata.org/entity/Q30112446> ) ( <http://www.wikidata.org/entity/Q30901806> ) ( <http://www.wikidata.org/entity/Q33253361> ) ( <http://www.wikidata.org/entity/Q41702196> ) ( <http://www.wikidata.org/entity/Q42148318> ) ( <http://www.wikidata.org/entity/Q42314038> ) ( <http://www.wikidata.org/entity/Q42314061> ) ( <http://www.wikidata.org/entity/Q43296833> ) ( <http://www.wikidata.org/entity/Q44642496> ) ( <http://www.wikidata.org/entity/Q44919320> ) ( <http://www.wikidata.org/entity/Q50313988> ) } ?var1 ( <http://www.wikidata.org/prop/P570> / <http://www.wikidata.org/prop/statement/value/P570> ) [ <http://wikiba.se/ontology#timeValue> ?var2 ; <http://wikiba.se/ontology#timePrecision> ?var3 ; <http://wikiba.se/ontology#timeCalendarModel> ?var4 ] . }


Question: Who were born on April 15, 1990?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?person ?personLabel WHERE {
  ?person wdt:P31 wd:Q5 ; wdt:P569 "1990-04-15T00:00:00Z" ^^ xsd:dateTime .
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}

List the English names of all humans born on April 15, 1990.

Can you tell me the names of people born on April 15, 1990?

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


Question: What are the official languages of countries that contain 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/>
SELECT DISTINCT ?countryLabel ?languageLabel WHERE {
  ?city(wdt:P31 / wdt:P279 *) wd:Q515 .
  ?city wdt:P17 ?country .
  ?country wdt:P37 ?language .
  ?country rdfs:label ?countryLabel .
  ?language rdfs:label ?languageLabel .
  FILTER(LANG(?countryLabel) = "en")
  FILTER(LANG(?languageLabel) = "en")
}
LIMIT 100

For each country that has at least one city, what is its official language or languages?

List all countries and their official languages based on the cities located within them.

SELECT DISTINCT ?var1Label ?var2Label WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var3 <http://www.wikidata.org/prop/direct/P17> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P37> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } } LIMIT 100


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

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

Can you show me the Wikimedia Commons image associated with the individual identified by the SNAC ARK ID w6d811ht?

Who is the person linked to the SNAC ARK ID w6d811ht, and what does their image look like?

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


Question: What are the English-language labels for the entity "human" in Wikidata?

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

Show all English variants of the label for "human" in Wikidata.

Retrieve the English labels (including regional variants) for the concept of human beings.

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


Question: What are the birth and death dates of Zhou Youguang?

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

Zhou Youguang: birth date and death date

Can you tell me the English name of Zhou Youguang along with his date of birth and date of death?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q591407> 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 is the image of the person with SNAC ARK ID w6sr0f4q?

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

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

Is there an image available for the SNAC ARK ID w6sr0f4q?

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


Question: People who died in Delhi

SELECT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 ; wdt:P20 wd:Q1353 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } LIMIT 100

List the names of people who died in Delhi, in English.

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


Question: English and German Wikipedia pages for the movie with IMDb ID tt0120741

SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 "tt0120741" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") }

What are the English and German Wikipedia articles for the movie identified by IMDb ID tt0120741?

Show me the English and German Wikipedia links for the film Mafia! (IMDb: tt0120741).

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


Question: What is the English or German Wikipedia page for the movie with IMDb ID tt3731580?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?wikipedia_page ?imdb_id WHERE {
  ?item wdt:P345 ?imdb_id .
  FILTER ( ?imdb_id = "tt3731580" ) .
  ?wikipedia_page schema:about ?item .
  {
    ?wikipedia_page schema:inLanguage "en"
  } UNION {
    ?wikipedia_page schema:inLanguage "de"
  }
}

Can you find the Wikipedia articles in English or German about the film identified by IMDb ID tt3731580?

Show me the Wikipedia pages in English or German that are about the movie with IMDb identifier tt3731580, along with the IMDb ID itself.

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


Question: Image of the person with SNAC ARK ID w6ms6wvk

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

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

Can you show me the Wikimedia Commons image of the individual identified by the SNAC ARK ID w6ms6wvk?

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


Question: Charles E. Young’s image, English Wikipedia link, and labels in English, German, French, and Italian, ordered by language.

SELECT ?label ?image ?wikipediaArticle WHERE { wd:Q5077207 rdfs:label ?label . FILTER (LANG(?label) IN ("en", "de", "fr", "it")) OPTIONAL { wd:Q5077207 wdt:P18 ?image . } ?wikipediaArticle schema:about wd:Q5077207 ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> . VALUES (?lang ?order) { ("en" 1) ("de" 2) ("fr" 3) ("it" 5) } FILTER (LANG(?label) = ?lang) } ORDER BY ?order

What are the labels for Charles E. Young in English, German, French, and Italian, along with his image and English Wikipedia page?

Show me the English, German, French, and Italian labels for Charles E. Young, his image from Wikimedia Commons, and the link to his English Wikipedia article, sorted by language preference.

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


Question: How many humans died in September 1960?

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?year ( COUNT( ?human ) AS ?count ) WHERE {
  ?human wdt:P31 wd:Q5 .
  ?human wdt:P570 ?deathDate .
  FILTER ( ?deathDate >= "1960-09-01" ^^ xsd:date && ?deathDate < "1960-10-01" ^^ xsd:date ) .
  BIND( SUBSTR( STR( ?deathDate ) , 1 , 4 ) AS ?year )
}
GROUP BY ?year

What is the number of people who passed away in September 1960, grouped by year?

Can you tell me how many individuals born as humans died during September 1960?

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P569> ?var4 . } BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P570> ?var5 . FILTER ( ( ( ?var5 >= "1960-09-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var5 < "1960-10-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } GROUP BY ?var1


Question: Image of Edward Jeffries with SNAC ARK ID w61g2623

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

What is the image associated with Edward Jeffries in Wikidata, given his SNAC ARK ID is w61g2623?

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

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


Question: Image of Peter Viereck with SNAC ARK ID w6mp54rq

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

Is there an image available for Peter Viereck, whose SNAC ARK ID is w6mp54rq?

Show me the Wikimedia Commons image linked to the person with SNAC ARK ID w6mp54rq.

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


Question: What are the English and German Wikipedia articles about the film with IMDb ID tt0102753?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?wikipedia_article WHERE {
  ?item wdt:P345 "tt0102753" .
  ?wikipedia_article schema:about ?item .
  {
    ?wikipedia_article schema:inLanguage "en" .
  } UNION {
    ?wikipedia_article schema:inLanguage "de" .
  }
}

Show me the Wikipedia pages in English and German for the movie identified by tt0102753 on IMDb.

Which Wikipedia articles in English and German discuss the film Rambling Rose?

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


Question: What are the English and German Wikipedia pages for the film with IMDb ID tt1183732?

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

Show me the Wikipedia articles in English and German about the movie Tokyo Gore Police.

Which Wikipedia pages in English or German discuss the movie identified by IMDb ID tt1183732?

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


Question: What are the English and German Wikipedia pages for the movie with IMDb ID tt1661382?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?movie ?wikipedia_page WHERE {
  ?movie wdt:P345 "tt1661382" .
  ?wikipedia_page schema:about ?movie .
  ?wikipedia_page schema:inLanguage ?lang .
  FILTER ( ?lang = "en" || ?lang = "de" )
}

Show me the Wikipedia articles in English and German about the film Grudge Match.

Find the Wikipedia links in English and German for the movie identified by IMDb ID tt1661382.

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


Question: What are the English and German Wikipedia pages for the movie with IMDb ID tt2776074?

SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 "tt2776074" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . VALUES ?lang { "en" "de" "th" } }

Show me the Wikipedia articles in English and German about the film Angélique (2013).

Which language versions of Wikipedia have articles about the movie Angélique, identified by its IMDb ID tt2776074?

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


Question: What are the birth and death dates of Park Jung-yang?

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

Can you tell me the life span of Park Jung-yang, including his date of birth and death?

Who is Park Jung-yang, and when was he born and when did he die?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q495510> 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 are the most recently updated people who died after 2017, and what are their birth dates, gender, and nationality?

SELECT ?person ?personLabel ?deathDate ?birthDate ?gender ?country ?modified WHERE { ?person wdt:P31 wd:Q5 ; wdt:P570 ?deathDate . FILTER (?deathDate > "2017-12-31T00:00:00Z"^^xsd:dateTime) FILTER (?deathDate < NOW()) OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P21 ?gender . } OPTIONAL { ?person wdt:P27 ?country . } OPTIONAL { ?person schema:dateModified ?modified . } OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } } ORDER BY DESC(?modified) DESC(?deathDate) ASC(?person) LIMIT 50

List people who died between 2018 and now, sorted by when their Wikidata page was last edited and then by death date.

Can you show me a list of humans who died in the last few years, including their birth date, gender, country, and when their Wikipedia page was last modified?

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://schema.org/dateModified> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "es,en,it,fr,de,cs,es". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var4 . } FILTER ( ( ( ?var2 > "2017-12-31T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var2 < NOW ( ) ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var5 . } } ORDER BY DESC( ?var6 ) DESC( ?var2 )ASC( ?var1 ) LIMIT 50


Question: People who died in April 1992

SELECT DISTINCT ?person WHERE { ?person wdt:P570 ?deathDate . FILTER (YEAR(?deathDate) = 1992 && MONTH(?deathDate) = 4) }

List all individuals whose date of death was in April 1992.

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


Question: What are the English and German Wikipedia pages for the movie with IMDb ID tt0270707?

SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 "tt0270707" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?language . FILTER(?language = "en" || ?language = "de") }

Can you show me the Wikipedia articles in English and German about the film identified by tt0270707 on IMDb?

Which Wikipedia pages in English and German discuss the movie The Truth About Charlie?

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


Question: Living humans born after October 5, 1972, with an official name recorded.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?human ?birthDate ?officialName WHERE {
  ?human wdt:P31 wd:Q5 .
  ?human wdt:P569 ?birthDate .
  ?human wdt:P1448 ?officialName . MINUS {
    ?human wdt:P570 ?deathDate .
  }
  FILTER(?birthDate >= "1972-10-05T00:00:00Z" ^^ xsd:dateTime)
}
LIMIT 100

Who are the living people born on or after October 5, 1972, that have an official name listed in Wikidata?

List up to 100 living individuals born after October 5, 1972, along with their official names.

SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var3 . } FILTER ( ( ( ?var2 >= "1972-10-05T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( BOUND ( ?var3 ) ) ) . FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . } LIMIT 100


Question: What are the categories that Lebanon belongs to, and what are their broader categories?

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 ?class ?classLabel ?superclass WHERE {
  wd:Q822 wdt:P31 ?class .
  ?class rdfs:label ?classLabel .
  FILTER ( LANG( ?classLabel ) = "en" ) OPTIONAL {
    ?class wdt:P279 ?superclass .
  }
}

Can you list the classes Lebanon is an instance of, along with their parent classes in the taxonomy?

Show me the classification hierarchy for Lebanon — what types is it an example of, and what are those types subclasses of?

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


Question: What are the birth and death dates of Park Sang-hee?

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

Can you tell me the full name, birth date, and death date of the Korean journalist Park Sang-hee?

Who is Park Sang-hee, and when was he born and died?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q7847945> 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 English and German Wikipedia pages for the movie with IMDb ID tt0246772?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?movie ?wikipedia_page ?imdb_id WHERE {
  ?movie wdt:P345 "tt0246772" .
  ?wikipedia_page schema:about ?movie .
  ?movie wdt:P345 ?imdb_id .
  {
    ?wikipedia_page schema:inLanguage "en" .
  } UNION {
    ?wikipedia_page schema:inLanguage "de" .
  }
}

Show me the Wikipedia articles in English and German about the film identified by tt0246772 on IMDb.

Which Wikipedia pages in English or German describe the movie "Mostly Martha"?

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


Question: What is the English or German Wikipedia page for the movie with IMDb ID tt0371203?

SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 "tt0371203" . ?wikipedia_page schema:about ?item . VALUES ?lang { "en" "de" } ?wikipedia_page schema:inLanguage ?lang .}

Find the Wikipedia article about the film "Sexphone & the Lonely Wave" in English or German.

Which Wikipedia pages in English or German are linked to the IMDb entry tt0371203?

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


Question: People who died by burning

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

Who were the people executed by burning?

List the names of individuals whose cause of death was death by burning.

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


Question: Birth dates and precision for Malaysian athletes and professionals including badminton players, swimmers, and squash players.

What are the birth dates and date precision (e.g., year, decade) for Malaysian women listed in Wikidata with occupations such as badminton player, swimmer, or squash player?

Please provide the birth dates and how precise they are (year, decade, etc.) for the following Malaysian women: Fauziah Sarman, Yen Yen Sam, Teh Mei Ling, Khaw Gaik Bee, Chee Geok Whee, Sylvia Tan, Law Pei Pei, Kuak Seok Choon, Leong Yeng Cheng, Leong Chai Lean, Sultana Parvin Habeebur Rahman, Yap Hei Lin, Moey Chwee Lan, Lee Chee Neo, Ai Wei Jian, Anna Cheong, Lee Zhi Qing, Annie Keong, Jean Moey, Kok Lee Ying, Auni Fathiah Kamis, Zuraini Khalid, Khaw Moo Leng, Jovina Tseng, Ong Siew Eng, Waileen Wong, Ida Lim, Chang Kon Neong, Cheah Kooi San, Phua Yoke Chin, Yap Zhen, Marny Jolly, Lee Kim Leo, Ong Eak Eam, Molly Chin, Poh Chin Peng, Lee Yin Ling, Thinaah Muralitharan, Lim Kit Lin, Chia Pik Sim, Valentine Chan, Hoi Sai Ying, Lee Keng Sim, Toh Ee Wei, Wei Chyi Ti, Erica Khoo, Chan Mee Yong, Ng Sin Er, Chew Han Huey, Tam Chui Chee, Winnie Lee, Wong Wai See, Ong Mei Lin, Nor Shafeeqah Yahya, Nor Iryani Azmi, Josephine Lena Wong, Aminakhtun Karim Shaharudin, Mary Rajamani, Junaidah Aman, Josephine Mary Singarayar, Felicia Yap, Lynn Leong, Annastasia Raj, Aika Azman, Teh Min Jie, Chan Yiwen, Zoe Foo Yuk Han, Anne Low, Nazihah Hanis, Aifa Azman, Daniella Sya, and Saradha Narayanan.

SELECT ?var1 ?var2 ?var3 ?var4 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q27037530> ) ( <http://www.wikidata.org/entity/Q27074530> ) ( <http://www.wikidata.org/entity/Q27074598> ) ( <http://www.wikidata.org/entity/Q27588647> ) ( <http://www.wikidata.org/entity/Q27588662> ) ( <http://www.wikidata.org/entity/Q27655836> ) ( <http://www.wikidata.org/entity/Q27673059> ) ( <http://www.wikidata.org/entity/Q27773817> ) ( <http://www.wikidata.org/entity/Q27787820> ) ( <http://www.wikidata.org/entity/Q27791883> ) ( <http://www.wikidata.org/entity/Q27922130> ) ( <http://www.wikidata.org/entity/Q27995589> ) ( <http://www.wikidata.org/entity/Q28059095> ) ( <http://www.wikidata.org/entity/Q28059236> ) ( <http://www.wikidata.org/entity/Q30958483> ) ( <http://www.wikidata.org/entity/Q34335529> ) ( <http://www.wikidata.org/entity/Q34518196> ) ( <http://www.wikidata.org/entity/Q35002395> ) ( <http://www.wikidata.org/entity/Q36390304> ) ( <http://www.wikidata.org/entity/Q37628360> ) ( <http://www.wikidata.org/entity/Q44519649> ) ( <http://www.wikidata.org/entity/Q47000716> ) ( <http://www.wikidata.org/entity/Q47012085> ) ( <http://www.wikidata.org/entity/Q47012409> ) ( <http://www.wikidata.org/entity/Q47078679> ) ( <http://www.wikidata.org/entity/Q49722659> ) ( <http://www.wikidata.org/entity/Q49836494> ) ( <http://www.wikidata.org/entity/Q4768563> ) ( <http://www.wikidata.org/entity/Q5219327> ) ( <http://www.wikidata.org/entity/Q7421972> ) ( <http://www.wikidata.org/entity/Q17198027> ) ( <http://www.wikidata.org/entity/Q21528744> ) ( <http://www.wikidata.org/entity/Q22668575> ) ( <http://www.wikidata.org/entity/Q26945191> ) ( <http://www.wikidata.org/entity/Q26955603> ) ( <http://www.wikidata.org/entity/Q26955626> ) ( <http://www.wikidata.org/entity/Q26955632> ) ( <http://www.wikidata.org/entity/Q26956206> ) ( <http://www.wikidata.org/entity/Q26958512> ) ( <http://www.wikidata.org/entity/Q26958520> ) ( <http://www.wikidata.org/entity/Q26986916> ) ( <http://www.wikidata.org/entity/Q27043753> ) ( <http://www.wikidata.org/entity/Q27068218> ) ( <http://www.wikidata.org/entity/Q27068811> ) ( <http://www.wikidata.org/entity/Q27074384> ) ( <http://www.wikidata.org/entity/Q27243274> ) ( <http://www.wikidata.org/entity/Q27243275> ) ( <http://www.wikidata.org/entity/Q27243277> ) ( <http://www.wikidata.org/entity/Q27597437> ) ( <http://www.wikidata.org/entity/Q27672073> ) ( <http://www.wikidata.org/entity/Q27672075> ) ( <http://www.wikidata.org/entity/Q27672077> ) ( <http://www.wikidata.org/entity/Q27672078> ) ( <http://www.wikidata.org/entity/Q27672080> ) ( <http://www.wikidata.org/entity/Q27672083> ) ( <http://www.wikidata.org/entity/Q27672088> ) ( <http://www.wikidata.org/entity/Q27679639> ) ( <http://www.wikidata.org/entity/Q27679640> ) ( <http://www.wikidata.org/entity/Q27679643> ) ( <http://www.wikidata.org/entity/Q27763785> ) ( <http://www.wikidata.org/entity/Q27763794> ) ( <http://www.wikidata.org/entity/Q27780740> ) ( <http://www.wikidata.org/entity/Q27780741> ) ( <http://www.wikidata.org/entity/Q27780745> ) ( <http://www.wikidata.org/entity/Q27780747> ) ( <http://www.wikidata.org/entity/Q27780748> ) ( <http://www.wikidata.org/entity/Q27789665> ) ( <http://www.wikidata.org/entity/Q27789668> ) ( <http://www.wikidata.org/entity/Q27817683> ) ( <http://www.wikidata.org/entity/Q27824733> ) ( <http://www.wikidata.org/entity/Q27825090> ) ( <http://www.wikidata.org/entity/Q27914367> ) ( <http://www.wikidata.org/entity/Q27914456> ) ( <http://www.wikidata.org/entity/Q27914464> ) ( <http://www.wikidata.org/entity/Q47466227> ) } ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) [ <http://wikiba.se/ontology#timeValue> ?var2 ; <http://wikiba.se/ontology#timePrecision> ?var3 ; <http://wikiba.se/ontology#timeCalendarModel> ?var4 ] . }


Question: Is heart rhythm a type of human?

Can heart rhythm be classified as a human?

Is a human the most specific category that includes heart rhythm?

ASK WHERE { <http://www.wikidata.org/entity/Q5038333> ( <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 Wikipedia articles are linked to the IMDb ID tt1612582?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?wikipedia ?language WHERE {
  ?item wdt:P345 "tt1612582" .
  ?wikipedia schema:about ?item .
  ?wikipedia schema:inLanguage ?language .
}

Which language versions of Wikipedia have articles about the film with IMDb ID tt1612582?

Show me the Wikipedia pages for the movie identified by tt1612582, along with their languages.

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


Question: What English or German Wikipedia pages are about the movie with IMDb ID tt3565050?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?wikipedia_page WHERE {
  VALUES ?imdb_id {
    "tt3565050"
  }
  ?item wdt:P345 ?imdb_id .
  ?wikipedia_page schema:about ?item .
  ?wikipedia_page schema:inLanguage ?lang .
  FILTER ( ?lang = "en" || ?lang = "de" )
}

Which Wikipedia articles in English or German are linked to the film 'The History of Eternity' via its IMDb ID?

Show me the English and German Wikipedia pages for the movie identified by IMDb ID tt3565050.

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


Question: English or German Wikipedia page for the movie with IMDb ID tt6275262.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?movie ?wikipediaPage ?imdbId WHERE {
  ?movie wdt:P345 "tt6275262" .
  ?wikipediaPage schema:about ?movie .
  {
    ?wikipediaPage schema:inLanguage "en" .
  } UNION {
    ?wikipediaPage schema:inLanguage "de" .
  }
  ?movie wdt:P345 ?imdbId .
}

What is the English or German Wikipedia page for the movie identified by IMDb ID tt6275262?

Show me the Wikipedia page in English or German for the movie with IMDb ID tt6275262, along with its IMDb identifier.

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


Question: What is the English or German Wikipedia page for the movie with IMDb ID tt2267712?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?wikipedia_page WHERE {
  ?item wdt:P345 "tt2267712" .
  ?wikipedia_page schema:about ?item .
  {
    ?wikipedia_page schema:inLanguage "en" .
  } UNION {
    ?wikipedia_page schema:inLanguage "de" .
  }
}

Find the Wikipedia articles in English or German that are about the film identified by IMDb ID tt2267712.

Which Wikipedia pages in English or German discuss the movie with the IMDb identifier tt2267712?

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


Question: What English or German language Wikipedia pages are there for the movie with IMDb ID tt2182001?

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

Show me the Wikipedia and Commons pages about the film "Legenda No. 17" that are in English or German.

Which language-specific pages (in English or German) are linked to the IMDb movie tt2182001?

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


Question: What properties link China to other entities, and what are the counts and labels of those linked entities?

SELECT ?property (COUNT(?item) AS ?count) (GROUP_CONCAT(?itemLabel; SEPARATOR=", ") AS ?itemLabels) ?propertyLabel WHERE { wd:Q148 ?property ?item . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") . ?propertyItem wikibase:directClaim ?property . ?propertyItem rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = "en") . } GROUP BY ?property ?propertyLabel

For each property used to connect the People's Republic of China to other items, what is the property’s name, how many items are connected, and what are their English labels?

Show me all properties that connect China to other entities, along with the number of connected entities and their English names, and the English label of each property.

SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = ", " ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q148> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = "en" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } GROUP BY ?var1


Question: Wikidata item with IMDb ID tt0028112 and its English and German Wikipedia pages.

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?wikipedia_page WHERE {
  ?item wdt:P345 "tt0028112" .
  ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang .
  FILTER ( ?lang = "en" || ?lang = "de" )
}

What are the English and German Wikipedia articles about the film with IMDb ID tt0028112?

Show me the English and German Wikipedia pages for the movie identified by tt0028112 on IMDb.

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


Question: What are all the categories and supercategories of Eifa, Germany?

SELECT ?class ?classLabel WHERE { wd:Q1302840 ( wdt:P31 / wdt:P279* ) ?class . ?class rdfs:label ?classLabel . FILTER(LANG(?classLabel) = "en")}

What classes does the Ortsteil Eifa belong to, including its parent classes in the taxonomy?

List all the hierarchical categories that Eifa is part of, from its specific type up to the most general class.

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


Question: Living people born after 1880 who have a sign language label (media file) on Wikidata.

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?signLanguageMedia ?birthDate WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P569 ?birthDate .
  ?person wdt:P2919 ?signLanguageMedia .
  OPTIONAL {
    ?person wdt:P570 ?deathDate .
  }
  FILTER ( ?birthDate > "1880-01-01T00:00:00Z" ^^ xsd:dateTime ) FILTER ( ! BOUND( ?deathDate ) )
}
LIMIT 1000

Who are the living people born after 1880 that have a sign language representation documented as a media file on Wikidata?

Show me the names and birth dates of living people born after 1880, along with their sign language media files.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P2919> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } FILTER ( ( ( ?var2 > "1880-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . } LIMIT 1000


Question: What are the English and German Wikipedia pages for the film with IMDb ID tt0088850?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?film ?wikipediaPage WHERE {
  ?film wdt:P345 "tt0088850" .
  ?wikipediaPage schema:about ?film .
  ?wikipediaPage schema:inLanguage ?lang .
  VALUES ?lang {
    "en" "de"
  }
}

Show me the Wikipedia articles about Brewster's Millions (1985) in English and German.

Which language versions of Wikipedia have articles about the movie identified by tt0088850?

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


Question: Museums in Spain with Spanish names starting with "Museo"

SELECT ?museum ?label WHERE { ?museum wdt:P31 wd:Q33506 ; wdt:P17 wd:Q29 ; rdfs:label ?label . FILTER ( LANG(?label) = "es" ) FILTER ( REGEX(?label, "Museo") ) }

What are the names of museums in Spain in the Spanish language?

List all museums located in Spain that have their labels in Spanish and contain the word "Museo".

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


Question: What type of entity is Julius Nyerere in Wikidata?

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

What is the instance type of Julius Nyerere on Wikidata?

Tell me the category that Julius Nyerere belongs to in Wikidata.

SELECT ?var1 WHERE { <http://dbpedia.org/resource/Julius_Nyerere> <http://www.wikidata.org/prop/direct/P31> ?var2 . }


Question: Wikipedia pages in English and German for the movie with IMDb ID tt0061878

SELECT ?film ?wikipedia_page WHERE { ?film wdt:P345 "tt0061878" . ?wikipedia_page schema:about ?film ; schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") }

What are the English and German Wikipedia pages for the film identified by IMDb ID tt0061878?

Show me the English and German Wikipedia articles about the movie with IMDb ID tt0061878.

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


Question: Image of the person with SNAC ARK ID w69c6vx4

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

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

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

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


Question: What are the causes of death for notable individuals, listed with their names in English?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?person ?personLabel ?causeOfDeath ?causeOfDeathLabel WHERE {
  ?person wdt:P509 ?causeOfDeath .
  ?person rdfs:label ?personLabel .
  ?causeOfDeath rdfs:label ?causeOfDeathLabel .
  FILTER(LANG(?personLabel) = "en")
  FILTER(LANG(?causeOfDeathLabel) = "en")
}
LIMIT 1000

Can you list people and the causes of their death, using English labels?

Show me up to 1000 examples of people and how they died, with their names and causes in English.

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