Question: What are the occupations and place of birth of Siet Zuyderland?

SELECT ?occupation ?placeOfBirth WHERE { wd:Q21061145 wdt:P106 ?occupation ; wdt:P19 ?placeOfBirth . }

Can you tell me where Siet Zuyderland was born and what he did for a living?

Show me the profession and birthplace of the Dutch artist Siet Zuyderland.

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q21061145> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1028181> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }


Question: People who have resided in Germany

SELECT ?person ?personLabel WHERE { ?person wdt:P551 wd:Q183 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } LIMIT 10

Who are some people that have lived in Germany?

List 10 individuals with Germany as their place of residence, along with their names.

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


Question: People whose field of work is painting

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
SELECT ?person ?personLabel ?stmt WHERE {
  ?person p:P101 ?stmt .
  ?stmt ps:P101 wd:Q3305213 .
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}
LIMIT 101

Who are the people that have painting as their field of work?

List up to 101 people who work in painting, along with their names and statement identifiers.

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


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

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?movie ?wikipediaPage ?imdbId ?movieLabel WHERE {
  ?movie wdt:P345 "tt0079943" .
  {
    ?wikipediaPage schema:about ?movie ; schema:inLanguage "en" .
  } UNION {
    ?wikipediaPage schema:about ?movie ; schema:inLanguage "de" .
  }
  BIND( "tt0079943" AS ?imdbId ) ?movie rdfs:label ?movieLabel .
  FILTER ( LANG( ?movieLabel ) = "en" )
}

What is the English or German Wikipedia page for the movie with IMDb ID tt0079943, and what is its English title?

Show me the Wikipedia page (in English or German) for the movie identified by IMDb ID tt0079943, along with its English title.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0079943". } ?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 people are directly related to Robert Swartz via statements in Wikidata, and what properties describe those relationships?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?person ?statement ?property ( SAMPLE( ?qualifier ) AS ?qualifier_property ) WHERE {
  ?statement ?prop wd:Q21063784 .
  ?person ?claim ?statement .
  ?property wikibase:statementProperty ?prop .
  ?property wikibase:claim ?claim .
  FILTER ( ?property != wd:P31 ) OPTIONAL {
    ?statement ?qualifier ?value .
    ?property wikibase:qualifier ?qualifier .
  }
}
GROUP BY ?person ?statement ?property
LIMIT 101

Who are the individuals connected to Robert Swartz through familial relationships, and what are the properties used to describe those connections?

List the people who have a direct relationship with Robert Swartz (e.g., spouse or father), along with the type of relationship, and indicate if any qualifiers are attached to those statements.

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


Question: Image of the person with SNAC ARK ID w65b02rh

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

What is the image associated with Albert Namatjira in Wikidata?

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

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


Question: What is the English or German Wikipedia page for the film with IMDb ID tt1292575?

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

Show me the Wikipedia page for the movie "4bia" in English or German.

Which Wikipedia articles in English or German are about the movie identified by tt1292575?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1292575". } ?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: Hotels owned by IHG Hotels & Resorts with English Wikipedia pages and official websites.

SELECT ?hotel ?hotelLabel ?wikipediaArticle ?website ?type WHERE { ?hotel wdt:P127 wd:Q1424962 . ?wikipediaArticle schema:about ?hotel ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> . OPTIONAL { ?hotel wdt:P856 ?website . } OPTIONAL { ?hotel wdt:P31 ?type . } ?hotel rdfs:label ?hotelLabel . FILTER(LANG(?hotelLabel) = "en") }

Which hotels are owned by IHG Hotels & Resorts, and what are their English Wikipedia articles, official websites, and types?

List all hotels owned by IHG Hotels & Resorts, including their English Wikipedia links, official websites, and classifications.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q16994722> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> "en". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who is Yasmine Hamdan married to?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT ?spouse ?startDate WHERE {
  wd:Q195788 wdt:P26 ?spouse .
  OPTIONAL {
    wd:Q195788 p:P26 ?statement .
    ?statement ps:P26 ?spouse .
    ?statement pq:P580 ?startDate .
  }
}

What is the start date of Yasmine Hamdan’s marriage to her spouse?

Can you tell me Yasmine Hamdan’s spouse and when their relationship began?

SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/P26> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P26> <http://www.wikidata.org/entity/Q195788> . ?var1 <http://www.wikidata.org/prop/P26> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P26> <http://www.wikidata.org/entity/Q195788> . ?var2 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } LIMIT 10


Question: Is Antoni Gołkowski a type of software?

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

Does Antoni Gołkowski belong to any class that is a subclass of software?

Check whether Antoni Gołkowski is classified as software or any of its subclasses.

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


Question: Entities with official website siemens.com and their English or German Wikipedia pages.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?entity ?entityLabel ?wikipediaPage WHERE {
  ?entity wdt:P856 <https://www.siemens.com/> .
  ?wikipediaPage schema:about ?entity ; schema:inLanguage ?lang .
  FILTER ( ?lang IN ( "en" , "de" ) ) .
  ?entity rdfs:label ?entityLabel .
  FILTER ( LANG( ?entityLabel ) IN ( "en" , "de" ) )
}

Which entities have siemens.com as their official website, and what are their English or German Wikipedia articles?

Show me the labels and Wikipedia pages in English or German for the organization whose official website is siemens.com.

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


Question: People who are citizens of Germany.

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

Who are the people with German citizenship?

List all humans who hold German nationality.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q183> . }


Question: List people and their occupations in English.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?itemLabel ?occupationLabel WHERE {
  ?item wdt:P106 ?occupation .
  ?item rdfs:label ?itemLabel .
  ?occupation rdfs:label ?occupationLabel .
  FILTER(LANG(?itemLabel) = "en")
  FILTER(LANG(?occupationLabel) = "en")
  FILTER(STRSTARTS(STR(?item) , "http://www.wikidata.org/entity/Q"))
}
LIMIT 100

Who are some people and what are their occupations according to Wikidata?

Show me a list of individuals along with their English labels and their occupations.

SELECT ?var1Label ?var2Label ?var3 WHERE { ?var1Label ?var2Label ?var3 . }


Question: Who are the relatives of Donald Trump?

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 ?relative ?relativeLabel WHERE {
  ?relative wdt:P1038 wd:Q22686 .
  ?relative rdfs:label ?relativeLabel .
  FILTER ( LANG( ?relativeLabel ) = "en" )
}

List Donald Trump’s family members according to Wikidata.

Can you show me the names of people who are related to Donald Trump by family ties?

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


Question: What is the English or German Wikipedia page for the film with IMDb ID tt0013194?

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

Which Wikipedia pages in English or German are about the movie identified by IMDb ID tt0013194?

Show me the Wikipedia links in English or German for the film that has the IMDb identifier tt0013194.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0013194". } ?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 official website of Outdooractive, and what are its English and German labels?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?itemLabel ?url WHERE {
  ?item wdt:P856 <https://www.outdooractive.com> .
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en" || LANG(?itemLabel) = "de")
  BIND(<https://www.outdooractive.com> AS ?url)
}

Show me the entity with the official website https://www.outdooractive.com along with its English and German names.

Which item has the official website outdooractive.com, and what are its labels in English and German?

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


Question: What are the English and German Wikipedia pages and the official website for China Airlines?

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 wdt:P856 <https://www.china-airlines.com> . ?var2 schema:about ?var1 ; schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") . ?var1 wdt:P856 ?var3 . OPTIONAL { ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en") } }

Which Wikipedia pages in English or German are about China Airlines, and what is its official website?

Show me the English and German language Wikipedia pages linked to China Airlines, along with its official website URL.

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


Question: What is the occupation of Jan Bouwman?

SELECT ?occupation WHERE { wd:Q4333918 wdt:P106 ?occupation .}

What job did Dutch swimmer Jan Bouwman have?

Tell me the occupation associated with Jan Bouwman in Wikidata.

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q4333918> <https://www.wikidata.org/wiki/Property:P106> ?var1 . }


Question: Who are the children of Margaret Leijonhufvud?

SELECT DISTINCT ?child WHERE { ?child wdt:P25 wd:Q239443 . }

List all the offspring of Margaret Leijonhufvud, the Queen consort of Sweden.

Which individuals have Margaret Leijonhufvud as their mother?

SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P25> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P25> <http://www.wikidata.org/entity/Q239443> . } LIMIT 101


Question: Who is the spouse of Conway Berners-Lee?

SELECT ?spouse ?spouseLabel WHERE { wd:Q5166696 wdt:P26 ?spouse . ?spouse rdfs:label ?spouseLabel . FILTER(LANG(?spouseLabel) = "en") }

What is the name of Conway Berners-Lee’s spouse?

SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/P26> ?var1 . ?var1 <http://www.wikidata.org/prop/statement/P26> <http://www.wikidata.org/entity/Q5166696> . } LIMIT 10


Question: Who are the 101 people born in Gothenburg, and what are their birth statement identifiers in Wikidata?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?person ?statement WHERE {
  ?person p:P19 ?statement .
  ?statement ps:P19 wd:Q25287 .
}
LIMIT 101

List the top 101 individuals born in Gothenburg along with their associated birth statements.

Can you show me a list of people born in Gothenburg and their Wikidata birth statement nodes?

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


Question: What are the occupations of Charles Boissevain?

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 ?occupationLabel WHERE {
  wd:Q2934335 wdt:P106 ?occupation .
  ?occupation rdfs:label ?occupationLabel .
  FILTER ( LANG( ?occupationLabel ) = "en" )
}

Can you tell me what jobs Charles Boissevain has had?

Is Charles Boissevain a journalist or a writer?

SELECT( "1"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var1 ) WHERE { <http://www.wikidata.org/entity/Q2934335> <http://www.wikidata.org/prop/direct/P106> ?var2 . FILTER ( ( EXISTS { <http://www.wikidata.org/entity/Q2934335> <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . } ) ) . }


Question: Humans with occupations and no Wikipedia description, in English.

SELECT ?human ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P106 ?occupation . FILTER NOT EXISTS { ?human schema:description ?desc } ?human rdfs:label ?humanLabel . FILTER (LANG(?humanLabel) = "en" || LANG(?humanLabel) = "") } LIMIT 100

Who are some people with occupations who don’t have any Wikipedia description?

List 100 humans who have an occupation and no description, showing their English names.

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/P106> ?var3 . FILTER ( ( NOT EXISTS { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "zh" ) ) ) . } ) ) . } LIMIT 100


Question: What entities have the official website https://www.eventbrite.com, and what are their labels and associated resources?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?itemLabel ?about WHERE {
  ?item wdt:P856 <https://www.eventbrite.com> .
  ?about schema:about ?item .
  ?item rdfs:label ?itemLabel .
}

Which Wikipedia articles are about Eventbrite, given that its official website is https://www.eventbrite.com?

Can you find the official website of Eventbrite and list the resources that are about it?

SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.oneplace.events/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.oneplace.events/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.oneplace.events/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.oneplace.events/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.oneplace.events> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.oneplace.events> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://oneplace.events> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://oneplace.events> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://oneplace.events/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://oneplace.events/> . } ?var2 <http://schema.org/about> ?var1 . 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 tt0253189

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

What is the English or German Wikipedia page for the film with IMDb identifier tt0253189?

Show me the English or German Wikipedia article linked to the film Serafin Geronimo (IMDb: tt0253189).

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0253189". } ?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: Who is the female grandmother of Ellen Key, and who is her child?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?grandmother ?parent WHERE {
  ?grandmother wdt:P21 wd:Q6581072 .
  ?grandmother wdt:P40 ?parent .
  ?parent wdt:P40 wd:Q238443 .
}
LIMIT 101

Female ancestors of Ellen Key who are two generations above her.

Find all females who are the mothers of Ellen Key’s parent — that is, Ellen Key’s maternal grandmothers — and identify their children.

SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P21> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/P40> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P40> ?var2 . ?var2 <http://www.wikidata.org/prop/P40> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P40> <http://www.wikidata.org/entity/Q238443> . } LIMIT 101


Question: Image of the person with SNAC ARK ID w6kd1vzh

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

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

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

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


Question: What is the official website of Penguin Books, and what are its English and German Wikipedia descriptions?

SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P856 <https://penguin.co.uk/> . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en" || LANG(?itemLabel) = "de") . ?description schema:about ?item . { ?description schema:inLanguage "en" . } UNION { ?description schema:inLanguage "de" . } }

Show me the label and Wikipedia descriptions in English or German for the organization with the official website penguin.co.uk.

Which entity has penguin.co.uk as its official website, and what are its labels and descriptions in English or German?

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


Question: Female children of Fredric Ulric von Essen and their spouses.

SELECT DISTINCT ?femaleChild ?spouse WHERE { wd:Q5719571 wdt:P40 ?femaleChild . ?femaleChild wdt:P21 wd:Q6581072 . ?femaleChild wdt:P26 ?spouse . } LIMIT 101

Who are the daughters of Fredric Ulric von Essen and who did they marry?

List the female offspring of Fredric Ulric von Essen along with their spouses.

SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P21> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P21> <http://www.wikidata.org/entity/Q6581072> . <http://www.wikidata.org/entity/Q5719571> <http://www.wikidata.org/prop/P40> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P40> ?var2 . ?var2 <http://www.wikidata.org/prop/P40> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P40> ?var1 . } LIMIT 101


Question: Who is Anne Hathaway’s current spouse?

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?spouse ?spouseLabel ?statement WHERE {
  wd:Q36301 p:P26 ?statement .
  ?statement ps:P26 ?spouse .
  ?statement pq:P580 ?start . MINUS {
    ?statement pq:P582 ?end .
  }
  ?spouse rdfs:label ?spouseLabel .
  FILTER(LANG(?spouseLabel) = "en")
}
LIMIT 10

Show me the name of Anne Hathaway’s spouse, excluding any past spouses.

What is the name of Anne Hathaway’s living husband or wife, based on Wikidata records?

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { { ?var1 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } MINUS { ?var1 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } ?var2 <http://www.wikidata.org/prop/P26> ?var1 . ?var1 <http://www.wikidata.org/prop/statement/P26> <http://www.wikidata.org/entity/Q36301> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 10


Question: Image of Mariano Rumor with SNAC ARK ID w6393btw

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

What is the image of the person identified by the SNAC ARK ID w6393btw?

Show me the Wikimedia Commons image associated with Mariano Rumor’s SNAC ID w6393btw.

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


Question: People born in Cuxhaven or its administrative subdivisions.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person WHERE {
  ?person wdt:P19 / wdt:P131 * wd:Q4197 .
}

Who were born in Cuxhaven or any of its surrounding administrative areas?

List all individuals whose place of birth is located within the administrative territory of Cuxhaven, Germany.

SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P19> / <http://www.wikidata.org/prop/direct/P131> *) <http://www.wikidata.org/entity/Q4197> . }


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

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

Can you find the Wikipedia articles in English and German about the film identified by tt0100912 on IMDb?

Show me the Wikipedia links in English and German for the movie identified by tt0100912 on IMDb.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0100912". } ?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: Who are the direct children of Genghis Khan, and do they have any images or children listed in Wikidata?

SELECT ?child ?childLabel ?image ?grandchild WHERE { wd:Q720 wdt:P40 ?child . OPTIONAL { ?child wdt:P18 ?image . } OPTIONAL { ?child wdt:P40 ?grandchild . } ?child rdfs:label ?childLabel . FILTER(LANG(?childLabel) = "en") } LIMIT 100

List Genghis Khan’s children with their English names, photos if available, and their own children.

What are the descendants of Genghis Khan in the first two generations, including their images and offspring?

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q720> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var4 ; <http://www.bigdata.com/rdf/gas#maxIterations> "5"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P40> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: People born in Béziers, France

SELECT ?person ?personLabel ?birthStatement WHERE { ?person p:P19 ?birthStatement . ?birthStatement ps:P19 wd:Q174019 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } LIMIT 101

List the names of 101 people born in the city of Béziers, along with their Wikidata identifiers.

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


Question: Given names, family names, occupations, birth dates, death dates, countries of citizenship, and fathers of all humans in Wikidata.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?human ?givenName ?familyName ?occupation ?dateOfBirth ?dateOfDeath ?country ?father WHERE {
  ?human wdt:P31 wd:Q5 .
  ?human wdt:P735 ?givenName .
  ?human wdt:P734 ?familyName .
  ?human wdt:P106 ?occupation .
  ?human wdt:P569 ?dateOfBirth .
  OPTIONAL {
    ?human wdt:P570 ?dateOfDeath .
  }
  OPTIONAL {
    ?human wdt:P27 ?country .
  }
  OPTIONAL {
    ?human wdt:P22 ?father .
  }
}
LIMIT 10000

What are the full names, occupations, birth and death dates, countries of citizenship, and fathers of all humans recorded in Wikidata?

Can you list the biographical details — including given name, family name, occupation, date of birth, date of death (if available), country of citizenship, and father — for up to 10,000 humans in Wikidata?

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P735> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P734> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P22> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "hr,en,es,de". } } LIMIT 10000


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

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

Find the Wikipedia article in English or German about the film identified by IMDb ID tt1188982.

Which language versions of Wikipedia have an article about the movie 'Jai Ho' (IMDb: tt1188982)?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1188982". } ?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: Is Nils af Ström a type of software?

Does the category of software include Nils af Ström as an instance?

Could Nils af Ström be considered a kind of computer program?

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


Question: Who are the descendants of Hel in Norse mythology, and do they have any children?

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 ?descendant ?descendantLabel ?child WHERE {
  wd:Q191589 wdt:P40 * ?descendant .
  OPTIONAL {
    ?descendant wdt:P40 ?child .
  }
  ?descendant rdfs:label ?descendantLabel .
  FILTER ( LANG( ?descendantLabel ) = "en" )
}

Does Hel, the Norse death goddess, have any children or descendants?

List all descendants of Hel from Norse mythology and their children, if any.

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


Question: What are the occupations of Arnold Houbraken?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?occupation WHERE {
  wd:Q514276 wdt:P106 ?occupation .
}

Can you list all the professions associated with the Dutch artist Arnold Houbraken?

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q514276> <https://www.wikidata.org/wiki/Property:P106> ?var1 . }


Question: Is Rogelio Naguil classified as a type of software?

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

Does the person Rogelio Naguil belong to any subclass of software?

Could Rogelio Naguil be considered a software item based on his Wikidata classification?

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


Question: What is the gender, occupation, and country of citizenship of Monika Cassens, and when did she die?

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 ?dateOfDeath ?genderLabel(GROUP_CONCAT(?occupationLabel ; SEPARATOR = ", ") AS ?occupations)(GROUP_CONCAT(?countryLabel ; SEPARATOR = ", ") AS ?countries) WHERE {
  wd:Q1944590 wdt:P106 ?occupation .
  wd:Q1944590 wdt:P27 ?country .
  wd:Q1944590 wdt:P21 ?gender .
  OPTIONAL {
    wd:Q1944590 wdt:P570 ?dateOfDeath .
  }
  ?occupation rdfs:label ?occupationLabel .
  ?country rdfs:label ?countryLabel .
  ?gender rdfs:label ?genderLabel .
  FILTER(LANG(?occupationLabel) = "en")
  FILTER(LANG(?countryLabel) = "en")
  FILTER(LANG(?genderLabel) = "en")
}
GROUP BY ?dateOfDeath ?genderLabel

Tell me Monika Cassens’s gender, what she did for a living, which countries she was a citizen of, and if she has passed away.

Is Monika Cassens still alive? What was her profession and nationality?

SELECT ?var1 ?var2Label ( GROUP_CONCAT ( ?var3Label ; SEPARATOR = ", " ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = ", " ) AS ?var6 ) WHERE { SELECT ?var1 ?var2Label ?var3Label ?var5Label WHERE { <http://www.wikidata.org/entity/Q1944590> <http://www.wikidata.org/prop/direct/P106> ?var3 . <http://www.wikidata.org/entity/Q1944590> <http://www.wikidata.org/prop/direct/P27> ?var5 . <http://www.wikidata.org/entity/Q1944590> <http://www.wikidata.org/prop/direct/P21> ?var2 . OPTIONAL { <http://www.wikidata.org/entity/Q1944590> <http://www.wikidata.org/prop/direct/P570> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } } GROUP BY ?var1 ?var2Label


Question: Is Edward O. Morgan a type of software?

Does Edward O. Morgan belong to any category that is a subclass of software?

Check whether Edward O. Morgan is classified as software or a subtype of software.

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


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

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

Show me the Wikipedia articles in English and German about the film Open Range.

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

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0316356". } ?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: Is Manuel Millares Vázquez a type of software?

Could Manuel Millares Vázquez be considered an instance of software or any of its subclasses?

Is there any hierarchical relationship between Manuel Millares Vázquez and software, where he is an instance of something that is a subclass of software?

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


Question: What are the Wikipedia pages in English, German, or Turkish for the TV show or movie with IMDb ID tt7717990?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?wikipediaPage WHERE {
  ?item wdt:P345 "tt7717990" .
  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .
  FILTER ( ?lang IN ( "en" , "de" , "tr" ) )
}

Find the Wikipedia links in Turkish, German, or English for the item identified by IMDb ID tt7717990.

Which language versions of Wikipedia have articles about the content with IMDb identifier tt7717990?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt7717990". } ?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> "tr". } ?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: Descendants of Emperor Jimmu and their children

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 ?descendant ?descendantLabel ?child WHERE {
  wd:Q200188 wdt:P40 * ?descendant .
  OPTIONAL {
    ?descendant wdt:P40 ?child .
  }
  OPTIONAL {
    ?descendant rdfs:label ?descendantLabel .
    FILTER ( LANG( ?descendantLabel ) = "en" )
  }
}

Who are the descendants of Emperor Jimmu, and who are their children?

List all descendants of Emperor Jimmu along with their offspring.

SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q200188> <http://www.wikidata.org/prop/direct/P40> * ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var2 . } 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 tt0049471?

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

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

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

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0049471". } ?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: Is Albert L. Farr a type of software?

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

Is Albert L. Farr an instance of software or any of its subclasses?

Confirm whether Albert L. Farr belongs to the category of software or any broader category that includes software.

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


Question: What are the population figures of Schwerin over time?

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?date ?population WHERE {
  wd:Q1709 p:P1082 ?statement .
  ?statement pq:P585 ?date .
  ?statement ps:P1082 ?population .
}

When was Schwerin's population recorded, and what were the numbers?

Can you show me the population of Schwerin for each year it was measured?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q1709> <http://www.wikidata.org/prop/P1082> ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P585> ?var1 . ?var3 <http://www.wikidata.org/prop/P1082> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,en". } }


Question: Descendants of Queen Elizabeth II up to five generations.

SELECT ?descendant ?descendantLabel WHERE { VALUES ?start { wd:Q9682 } { ?start wdt:P40 ?descendant . } UNION { ?start wdt:P40 ?level1 . ?level1 wdt:P40 ?descendant . } UNION { ?start wdt:P40 ?level1 . ?level1 wdt:P40 ?level2 . ?level2 wdt:P40 ?descendant . } UNION { ?start wdt:P40 ?level1 . ?level1 wdt:P40 ?level2 . ?level2 wdt:P40 ?level3 . ?level3 wdt:P40 ?descendant . } UNION { ?start wdt:P40 ?level1 . ?level1 wdt:P40 ?level2 . ?level2 wdt:P40 ?level3 . ?level3 wdt:P40 ?level4 . ?level4 wdt:P40 ?descendant . } ?descendant rdfs:label ?descendantLabel . FILTER(LANG(?descendantLabel) = "en") }

Who are all the descendants of Queen Elizabeth II within five generations?

List the English names of all known descendants of Queen Elizabeth II up to five levels deep in her family tree.

SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q9682> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "5"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P1971> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1971> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Serbian-language occupations in Wikidata

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

What occupations in Wikidata have labels and descriptions in Serbian?

Show me the Serbian labels and descriptions of all occupations listed in Wikidata.

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/P106> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "sr" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "sr" ) ) ) . } LIMIT 100


Question: People born in New York City with English names.

SELECT ?nativeName ?birthName WHERE { ?person wdt:P19 wd:Q60 . ?person wdt:P1559 ?nativeName . FILTER(LANG(?nativeName) = "en") OPTIONAL { ?person wdt:P1477 ?birthName . FILTER(LANG(?birthName) = "en") } }

Who are the people born in New York City whose names are given in English?

Show me the names and birth names (if available) of people born in New York City, but only those written in English.

SELECT ?var1Label ?var2Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q60> . ?var3 <http://www.wikidata.org/prop/direct/P1559> ?var1 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1477> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } FILTER ( ( LANGMATCHES ( LANG ( ?var4Label ) , "EN" ) ) ) . }


Question: Who are the family members of Wilhelm Abenius, and what is their relationship to him?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?relatedPerson ?property WHERE {
  ?relatedPerson ?property wd:Q5551317 .
  ?relatedPerson wdt:P31 wd:Q5 .
  FILTER(?property != wd:P31)
}
ORDER BY ?relatedPerson

List all humans who have a direct familial relationship with Wilhelm Abenius and specify the type of relationship.

What are the familial connections between Wilhelm Abenius and other people, excluding "instance of" statements?

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


Question: What is the occupation of Jan van Gendt?

SELECT ?occupationLabel WHERE { wd:Q1852627 wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = "en")}

Tell me the profession of Jan van Gendt.

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q1852627> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }


Question: Istanbul country, population, coordinates, and descriptions in different languages

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ?value WHERE {
  wd:Q406 ?property ?value .
  FILTER ( ?property IN ( wdt:P17 , wdt:P1082 , wdt:P625 , wdt:P131 , wdt:P1376 , wdt:P571 , rdfs:label , schema:description ) )
}

What are the population, location, country, and historical significance of Istanbul, along with its descriptions in various languages?

Show me the key facts about Istanbul, including where it is, its population, when it became a capital, and how it’s described in different languages.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q406> ?var1 ?var2 . }


Question: Who are the people born, died, or lived in Sankt Andreasberg?

SELECT ?human ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = "en") { ?human wdt:P19 wd:Q661700 } UNION { ?human wdt:P20 wd:Q661700 } UNION { ?human wdt:P551 wd:Q661700 } } LIMIT 100

Can you list all humans associated with Sankt Andreasberg through birth, death, or residence?

Which individuals have Sankt Andreasberg as their place of birth, place of death, or residence?

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


Question: What is the English or German Wikipedia page for the film with IMDb ID tt0233471?

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 .
  ?wikipedia_page schema:about ?item .
  ?wikipedia_page schema:inLanguage ?lang .
  FILTER(?lang = "en" || ?lang = "de")
  FILTER(?imdb_id = "tt0233471")
}

Which Wikipedia articles in English or German are about the movie identified by IMDb ID tt0233471?

Show me the Wikipedia page in English or German for the movie with IMDb ID tt0233471, along with the movie's identifier.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0233471". } ?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 descendants of Sigismund III Vasa up to four generations deep, and do they have any known portraits?

SELECT ?descendant ?descendantLabel ?image WHERE { { wd:Q52940 wdt:P40 ?descendant . } UNION { wd:Q52940 wdt:P40 ?gen1 . ?gen1 wdt:P40 ?descendant . } UNION { wd:Q52940 wdt:P40 ?gen1 . ?gen1 wdt:P40 ?gen2 . ?gen2 wdt:P40 ?descendant . } UNION { wd:Q52940 wdt:P40 ?gen1 . ?gen1 wdt:P40 ?gen2 . ?gen2 wdt:P40 ?gen3 . ?gen3 wdt:P40 ?descendant . } OPTIONAL { ?descendant rdfs:label ?descendantLabel . FILTER(LANG(?descendantLabel) = "en") } OPTIONAL { ?descendant wdt:P18 ?image . } } ORDER BY ?descendant

List the children, grandchildren, great-grandchildren, and great-great-grandchildren of Sigismund III Vasa along with their English names and images if available.

Show me the family tree of Sigismund III Vasa for four generations, including any available images and English labels of his descendants.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q52940> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var4 ; <http://www.bigdata.com/rdf/gas#maxIterations> "4"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P40> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl". } }


Question: German municipalities with people born or residing there and their occupations

SELECT ?municipalityKey ?person (SAMPLE(?occupation) AS ?sampledOccupation) WHERE { ?location wdt:P439 ?municipalityKey . ?person (wdt:P19 | wdt:P551) ?location ; wdt:P106 ?occupation . } GROUP BY ?municipalityKey ?person LIMIT 1000000000

For each person born in or living in a German municipality, what is one of their occupations?

List the German municipality keys, the people associated with them (via birth or residence), and one of their occupations.

SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P439> ?var1 . ?var2 ( <http://www.wikidata.org/prop/direct/P19> | <http://www.wikidata.org/prop/direct/P551> ) ?var4 ; <http://www.wikidata.org/prop/direct/P106> ?var3 . } GROUP BY ?var1 ?var2 LIMIT 1000000000


Question: Who are the people listed as gangsters in Wikidata?

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 ?person ?personLabel WHERE {
  ?person wdt:P106 wd:Q46961 .
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}
ORDER BY ?personLabel
LIMIT 1000

Can you list all individuals whose occupation is gangster, along with their names?

Which notable gangsters have English Wikipedia pages?

SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P106> ) ( <http://www.wikidata.org/prop/direct/P101> ) ( <http://www.wikidata.org/prop/direct/P39> ) } ?var1 ?var3 <http://www.wikidata.org/entity/Q46961> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > "0"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000


Question: Who are the parents of Alexander, Byzantine emperor, and what are their other children?

SELECT ?parent ?parentLabel ?child WHERE { ?parent wdt:P40 wd:Q294425 . ?parent wdt:P40 ?child . OPTIONAL { ?parent rdfs:label ?parentLabel . FILTER(LANG(?parentLabel) = "en") } }

List all siblings of Alexander, Emperor of Constantinople, along with their parents.

Which children do the parents of Alexander have?

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


Question: Dutch occupation of Johannes van den Bosch

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 ?occupationLabel ?occupation WHERE {
  wd:Q731865 wdt:P106 ?occupation .
  ?occupation rdfs:label ?occupationLabel .
  FILTER ( LANG( ?occupationLabel ) = "nl" )
}

What is Johannes van den Bosch's occupation in Dutch?

Show me the Dutch label for the occupation of Johannes van den Bosch.

SELECT ?var1Label ?var1 WHERE { <http://www.biografischportaal.nl/persoon/09366209> <http://www.wikidata.org/prop/direct/P106> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( "nl" = LANG ( ?var1Label ) ) ) ) . }


Question: What are the currently designated heritage sites in Smiths Falls, Ontario, and where are they located?

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?site ?siteLabel ?locationLabel ?coord ?image WHERE {
  ?site ( wdt:P1435 / wdt:P279 * ) wd:Q14469659 .
  ?site p:P1435 ?designation .
  FILTER ( NOT EXISTS {
    ?designation pq:P582 ?endDate
  }
  ) ?site ( wdt:P131 / wdt:P131 * ) wd:Q1938153 .
  ?site wdt:P131 ?location .
  ?site rdfs:label ?siteLabel .
  ?location rdfs:label ?locationLabel .
  FILTER ( LANG( ?siteLabel ) = "en" ) FILTER ( LANG( ?locationLabel ) = "en" ) OPTIONAL {
    ?site wdt:P625 ?coord
  }
  OPTIONAL {
    ?site wdt:P18 ?image
  }
}
ORDER BY ASC ( ?locationLabel ) ASC ( ?siteLabel )

Show me images and coordinates of all heritage sites in Smiths Falls that haven't lost their designation.

List heritage sites in Smiths Falls, Canada, sorted alphabetically by location and site name, along with their maps and pictures if available.

SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P1435> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q14469659> . ?var1 <http://www.wikidata.org/prop/P1435> ?var5 . FILTER ( ( NOT EXISTS { ?var5 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } ) ) . } } ?var1 ( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P131> *) <http://www.wikidata.org/entity/Q1938153> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } } GROUP BY ?var1 ?var1Label ?var2Label ?var3 ?var4 ORDER BY ASC( ?var2Label )ASC( ?var1Label )


Question: Image of Ferdinand Ritter von Hebra (SNAC ARK ID: w61n8tfg)

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

What is the image associated with the SNAC ARK ID "w61n8tfg"?

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

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


Question: What is the English Wikipedia page title for the movie with IMDb ID tt2302529?

SELECT ?item ?itemLabel ?wikipediaPage ?pageTitle WHERE { ?item wdt:P345 "tt2302529" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") . BIND(STRAFTER(STR(?wikipediaPage), "/wiki/") AS ?pageTitle) . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en" || LANG(?itemLabel) = "de") }

What is the name of the English Wikipedia article about the film identified by IMDb ID tt2302529?

Show me the English Wikipedia title and the film’s name for the movie with IMDb ID tt2302529.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt2302529". } ?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: Family members of Thomas Blake (11th Baronet, died 1764), including parents, siblings, spouse, children, stepparents, and unmarried partners.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?familyMember ?familyMemberLabel WHERE {
  VALUES ?property {
    wdt:P22 wdt:P25 wdt:P26 wdt:P3373 wdt:P3448 wdt:P451 wdt:P1038
  }
  {
    ?familyMember ?property wd:Q50841775 .
  } UNION {
    wd:Q50841775 wdt:P40 ?familyMember .
  }
  ?familyMember rdfs:label ?familyMemberLabel .
  FILTER(LANG(?familyMemberLabel) = "en")
  ?familyMember wdt:P31 wd:Q5 .
}
ORDER BY ?familyMemberLabel

Who are the direct family members of Thomas Blake, the 11th Baronet who died in 1764?

List all known relatives of Thomas Blake (Q50841775) such as his parents, siblings, spouse, children, stepparents, and unmarried partners, with their English labels.

SELECT DISTINCT ?var1 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/prop/direct/P22> ) ( <http://www.wikidata.org/prop/direct/P25> ) ( <http://www.wikidata.org/prop/direct/P3448> ) ( <http://www.wikidata.org/prop/direct/P26> ) ( <http://www.wikidata.org/prop/direct/P3373> ) ( <http://www.wikidata.org/prop/direct/P1038> ) ( <http://www.wikidata.org/prop/direct/P451> ) ( <http://www.wikidata.org/prop/direct/P40> ) } VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q50841775> ) } { ?var3 ?var2 ?var1 . } UNION { ?var1 ?var2 ?var3 . } UNION { ?var3 ?var2 ?var4 . ?var4 ?var2 ?var1 . } UNION { ?var3 ?var2 ?var4 . ?var1 ?var2 ?var4 . } }


Question: Image of Richard Morton with SNAC ARK ID w6cw4brq

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

What is the image associated with the person having the SNAC ARK ID w6cw4brq?

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

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


Question: English label, description, and image of Ottawa (Ontario electoral district)

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

What is the English label and description of Ottawa, and is there an image of it on Wikimedia Commons?

Show me the English name and description of the Ottawa electoral district in Ontario, along with its image if available.

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


Question: Labels for North America in English, German, French, and Italian, along with its image and coordinates.

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 ?image ?coordinates WHERE {
  wd:Q49 rdfs:label ?label .
  FILTER ( LANG( ?label ) IN ( "en" , "de" , "fr" , "it" ) ) OPTIONAL {
    wd:Q49 wdt:P18 ?image .
  }
  OPTIONAL {
    wd:Q49 wdt:P625 ?coordinates .
  }
  VALUES ( ?lang ?priority ) {
    ( "en" 1 ) ( "de" 2 ) ( "fr" 3 ) ( "it" 4 )
  }
  FILTER ( ?lang = LANG( ?label ) )
}
ORDER BY ?priority

What are the names of North America in English, German, French, and Italian, and what is its image and geographic location?

Show me the multilingual labels for North America (in English, German, French, and Italian), its satellite image, and its coordinates, ordered by language preference.

SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q49> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( "undefined""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/Q49> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q49> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "undefined" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q49> <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/Q49> ; <http://schema.org/inLanguage> "undefined"; <http://schema.org/isPartOf> <https://undefined.wikipedia.org/> . } } ORDER BY ASC( ?var8 )


Question: Who are the people named Ben Ali in French-language sources on Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?item WHERE {
  ?item rdfs:label ?label .
  FILTER(LANG(?label) = 'fr')
  .
  FILTER(CONTAINS(LCASE(?label) , 'ben ali'))
  .
  ?item wdt:P31 wd:Q5
}

Can you list all humans whose French label includes "Ben Ali"?

Which individuals in Wikidata have "Ben Ali" as part of their French name?

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


Question: Children of Juan Carlos I of Spain

SELECT ?child ?childLabel WHERE { wd:Q19943 wdt:P40 ?child . ?child rdfs:label ?childLabel . FILTER(LANG(?childLabel) = "en") }

Who are the children of Juan Carlos I of Spain?

List the English labels of Juan Carlos I's children.

SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q19943> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Reverse"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxVisited> "1"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P40> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who were born or died in Checkley, Staffordshire, and what are their birth and death dates?

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

Can you list people associated with Checkley as their place of birth or death, along with their dates of birth and death?

Which notable individuals from Checkley have recorded birth and death dates in Wikidata?

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


Question: What are the birth and death dates of Thomas Glyn of Lanhydrock?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?personLabel ?birthDate ?deathDate WHERE {
  BIND(wd:Q110440267 AS ?person)
  .
  ?person wdt:P31 wd:Q5 .
  OPTIONAL {
    ?person wdt:P569 ?birthDate .
  }
  OPTIONAL {
    ?person wdt:P570 ?deathDate .
  }
}

Can you find the date of birth and date of death for the human associated with Lanhydrock?

Show the birth and death information for Thomas Glyn, who is linked to Lanhydrock.

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


Question: People born in Weimar with names containing the letter 'a'

SELECT ?person ?label WHERE { ?person wdt:P19 wd:Q3955 . ?person rdfs:label ?label . FILTER(LANG(?label) = "en") FILTER(CONTAINS(LCASE(STR(?label)), "a")) } ORDER BY ASC(?label) LIMIT 300

Who are the people born in Weimar whose names include the letter 'a'?

List all people born in Weimar whose English Wikipedia labels contain the letter 'a', sorted alphabetically.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q3955> . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , "A" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY ASC( ?var1Label ) LIMIT 300


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

SELECT ?item ?wikiPage WHERE { ?item wdt:P345 "tt3330764" . ?wikiPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") }

What is the English or German Wikipedia page for the film with IMDb ID tt3330764?

Show me the English or German Wikipedia article about the movie identified by tt3330764 on IMDb.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt3330764". } ?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: Who are the direct family members of John Stewart, 6th Earl of Traquair, including parents, children, spouse, siblings, stepparents, and unmarried partners?

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 ?relative ?relativeLabel WHERE {
  {
    wd:Q42656490 wdt:P22 ?relative .
  } UNION {
    wd:Q42656490 wdt:P25 ?relative .
  } UNION {
    wd:Q42656490 wdt:P26 ?relative .
  } UNION {
    wd:Q42656490 wdt:P3373 ?relative .
  } UNION {
    wd:Q42656490 wdt:P40 ?relative .
  } UNION {
    wd:Q42656490 wdt:P3448 ?relative .
  } UNION {
    wd:Q42656490 wdt:P451 ?relative .
  }
  ?relative rdfs:label ?relativeLabel .
  FILTER(LANG(?relativeLabel) = "en")
}

What are the names of John Stewart, 6th Earl of Traquair’s relatives connected by direct family relationships such as father, mother, spouse, or child?

List the English-labeled relatives of John Stewart, 6th Earl of Traquair, based on direct kinship properties like P22, P25, P26, P3373, P40, P3448, and P451.

SELECT DISTINCT ?var1 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/prop/direct/P22> ) ( <http://www.wikidata.org/prop/direct/P25> ) ( <http://www.wikidata.org/prop/direct/P3448> ) ( <http://www.wikidata.org/prop/direct/P26> ) ( <http://www.wikidata.org/prop/direct/P3373> ) ( <http://www.wikidata.org/prop/direct/P1038> ) ( <http://www.wikidata.org/prop/direct/P451> ) ( <http://www.wikidata.org/prop/direct/P40> ) } VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q42656490> ) } { ?var3 ?var2 ?var1 . } UNION { ?var1 ?var2 ?var3 . } UNION { ?var3 ?var2 ?var4 . ?var4 ?var2 ?var1 . } UNION { ?var3 ?var2 ?var4 . ?var1 ?var2 ?var4 . } }


Question: Who are the direct family members of Hugh Montgomerie, 1st Earl of Eglinton?

SELECT DISTINCT ?relative WHERE { VALUES ?relationship { wdt:P22 wdt:P25 wdt:P3448 wdt:P26 wdt:P3373 wdt:P451 wdt:P40 wdt:P1038 } { wd:Q5931973 ?relationship ?relative . } UNION { ?relative ?relationship wd:Q5931973 . } }

Can you list all the people related to Hugh Montgomerie, 1st Earl of Eglinton as his parents, children, siblings, spouse, or other relatives?

Show me everyone connected to Hugh Montgomerie, 1st Earl of Eglinton through family ties like father, mother, child, spouse, or sibling.

SELECT DISTINCT ?var1 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/prop/direct/P22> ) ( <http://www.wikidata.org/prop/direct/P25> ) ( <http://www.wikidata.org/prop/direct/P3448> ) ( <http://www.wikidata.org/prop/direct/P26> ) ( <http://www.wikidata.org/prop/direct/P3373> ) ( <http://www.wikidata.org/prop/direct/P1038> ) ( <http://www.wikidata.org/prop/direct/P451> ) ( <http://www.wikidata.org/prop/direct/P40> ) } VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q5931973> ) } { ?var3 ?var2 ?var1 . } UNION { ?var1 ?var2 ?var3 . } UNION { ?var3 ?var2 ?var4 . ?var4 ?var2 ?var1 . } UNION { ?var3 ?var2 ?var4 . ?var1 ?var2 ?var4 . } }


Question: What is the English label and description of Early, Texas, and is there an image available for it?

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

Show me the name, description in English, and image of the city Early, Texas.

Can you provide the English name and description of Early, Texas, along with its Wikimedia Commons image?

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


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

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

Which Wikipedia articles in English and German are about the film identified by IMDb ID tt2380331?

Show me the English and German Wikipedia links for the movie 'Words and Pictures' (IMDb: tt2380331).

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt2380331". } ?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 born in Kleinmachnow with their date of birth and birth place precision.

SELECT ?person ?birthDate ?precision WHERE { ?person p:P19 ?statement . ?statement ps:P19 wd:Q104192 . OPTIONAL { ?statement pq:P569 ?birthDate . } OPTIONAL { ?statement pq:P1319 ?precision . } } LIMIT 100

Who were born in Kleinmachnow, and do any of them have a recorded birth date or precision for their birth location?

List all individuals born in Kleinmachnow and show any associated birth date or precision qualifiers.

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


Question: Occupations associated with homicide

SELECT ?occupation ?occupationLabel WHERE { ?occupation wdt:P425 wd:Q149086 . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = "en")}

What occupation has homicide as its field of activity?

List all occupations whose field of work is homicide.

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


Question: What is the English label, description, and image of The Independent newspaper?

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

Can you show me the description and logo of The Independent in English?

Tell me about The Independent: what’s its English name, description, and associated image?

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


Question: What is the Dutch word for the occupation "writer"?

SELECT ?occupationLabel WHERE { wd:Q36180 rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = 'nl') }

How do you say "writer" in Dutch, when referring to someone’s profession?

What is the label in Dutch for the Wikidata item representing the occupation of a writer?

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


Question: How many humans were born in 1915?

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( ?person ) AS ?count ) WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P569 ?birthDate .
  BIND( YEAR( ?birthDate ) AS ?year ) FILTER ( ?birthDate >= "1915-01-01" ^^ xsd:date && ?birthDate < "1916-01-01" ^^ xsd:date )
}
GROUP BY ?year

What is the number of people born in the year 1915?

Show me the count of individuals born in 1915.

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 >= "1915-01-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var4 < "1915-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: What is the image of Canada?

SELECT ?country ?image WHERE { BIND( wd:Q16 AS ?country ) . OPTIONAL { ?country wdt:P18 ?image . } }

Can you show me the official image of Canada from Wikimedia Commons?

Does the country Canada have an associated image on Wikimedia Commons, and if so, what is it?

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


Question: English and German Wikipedia pages for the film with IMDb ID tt1713476

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?wikipediaPage ?imdbId WHERE {
  ?item wdt:P345 "tt1713476" .
  ?wikipediaPage schema:about ?item .
  ?wikipediaPage schema:inLanguage ?language .
  FILTER ( ?language IN ( "en" , "de" ) ) BIND( "tt1713476" AS ?imdbId )
}

What are the English and German Wikipedia articles about the movie with IMDb ID tt1713476?

Show me the Wikipedia pages in English and German that describe the film identified by IMDb ID tt1713476.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1713476". } ?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 Dominique Cabrera with SNAC ARK ID w6jn63tm

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

What is the Wikimedia Commons image for Dominique Cabrera, identified by SNAC ARK ID w6jn63tm?

Show me the image linked to the person whose SNAC ARK ID is w6jn63tm.

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


Question: Film with IMDb ID tt0048123 and its English or German Wikipedia article.

SELECT ?film ?wikipediaArticle WHERE { ?film wdt:P345 "tt0048123" . ?wikipediaArticle schema:about ?film . { ?wikipediaArticle schema:inLanguage "en" . } UNION { ?wikipediaArticle schema:inLanguage "de" . } }

What is the English or German Wikipedia article for the film with IMDb ID tt0048123?

Show me the Wikipedia page in English or German about the movie identified by tt0048123 on IMDb.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0048123". } ?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 Hernando Money with SNAC ARK ID w6mp5972

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

What is the Wikimedia Commons image of the person with SNAC ARK ID w6mp5972?

Show me the photo of the individual linked to the SNAC ARK ID w6mp5972.

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


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

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

Can you show me the picture of the person identified by the SNAC ARK ID w60k26nf?

Which Wikimedia Commons image is linked to the archival record with SNAC ID w60k26nf?

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


Question: Labels for Kim Jong-il in English, German, French, and Italian, along with his image and Italian Wikipedia page.

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 ?wikipediaPage WHERE {
  wd:Q10665 rdfs:label ?label .
  FILTER(LANG(?label) IN("en" , "de" , "fr" , "it"))
  OPTIONAL {
    wd:Q10665 wdt:P18 ?image .
  }
  OPTIONAL {
    ?wikipediaPage rdf:type schema:Article ; schema:about wd:Q10665 ; schema:inLanguage "it" ; schema:isPartOf <https://it.wikipedia.org/> .
  }
}
ORDER BY ?label

What are the labels for Kim Jong-il in English, German, French, and Italian, and what is his image and Italian Wikipedia article?

Show me the names of Kim Jong-il in English, German, French, and Italian, his image from Wikimedia Commons, and the link to his Italian Wikipedia page.

SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q10665> <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/Q10665> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q10665> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "it" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q10665> <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/Q10665> ; <http://schema.org/inLanguage> "it"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var8 )


Question: How many humans were born between July 1, 1942, and December 31, 1942?

SELECT ?year ( COUNT( ?human ) AS ?count ) WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P569 ?birth . BIND( STR( YEAR( ?birth ) ) AS ?year ) . FILTER ( ?birth >= "1942-07-01"^^xsd:date && ?birth < "1943-01-01"^^xsd:date ) } GROUP BY ?year

Show the number of people born in the second half of 1942.

What is the count of individuals born in 1942 after June 30?

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 >= "1942-07-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var4 < "1943-01-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: Top sources of birth dates for humans born after 2000 who have died, grouped by Wikipedia edition.

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?sourceLabel(COUNT(?human) AS ?count) WHERE {
  ?human wdt:P31 wd:Q5 ; wdt:P570 ?deathDate ; wdt:P569 ?birthDate ; p:P569 ?birthStatement .
  FILTER(?birthDate > "2000-01-01" ^^ xsd:date)
  ?birthStatement prov:wasDerivedFrom ?ref .
  ?ref pr:P143 ?source .
  OPTIONAL {
    ?source rdfs:label ?sourceLabel .
    FILTER(LANG(?sourceLabel) = "en")
  }
}
GROUP BY ?sourceLabel
ORDER BY DESC(?count)
LIMIT 50

Which Wikipedia editions are the most common sources for birth date information of humans born after 2000 who have passed away?

Show me the count of deceased individuals born after 2000, grouped by the Wikipedia edition that provided their birth date information, sorted by most common first.

SELECT ?var1Label ?var2 ?var3 ( COUNT ( ?var4 ) AS ?var5 ) WHERE { BIND ( IF ( BOUND ( ?var6 ) , "yes", "no" ) AS ?var3 ). ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P21> ?var7 ; <http://www.wikidata.org/prop/P569> ?var8 ; <http://www.wikidata.org/prop/direct/P570> ?var6 . ?var8 <http://www.wikidata.org/prop/statement/P569> ?var9 . FILTER ( ( ( ?var9 > "2000-01-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . OPTIONAL { ?var8 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var10 . ?var10 <http://www.wikidata.org/prop/reference/P248> ?var1 . } OPTIONAL { ?var8 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var10 . ?var10 <http://www.wikidata.org/prop/reference/P143> ?var1 . } OPTIONAL { BIND ( STRBEFORE ( STRAFTER ( STR ( ?var11 ) , "http://" ) , "/" ) AS ?var2 ). ?var8 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var10 . ?var10 <http://www.wikidata.org/prop/reference/P854> ?var11 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } GROUP BY ?var1Label ?var2 ?var3 ORDER BY DESC( ?var5 )


Question: Top entities connected to the Democratic Republic of the Congo with the most Wikipedia articles, excluding French ones.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?itemLabel ?articleCount WHERE {
  {
    SELECT ?item(COUNT(?wikipediaArticle) AS ?articleCount) WHERE {
      ?item(wdt:P27 | wdt:P205 | wdt:P17) wd:Q974 .
      ?wikipediaArticle schema:about ?item .
      FILTER(NOT EXISTS {
        ?frWikipediaArticle schema:about ?item .
        ?frWikipediaArticle schema:isPartOf <https://fr.wikipedia.org/> .
      })
    }
    GROUP BY ?item
    ORDER BY DESC(?articleCount)
    LIMIT 1000
  }
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en")
}
ORDER BY DESC(?articleCount)

Which entities associated with the Democratic Republic of the Congo have the highest number of Wikipedia articles in languages other than French?

Show me the 1000 most notable items linked to the Democratic Republic of the Congo (via citizenship, basin, or country) based on how many Wikipedia articles exist about them, excluding French Wikipedia pages.

SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P27> | <http://www.wikidata.org/prop/direct/P205> | <http://www.wikidata.org/prop/direct/P17> ) <http://www.wikidata.org/entity/Q974> . ?var3 <http://schema.org/about> ?var1 . FILTER ( ( NOT EXISTS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } ) ) . } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } } ORDER BY DESC( ?var2 )


Question: What are Karel Appel’s occupations in Dutch?

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 ?occupationLabel ?occupation WHERE {
  wd:Q152793 wdt:P106 ?occupation .
  ?occupation rdfs:label ?occupationLabel .
  FILTER(LANG(?occupationLabel) = "nl")
}

Can you list the Dutch labels for the occupations of the Dutch artist Karel Appel?

Show me the occupations of Karel Appel as they are labeled in the Dutch language.

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


Question: What is the English name of Alison Hargreaves?

SELECT ?person ?personLabel WHERE { BIND(wd:Q450881 AS ?person) . ?person rdfs:label ?personLabel . FILTER(langMatches(lang(?personLabel), "en")) }

Can you tell me the label of the Wikidata entity for Alison Hargreaves?

What are the English-language labels associated with Alison Hargreaves in Wikidata?

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