Question: Types of things depicted in paintings

SELECT DISTINCT ?depicted ?depictedLabel ?type ?typeLabel WHERE { ?painting wdt:P31 wd:Q3305213 . ?painting wdt:P180 ?depicted . ?depicted wdt:P31 ?type . ?depicted rdfs:label ?depictedLabel . ?type rdfs:label ?typeLabel . FILTER(LANG(?depictedLabel) = "en") FILTER(LANG(?typeLabel) = "en") FILTER(?type NOT IN (wd:Q186287, wd:Q17417198, wd:Q16889133, wd:Q937228, wd:Q930933, wd:Q5469988)) } LIMIT 100

What kinds of entities are shown in paintings, and what categories do they belong to?

List the English-labeled entities and their types that are depicted in paintings, excluding abstract concepts like property or class.

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


Question: What are some examples of economic sectors listed in 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 ?economicSector ?economicSectorLabel WHERE {
  ?economicSector wdt:P31 wd:Q3958441 .
  ?economicSector rdfs:label ?economicSectorLabel .
  FILTER(LANG(?economicSectorLabel) = "en")
}

Can you show me the different types of economic activities classified in Wikidata?

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


Question: Dutch Wikipedia articles about fashion models without Instagram profiles.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?wikipediaPage ?model WHERE {
  ?wikipediaPage schema:isPartOf <https://nl.wikipedia.org/> ; schema:about ?model .
  ?model wdt:P106 wd:Q4610556 . MINUS {
    ?model wdt:P2003 [] .
  }
}

Which fashion models listed on the Dutch Wikipedia do not have an Instagram username?

Show me the Dutch Wikipedia pages and corresponding Wikidata entities for people whose occupation is fashion model but who do not have an Instagram account listed.

SELECT * WHERE { ?var1 <http://schema.org/isPartOf> <https://nl.wikipedia.org/> ; <http://schema.org/about> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q4610556> . MINUS { ?var2 <http://www.wikidata.org/prop/direct/P2003> [] . } }


Question: Does William Short have a Find a Grave memorial ID of 20512071?

ASK WHERE { ?person wdt:P535 "20512071" . }

Is there a person in Wikidata with the Find a Grave ID 20512071?

Confirm if the Find a Grave memorial ID 20512071 is assigned to any individual in Wikidata.

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


Question: What are some artworks created by Diego Velázquez, along with their creation dates and images?

SELECT ?artwork ?label ?inception (SAMPLE(?image) AS ?imageSample)
WHERE {
  ?artwork rdfs:label ?label .
  ?artwork wdt:P170 wd:Q297 .
  ?artwork wdt:P571 ?inception .
  OPTIONAL {
    ?artwork wdt:P18 ?image .
  }
}
GROUP BY ?artwork ?label ?inception
LIMIT 10

Show me paintings by Diego Velázquez, including when they were made and if there’s an image available.

List Diego Velázquez’s artworks with their titles, inception years, and sample images from Wikimedia Commons.

SELECT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q297> . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . FILTER ( ( REGEX ( ?var4Label , "Rodrigo", "i" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de, en, es, fr". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } GROUP BY ?var1 ?var1Label ?var2


Question: What companies does Nestlé own, and who owns those companies?

SELECT ?owned_or_owner ?owned_or_ownerLabel ?owner_of_them WHERE { { wd:Q160746 wdt:P127 ?owned_or_owner . } UNION { ?owned_or_owner wdt:P127 wd:Q160746 . } OPTIONAL { ?owned_or_owner wdt:P127 ?owner_of_them . } ?owned_or_owner rdfs:label ?owned_or_ownerLabel . FILTER(LANG(?owned_or_ownerLabel) = "en") }

List all entities connected to Nestlé by ownership, including their English labels and their owners.

Which companies are owned by Nestlé, and which companies own Nestlé? For each, who are their owners?

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/Q160746> ; <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> "1"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P127> . } } UNION { 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/Q160746> ; <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#maxIterations> "1"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P127> . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Fashion designers, grand couturiers, and costume designers with their countries of citizenship

SELECT ?personLabel ?countryLabel WHERE { ?person wdt:P106 ?occupation . VALUES ?occupation { wd:Q3501317 wd:Q4845479 wd:Q1323191 } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") OPTIONAL { ?person wdt:P27 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = "en") } }

Who are the fashion designers, grand couturiers, and costume designers, and which countries are they citizens of?

List the names of fashion designers, grand couturiers, and costume designers along with their countries of citizenship, in English.

SELECT ?var1Label ?var2Label WHERE { { { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q3501317> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q4845479> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1323191> . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Models and tailors with Twitter, Instagram, or official websites.

SELECT ?person ?personLabel ?twitter ?instagram ?website WHERE { { ?person wdt:P106 wd:Q4610556 . } UNION { ?person wdt:P106 wd:Q242468 . } ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P2002 ?twitter . } OPTIONAL { ?person wdt:P2003 ?instagram . } OPTIONAL { ?person wdt:P856 ?website . } OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } } LIMIT 50

Who are some human models and tailors on Wikidata that have Twitter accounts, Instagram profiles, or official websites?

List English-named models and tailors along with their social media handles and official websites.

SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12Label WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P106> ?/ <http://www.wikidata.org/prop/direct/P101> ?) <http://www.wikidata.org/entity/Q4610556> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P106> ?/ <http://www.wikidata.org/prop/direct/P101> ?) <http://www.wikidata.org/entity/Q242468> . } FILTER ( ( ( ?var12Label = "string1" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2003> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2847> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2397> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2035> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var12 . } OPTIONAL { ?var11 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . ?var11 <http://schema.org/about> ?var1 . } } LIMIT 20000


Question: Historians who spoke Ancient Greek, their images, and birthplace coordinates

SELECT ?historian ?historianLabel ?image ?birthPlace ?birthPlaceLabel ?coordinates WHERE { ?historian wdt:P106 wd:Q201788 . ?historian wdt:P1412 wd:Q35497 . ?historian wdt:P18 ?image . ?historian wdt:P19 ?birthPlace . ?birthPlace wdt:P625 ?coordinates . OPTIONAL { ?historian rdfs:label ?historianLabel . } OPTIONAL { ?birthPlace rdfs:label ?birthPlaceLabel . } } LIMIT 100

Who are the historians that spoke Ancient Greek, and where were they born? Include their images and the coordinates of their birthplaces.

List historians who used Ancient Greek, along with their photos and the geographic locations of their birthplaces.

SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q201788> . ?var1 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q35497> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,fr". } } LIMIT 100


Question: Exhibitions at the Metropolitan Museum of Art that depict Zeus, with images.

PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?item ?itemLabel ( SAMPLE( ?image ) AS ?sampledImage ) ?wikipediaPage WHERE {
  ?item wdt:P276 wd:Q160236 .
  ?item wdt:P180 wd:Q34201 .
  OPTIONAL {
    ?item wdt:P18 ?image .
  }
  OPTIONAL {
    ?wikipediaPage schema:about ?item .
    ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> .
  }
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" )
}
GROUP BY ?item ?itemLabel ?wikipediaPage
LIMIT 50

What are the exhibitions at the Metropolitan Museum of Art that feature Zeus, and what images are associated with them?

Show me the names and images of exhibitions at the Metropolitan Museum of Art that depict Zeus, along with their English Wikipedia pages if available.

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


Question: What type of entity is Julius Caesar?

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 ?instance ?instanceLabel WHERE {
  wd:Q1048 wdt:P31 ?instance .
  ?instance rdfs:label ?instanceLabel .
  FILTER ( LANG( ?instanceLabel ) = "en" )
}

What is the English label for the category that Julius Caesar belongs to?

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


Question: Which property is most frequently used to classify entities as "family" in Wikidata?

SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?propertyUsed wd:Q8436 . ?property wikibase:directClaim ?propertyUsed . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1

What is the most common property used to state that an entity is a family?

Show me the property that is used the most to classify entities as families, along with how many times it's used.

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


Question: Top 2000 cemeteries with the most Wikipedia language editions.

PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ( COUNT( ?wikipediaPage ) AS ?sitelinks ) WHERE {
  ?item wdt:P31 / wdt:P279 * wd:Q39614 .
  ?wikipediaPage schema:about ?item .
  ?wikipediaPage schema:isPartOf ?wiki .
  FILTER ( STRSTARTS( STR( ?wiki ) , "https://" ) )
}
GROUP BY ?item
ORDER BY DESC ( ?sitelinks )
LIMIT 2000

Which cemeteries and related burial sites are mentioned on the most Wikipedia language versions, and how many are there?

List the most widely documented cemeteries across Wikipedia, including their subclasses, sorted by the number of language editions they appear in.

SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q39614> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > "0"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 2000


Question: Fashion models who are human

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:P101 wd:Q4610556 .
  ?person wdt:P31 wd:Q5 .
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}
LIMIT 100

List all people whose profession is fashion modeling.

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


Question: Paintings by Rosalba Carriera with images on Wikimedia Commons

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 ?var1 ?var1Label WHERE {
  ?var1 wdt:P170 wd:Q237726 .
  ?var1 wdt:P18 ?image .
  ?var1 rdfs:label ?var1Label .
  FILTER ( LANG( ?var1Label ) = "en" )
}

What are the titles of artworks created by Rosalba Carriera that have images on Wikimedia Commons?

Show me the English labels of artworks created by Rosalba Carriera that have associated images.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q237726> . ?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> "pt,en". } }


Question: Is Kazimierz Jaworczykowski a type of software?

Could Kazimierz Jaworczykowski be categorized as software or any of its broader categories?

Does the classification of Kazimierz Jaworczykowski include software?

ASK WHERE { <http://www.wikidata.org/entity/Q18567265> ( <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: Paintings with Commons categories that are not linked to Wikimedia pages and have other items in the same category.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?painting ?category ?categoryLink ?relatedItem WHERE {
  ?painting wdt:P31 wd:Q3305213 .
  ?painting wdt:P373 ?category . MINUS {
    ?page schema:about ?painting .
    ?page schema:isPartOf <https://commons.wikimedia.org/> .
  } MINUS {
    ?painting wdt:P910 [] .
  }
  ?relatedItem wdt:P373 ?category .
  FILTER(?painting != ?relatedItem)
  BIND(CONCAT("[[Category:" , ?category , "]]") AS ?categoryLink)
}
LIMIT 1000

Which paintings have a Commons category that is also used by other items, excluding those with a main category or direct Wikimedia page links?

List paintings along with their Commons category links and other items sharing the same category, excluding those with a main category or schema:about links to Commons.

SELECT ?var1 ( CONCAT ( "string1", ?var2 , "|Category:", ?var2 , "]]" ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P373> ?var2 . MINUS { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://commons.wikimedia.org/> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P910> [] . } ?var4 <http://www.wikidata.org/prop/direct/P373> ?var2 . FILTER ( ( ( ?var1 != ?var4 ) ) ) . } LIMIT 1000


Question: All AcademiaNet IDs for female scientists in Wikidata.

SELECT ?academiaNetId WHERE { ?scientist wdt:P2080 ?academiaNetId . } GROUP BY ?academiaNetId

What are all the unique AcademiaNet identifiers assigned to female scientists in Wikidata?

List all distinct AcademiaNet IDs used in Wikidata to identify excellent female scientists, even if some IDs are duplicated across entries.

SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P2080> ?var1 . } GROUP BY ?var1


Question: What are the titles of artworks created by Henri Matisse?

SELECT ?artwork ?artworkLabel WHERE { ?artwork wdt:P170 wd:Q5589 . ?artwork rdfs:label ?artworkLabel . FILTER(LANG(?artworkLabel) = "en") }

Can you list the English-labeled artworks made by the French painter Henri Matisse?

Which creative works are attributed to Henri Matisse, and what are their names in English?

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


Question: What is Apple Inc.'s industry, and which companies are its subsidiaries and owners?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?orgLabel ?industryLabel ?subsidiaryLabel ?parentOrganizationLabel ?ownerLabel WHERE {
  wd:Q312 ( wdt:P31 / wdt:P279 * ) wd:Q43229 .
  OPTIONAL {
    wd:Q312 rdfs:label ?orgLabel .
    FILTER ( LANG( ?orgLabel ) = "en" )
  }
  OPTIONAL {
    wd:Q312 wdt:P452 ?industry .
    ?industry rdfs:label ?industryLabel .
    FILTER ( LANG( ?industryLabel ) = "en" )
  }
  OPTIONAL {
    wd:Q312 wdt:P355 ?subsidiary .
    ?subsidiary rdfs:label ?subsidiaryLabel .
    FILTER ( LANG( ?subsidiaryLabel ) = "en" )
  }
  OPTIONAL {
    wd:Q312 wdt:P749 ?parentOrganization .
    ?parentOrganization rdfs:label ?parentOrganizationLabel .
    FILTER ( LANG( ?parentOrganizationLabel ) = "en" )
  }
  OPTIONAL {
    wd:Q312 wdt:P127 ?owner .
    ?owner rdfs:label ?ownerLabel .
    FILTER ( LANG( ?ownerLabel ) = "en" )
  }
}

Can you tell me the industry, subsidiaries, and owners of Apple Inc.

Which companies own Apple Inc., what industry is it in, and what companies does it own?

SELECT DISTINCT ?var1 ?var2Label ?var3 ?var4 ?var4Label ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43229> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P452> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P355> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P749> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1830> ?var7 . } FILTER ( ( ( ?var1 = "Q312" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } }


Question: When was Microsoft founded?

SELECT ?companyLabel ?foundingDate WHERE { wd:Q2283 rdfs:label ?companyLabel . FILTER(LANG(?companyLabel) = 'en') . wd:Q2283 wdt:P571 ?foundingDate . }

Can you tell me when Microsoft was established?

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "Microsoft"@en . ?var1 <http://www.wikidata.org/entity/Q452> ?var2 . } LIMIT 100


Question: Image of William Cline Borden using his SNAC ARK ID "w6q81nbt".

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

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

Can you find the Wikimedia Commons image for the person identified by the SNAC ARK ID w6q81nbt?

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


Question: Headquarters location of Apple

SELECT DISTINCT ?headquarters WHERE { wd:Q312 wdt:P159 ?headquarters .}

What is the city where Apple Inc. has its main office?

SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q312> <http://www.wikidata.org/prop/direct/P159> ?var1 . }


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

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

What are the English and German Wikipedia articles for the film Inception?

Show me the English and German Wikipedia pages linked to the IMDb entry tt1375666.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt3394524". } ?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: Top actors by number of awards won, with their net worth.

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 ?actor ?actorLabel ?awardCount ?netWorth WHERE {
  {
    SELECT ?actor ( COUNT( DISTINCT ?award ) AS ?awardCount ) ?netWorth WHERE {
      ?actor wdt:P106 wd:Q33999 .
      ?actor wdt:P166 ?award .
      ?actor wdt:P2218 ?netWorth .
    }
    GROUP BY ?actor ?netWorth
  }
  ?actor rdfs:label ?actorLabel .
  FILTER ( LANG( ?actorLabel ) = "en" )
}
ORDER BY DESC ( ?awardCount )

Which actors have won the most awards, and what is their estimated net worth?

List actors who have received awards and have a known net worth, sorted by the number of awards in descending order.

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


Question: Image of Margaret Verney with SNAC ARK ID w6ms5293

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

Is there an image available for Margaret Verney, who has the SNAC ARK ID w6ms5293?

Please retrieve the Wikimedia Commons image associated with the person whose SNAC ARK ID is w6ms5293.

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


Question: Destroyed artworks with images and their destruction dates

SELECT ?artwork ?artworkLabel ?image ?destructionDate WHERE { ?artwork wdt:P31 wd:Q21745157 . ?artwork wdt:P18 ?image . ?artwork wdt:P582 ?destructionDate . ?artwork rdfs:label ?artworkLabel . FILTER(LANG(?artworkLabel) = "en") }

Which destroyed artworks have images on Wikimedia Commons, and when were they destroyed?

Show me the images and destruction dates of all destroyed artworks.

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


Question: List businesses with their CEO, cleaned logo URL, headquarters coordinates, and official website.

SELECT ?businessLabel ?ceoLabel ?cleanLogo ?lat ?long ?website WHERE { ?business wdt:P31 wd:Q4830453 . ?business wdt:P159 ?hq . ?hq p:P625 ?coordStmt . ?coordStmt psv:P625 ?coordValue . ?coordValue wikibase:geoLatitude ?lat ; wikibase:geoLongitude ?long . ?business wdt:P154 ?logo . BIND(REPLACE(STR(?logo), "120px-", "") AS ?cleanLogo) . ?business wdt:P169 ?ceo . ?business wdt:P856 ?website . ?business rdfs:label ?businessLabel . ?ceo rdfs:label ?ceoLabel . FILTER(LANG(?businessLabel) = "en") FILTER(LANG(?ceoLabel) = "en") }

What are the names, CEOs, logo URLs (without size parameters), headquarters coordinates, and official websites of businesses?

Please provide a list of businesses, including their English labels, CEO names, logo images (with '120px-' removed from URLs), geographic coordinates of their headquarters, and official websites.

SELECT ?var1Label ( SAMPLE ( ?var2Label ) AS ?var2Label )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 )( SAMPLE ( ?var5 ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var6 )( SAMPLE ( ?var7 ) AS ?var7 ) WHERE { BIND ( REPLACE ( STR ( ?var4 ) , "string1", "" ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/direct/P159> ?var8 . ?var8 <http://www.wikidata.org/prop/P625> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/value/P625> ?var10 . ?var1 <http://www.wikidata.org/prop/direct/P154> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P169> ?var2 . ?var10 <http://wikiba.se/ontology#geoLatitude> ?var5 . ?var10 <http://wikiba.se/ontology#geoLongitude> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var7 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } } GROUP BY ?var1Label


Question: Humans buried in Berlin with their birth/death dates and images

SELECT ?human ?humanLabel ?graveImage ?portraitImage ?dateOfBirth ?dateOfDeath WHERE {
  ?burialPlace wdt:P131 wd:Q64 .

  ?human p:P119 ?burialStatement .
  ?burialStatement ps:P119 ?burialPlace .
  ?human wdt:P31 wd:Q5 .

  OPTIONAL { ?human wdt:P1442 ?graveImage . }
  OPTIONAL { ?human wdt:P18 ?portraitImage . }
  OPTIONAL { ?human wdt:P569 ?dateOfBirth . }
  OPTIONAL { ?human wdt:P570 ?dateOfDeath . }

  ?human rdfs:label ?humanLabel .
  FILTER(LANG(?humanLabel) = "en")
}
ORDER BY ASC(?humanLabel)

Who are the people buried in Berlin, and what are their dates of birth and death, along with any available portraits or grave images?

List all humans buried in Berlin, including their English names, birth and death dates, and any associated images (portrait or grave).

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var8 <http://www.wikidata.org/prop/qualifier/P625> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerWest> "POINT(12 52)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerEast> "POINT(12 52)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 <http://www.wikidata.org/prop/P119> ?var8 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1442> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY ASC( ?var1Label )


Question: Which Wikidata items have Twitter usernames 'carenes', 'Hortensius', or 'nico_AsLi'?

SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { "carenes" "Hortensius" "nico_AsLi" } } ORDER BY ?username

Who has the Twitter username 'carenes' on Wikidata?

Show me the Wikidata entities associated with the Twitter usernames 'carenes', 'Hortensius', and 'nico_AsLi'.

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


Question: What is the English name of Sci-Hub?

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

Can you tell me the English label for the entity Sci-Hub?

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


Question: Entities interested in science with their English labels

SELECT ?entity ?entityLabel ?statement WHERE { ?entity p:P2650 ?statement . ?statement ps:P2650 wd:Q336 . ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = "en") } LIMIT 100

Who are the people or organizations that have expressed interest in science, and what are their names in English?

List all entities in Wikidata that are interested in science, along with their English labels.

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


Question: Top countries by number of physicians born there

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?country ( COUNT( ?physician ) AS ?count ) WHERE {
  ?physician wdt:P106 wd:Q39631 ; wdt:P19 ?birthplace .
  ?birthplace wdt:P17 ?country .
}
GROUP BY ?country
ORDER BY DESC ( ?count )

Which countries have the highest number of physicians based on place of birth?

Show me a list of countries ranked by how many physicians were born in each, starting with the country with the most.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q39631> ; <http://www.wikidata.org/prop/direct/P19> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P17> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . } } GROUP BY ?var1 ORDER BY DESC( ?var6 )


Question: What are the English and German Wikipedia, Wikiquote, and Wikinews pages about Facebook, and what is its official website?

PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?var1 ?var1Label ?var2 WHERE {
  wd:Q355 wdt:P856 <https://www.facebook.com> .
  ?var2 schema:about wd:Q355 .
  FILTER ( STRSTARTS( STR( ?var2 ) , "https://en." ) || STRSTARTS( STR( ?var2 ) , "https://de." ) ) .
  wd:Q355 rdfs:label ?var1Label .
  FILTER ( LANG( ?var1Label ) = "en" || LANG( ?var1Label ) = "de" )
}

Which English and German-language external pages link to Facebook on Wikidata, and what is Facebook’s official website?

List all English and German Wikipedia and Wikiquote pages about Facebook, along with its official website URL and Facebook’s label in those languages.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.facebook.com/analytics/306990492807664/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.facebook.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.facebook.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.facebook.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.facebook.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.facebook.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.facebook.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://facebook.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://facebook.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://facebook.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://facebook.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 chemists on 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 ?chemist ?label WHERE {
  ?chemist wdt:P106 wd:Q593644 ; wdt:P21 wd:Q6581072 .
  ?chemist rdfs:label ?label .
  FILTER(LANG(?label) = "en")
}

Who are the female chemists listed in Wikidata?

List the names of all female chemists in Wikidata with English labels.

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


Question: What are Madonna’s occupations and her birth name?

SELECT DISTINCT ?personLabel ?birthName ?occupationLabel WHERE { wd:Q1744 rdfs:label ?personLabel . OPTIONAL { wd:Q1744 wdt:P1477 ?birthName . } OPTIONAL { wd:Q1744 wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . } FILTER(LANG(?personLabel) = "en") FILTER(!BOUND(?occupationLabel) || LANG(?occupationLabel) = "en") } LIMIT 10

Can you tell me the professions and full birth name of the singer Madonna?

Who is Madonna, and what is her real name and what does she do for a living?

SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "it,en". } { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2252262> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q177220> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q2643890> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q488205> . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1477> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . } FILTER ( ( REGEX ( ?var1Label , "^Madonna$", "i" ) ) ) . } LIMIT 10


Question: Female chemists on Wikidata

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?personLabel WHERE {
  ?person wdt:P106 wd:Q593644 ; wdt:P21 wd:Q6581072 .
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}

Who are the female chemists listed in Wikidata?

List the names of all women who work as chemists, with their English labels.

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


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

SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 "tt0090768" . ?wikipedia_page schema:about ?movie . { ?wikipedia_page schema:inLanguage "en" . } UNION { ?wikipedia_page schema:inLanguage "de" . } }

What is the English or German Wikipedia article for the film 'The Boy Who Could Fly'?

Show me the Wikipedia pages in English or German about the movie with IMDb ID tt0090768.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0090768". } ?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: Cemeteries with coordinates and their countries in English

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 ?cemetery ?cemeteryLabel ?countryLabel ?coordinates WHERE {
  ?cemetery(wdt:P31 / wdt:P279 *) wd:Q39614 .
  ?cemetery wdt:P625 ?coordinates .
  OPTIONAL {
    ?cemetery wdt:P17 ?country .
  }
  ?cemetery rdfs:label ?cemeteryLabel .
  OPTIONAL {
    ?country rdfs:label ?countryLabel .
  }
  FILTER(LANG(?cemeteryLabel) = "en")
  FILTER(LANG(?countryLabel) = "en")
}
LIMIT 10000

What are the names, locations, and countries of cemeteries around the world, in English?

List all cemeteries with their geographic coordinates and the English names of their countries.

SELECT ?var1 ?var1Label ?var2 ?var3Label ( ?var3Label AS ?var4 ) ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q39614> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P242> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 1000000


Question: What are the people buried in the United States with a grave image but no Find a Grave ID, ranked by how many Wikipedia pages mention them?

SELECT ?person ?personLabel ?burialPlace ?burialPlaceLabel ?graveImage ?englishWikipediaPage (COUNT(?wikipediaPage) AS ?totalWikipediaPages) WHERE { ?person wdt:P119 ?burialPlace . ?person wdt:P1442 ?graveImage . ?person wdt:P27 wd:Q30 . MINUS { ?person wdt:P535 ?findAGraveId . } OPTIONAL { ?englishWikipediaPage schema:about ?person ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> . } ?wikipediaPage schema:about ?person ; schema:isPartOf ?wikiSite . OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } OPTIONAL { ?burialPlace rdfs:label ?burialPlaceLabel . FILTER(LANG(?burialPlaceLabel) = "en") } } GROUP BY ?person ?personLabel ?burialPlace ?burialPlaceLabel ?graveImage ?englishWikipediaPage ORDER BY DESC(?totalWikipediaPages)

Show me Americans who are buried in the US, have a photo of their grave, and aren't listed on Find a Grave — and tell me how many Wikipedia articles exist about each person.

List the most widely documented deceased Americans (by Wikipedia page count) who have a known burial place and grave image, excluding those with a Find a Grave memorial number.

SELECT ?var1 ?var1Label ?var2 ?var3Label ( SAMPLE ( ?var4 ) AS ?var5 ) ?var6 ( COUNT ( ?var1 ) AS ?var7 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P119> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P1442> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P535> ?var8 . } OPTIONAL { ?var6 <http://schema.org/about> ?var1 . ?var6 <http://schema.org/inLanguage> "en". ?var6 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var9 <http://schema.org/about> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } GROUP BY ?var1 ?var1Label ?var2 ?var10 ?var6 ?var3Label ORDER BY DESC( ?var7 )


Question: Paintings by Gerard de Lairesse that are not part of a series, with English labels.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?itemLabel WHERE {
  ?item wdt:P31 wd:Q3305213 .
  ?item wdt:P170 wd:Q533958 . MINUS {
    ?item wdt:P31 wd:Q15727816 .
  }
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" )
}

What are the English-named paintings created by Gerard de Lairesse that are individual works and not part of a painting series?

List the titles in English of all paintings created by Gerard de Lairesse, excluding any that belong to a painting series.

SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q533958> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15727816> . } } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "sq". } }


Question: What are the coordinates of the headquarters of Consolidated Holdings A/S?

PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?coord WHERE {
  OPTIONAL {
    wd:Q32071121 wdt:P625 ?coord .
  }
  OPTIONAL {
    wd:Q32071121 p:P159 [ pq:P625 ?coord ] .
  }
  OPTIONAL {
    wd:Q32071121 wdt:P159 / wdt:P625 ?coord .
  }
}

Where is Consolidated Holdings A/S headquartered, in terms of geographic coordinates?

Can you find the geographic location (latitude and longitude) of Consolidated Holdings A/S’s headquarters from Wikidata, using any available data path?

SELECT ?var1 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q32071121> <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q32071121> <http://www.wikidata.org/prop/P159> [ <http://www.wikidata.org/prop/qualifier/P625> ?var3 ] . } OPTIONAL { <http://www.wikidata.org/entity/Q32071121> <http://www.wikidata.org/prop/direct/P159> [ <http://www.wikidata.org/prop/direct/P625> ?var4 ] . } BIND ( COALESCE ( ?var2 , ?var3 , ?var4 ) AS ?var1 ). }


Question: What is the English name of the organization with the official website https://www.ipk-gatersleben.de/, and which Wikipedia pages are about it?

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

Which Wikipedia articles discuss the Leibniz Institute of Plant Genetics and Crop Plant Research, and what is its official website?

Find the entity that uses https://www.ipk-gatersleben.de/ as its official website, along with its English label and associated Wikipedia pages.

SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.ipkinternational.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.ipkinternational.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.ipkinternational.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.ipkinternational.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.ipkinternational.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.ipkinternational.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://ipkinternational.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://ipkinternational.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://ipkinternational.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://ipkinternational.com/> . } ?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 label and description of the person with Encyclopædia Universalis ID "amenhotep"

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

Who is the Egyptian architect and priest listed in the Encyclopædia Universalis with the ID "amenhotep"?

Show me the name and description in English of the person identified by the Encyclopædia Universalis ID "amenhotep".

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3219> "amenhotep". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Johannes Vermeer paintings depicting a map, with year, dimensions, and image.

SELECT DISTINCT ?painting ?paintingLabel ?inceptionYear ?dimensions ?image WHERE { ?painting wdt:P170 wd:Q41264 . ?painting wdt:P180/wdt:P279* wd:Q4006 . OPTIONAL { ?painting wdt:P571 ?inception . BIND(YEAR(?inception) AS ?inceptionYear) } OPTIONAL { ?painting wdt:P2048 ?height . ?painting wdt:P2049 ?width . BIND(CONCAT(STR(?height), "×", STR(?width)) AS ?dimensions) } OPTIONAL { ?painting wdt:P18 ?image . } ?painting rdfs:label ?paintingLabel . FILTER(LANG(?paintingLabel) = "en") }

Which paintings by Johannes Vermeer depict a map, and what are their creation year, dimensions, and image?

Show me all paintings created by Johannes Vermeer that include a map as a subject, along with their year of creation, size, and a link to the image.

SELECT DISTINCT ?var1 ?var1Label ( YEAR ( ?var2 ) AS ?var3 ) ?var4 ?var5Label ?var6Label ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q41264> . { ?var1 ( <http://www.wikidata.org/prop/direct/P180> / <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4006> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P180> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4006> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P276> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P276> ?var5 . FILTER ( ( NOT EXISTS { ?var8 <http://www.wikidata.org/prop/qualifier/P582> ?var9 . } ) ) . OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P17> ?var6 . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2048> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2049> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . } BIND ( CONCAT ( STR ( ?var10 ) , "×", STR ( ?var11 ) ) AS ?var4 ). }


Question: Who were nominated for the Nobel Prize in Physics?

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 ?nomineeLabel WHERE {
  ?nominee wdt:P1411 wd:Q38104 .
  ?nominee rdfs:label ?nomineeLabel
  FILTER ( LANG( ?nomineeLabel ) = "en" )
}

Can you list the English names of all individuals nominated for the Nobel Prize in Physics?

Which people have received a nomination for the Nobel Prize in Physics according to Wikidata?

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


Question: Female physicists with their birth dates, images, and birthplace 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 ?physicist ?name ?image ?birthDate ?birthPlaceCoords WHERE {
  ?physicist wdt:P106 wd:Q169470 .
  ?physicist wdt:P21 wd:Q6581072 .
  OPTIONAL {
    ?physicist wdt:P18 ?image .
  }
  OPTIONAL {
    ?physicist wdt:P569 ?birthDate .
  }
  OPTIONAL {
    ?physicist wdt:P19 ?birthPlace .
    ?birthPlace wdt:P625 ?birthPlaceCoords .
  }
  ?physicist rdfs:label ?name .
  FILTER ( LANG( ?name ) = "en" )
}

Who are the female physicists, and what are their birth dates, images, and places of birth (as coordinates)?

List all female physicists along with their English names, photos, dates of birth, and geographic coordinates of their birthplaces.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q169470> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P625> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Organizations that operate in Asia

SELECT ?organization ?statement WHERE { ?organization p:P2541 ?statement . ?statement ps:P2541 wd:Q48 . } LIMIT 101

Which organizations have Asia as their operating area?

List all organizations and their statement identifiers for which Asia is listed as the operating area in Wikidata.

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


Question: What is the relationship between The New York Times and the United States?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property WHERE {
  wd:Q9684 ?property wd:Q30 .
}

Which properties link The New York Times to the United States in Wikidata?

Is The New York Times associated with the United States, and if so, how?

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


Question: Who are Madonna’s unmarried partners?

SELECT ?partner ?partnerLabel WHERE { wd:Q1744 wdt:P451 ?partner . ?partner rdfs:label ?partnerLabel . FILTER(LANG(?partnerLabel) = "en") }

List of people who have been in an unmarried relationship with Madonna

Can you tell me all the people Madonna has been romantically involved with but never married?

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


Question: What are the subclasses of the industrial sector?

SELECT DISTINCT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q8148 . ?subclass rdfs:label ?subclassLabel . }

List all industries that are types of industrial sector, along with their names in any language.

Can you show me the different types of industrial sectors and what they’re called in various languages?

SELECT DISTINCT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q8148> . }


Question: List businesses in the pharmaceutical industry with their names.

SELECT ?business ?businessLabel ?industryLabel WHERE { ?business wdt:P31 wd:Q4830453 . ?business wdt:P452 wd:Q507443 . ?business rdfs:label ?businessLabel . wd:Q507443 rdfs:label ?industryLabel . FILTER(LANG(?businessLabel) = "en") FILTER(LANG(?industryLabel) = "en") }

Which companies are in the pharmaceutical industry, and what are their names?

Show me the names of businesses that operate in the pharmaceutical industry, along with the name of the industry they belong to.

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


Question: What are the names, dates of birth, and birthplace coordinates of female chemists?

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 ?var1 ?var1Label ( GROUP_CONCAT( DISTINCT CONCAT ( STR( DAY( ?var2 ) ) , "/" , STR( MONTH( ?var2 ) ) , "/" , STR( YEAR( ?var2 ) ) ) ; SEPARATOR = ", " ) AS ?var3 ) ( GROUP_CONCAT( DISTINCT ?var4 ; SEPARATOR = ", " ) AS ?var5 ) ( GROUP_CONCAT( DISTINCT ?var6 ; SEPARATOR = ", " ) AS ?var7 ) ( GROUP_CONCAT( DISTINCT ?var8 ; SEPARATOR = ", " ) AS ?var9 ) ( GROUP_CONCAT( DISTINCT ?var10 ; SEPARATOR = ", " ) AS ?var11 ) WHERE {
  ?var1 wdt:P31 wd:Q5 .
  ?var1 wdt:P21 wd:Q6581072 .
  ?var1 ( wdt:P106 / wdt:P279 * ) wd:Q593644 .
  ?var1 wdt:P19 ?var12 .
  ?var12 wdt:P625 ?var6 .
  OPTIONAL {
    ?var1 wdt:P166 ?var13 .
  }
  OPTIONAL {
    ?var1 wdt:P569 ?var2 .
  }
  OPTIONAL {
    ?var1 wdt:P18 ?var4 .
  }
  OPTIONAL {
    ?var1 wdt:P69 ?var8 .
  }
  OPTIONAL {
    ?var1 wdt:P108 ?var10 .
  }
  OPTIONAL {
    ?var1 wdt:P101 ?var14 .
  }
  ?var1 rdfs:label ?var1Label .
  FILTER ( LANG( ?var1Label ) = "en" )
}
GROUP BY ?var1 ?var1Label
ORDER BY ASC ( ?var1Label )

Can you list female chemists with their date of birth, education, employer, and image if available?

Show me female chemists from Wikidata, including when they were born and where they were born, sorted alphabetically by name.

SELECT ?var1 ?var1Label ( GROUP_CONCAT ( DISTINCT ( ( STR ( DAY ( ?var2 ) ) / STR ( MONTH ( ?var2 ) ) ) / STR ( YEAR ( ?var2 ) ) ) ; SEPARATOR = ", " ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var4 ; SEPARATOR = ", " ) AS ?var5 )( GROUP_CONCAT ( DISTINCT ?var6 ; SEPARATOR = ", " ) AS ?var7 )( GROUP_CONCAT ( DISTINCT ?var8 ; SEPARATOR = ", " ) AS ?var9 )( GROUP_CONCAT ( DISTINCT ?var10 ; SEPARATOR = ", " ) AS ?var11 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q593644> . ?var1 <http://www.wikidata.org/prop/direct/P19> * ?var12 . ?var12 <http://www.wikidata.org/prop/direct/P625> ?var6 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P166> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P69> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P108> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P101> ?var14 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var15 <http://www.w3.org/2000/01/rdf-schema#label> ?var15Label . } } GROUP BY ?var1 ?var1Label ORDER BY ASC( ?var1Label )


Question: List of international organizations with their English labels

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 ?organization ?label WHERE {
  ?organization wdt:P31 wd:Q484652 .
  ?organization rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" )
}

What are the English names of all international organizations in Wikidata?

Show me the names of all entities that are international organizations, in English.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484652> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "zh-cn,zh,en,fr,de,ja,es,Du,ru,nl,en". } }


Question: What paintings by Vincent van Gogh are held at the Museum of Modern Art, and what are their images and Wikipedia pages?

SELECT DISTINCT ?painting ?paintingLabel ?locationLabel (SAMPLE(?image) AS ?sampledImage) ?wikipediaPage WHERE { ?painting wdt:P31 wd:Q3305213 . ?painting wdt:P170 wd:Q5582 . ?painting wdt:P276 wd:Q188740 . OPTIONAL { ?painting wdt:P18 ?image . } OPTIONAL { ?wikipediaPage schema:about ?painting . ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> . } ?painting rdfs:label ?paintingLabel . FILTER(LANG(?paintingLabel) = "en") wd:Q188740 rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = "en") } GROUP BY ?painting ?paintingLabel ?locationLabel ?wikipediaPage LIMIT 50

Can you list Vincent van Gogh’s paintings at MoMA along with their English labels, images from Wikimedia Commons, and corresponding English Wikipedia articles?

Which of Vincent van Gogh’s artworks in the Museum of Modern Art have Wikipedia pages, and do they have associated images?

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


Question: Is the temporary art exhibition "Carambolages" a type of software?

Does the event "Carambolages" at the Grand Palais belong to a category that is a subclass of software?

Can a temporary art exhibition be classified as software?

ASK WHERE { <http://www.wikidata.org/entity/Q24258608> ( <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: English and German Wikipedia pages for the movie with IMDb ID tt1241316

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

What are the English and German Wikipedia articles for the film Dare (IMDb ID tt1241316)?

Show me the English and German Wikipedia links for the movie identified by IMDb ID tt1241316.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1241316". } ?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: Female chemists with their date of birth, place of birth, coordinates, and images.

SELECT ?chemist ?chemistLabel ?image ?dob ?birthplace ?coordinates WHERE { ?chemist wdt:P106 wd:Q593644 . ?chemist wdt:P21 wd:Q6581072 . OPTIONAL { ?chemist wdt:P18 ?image . } OPTIONAL { ?chemist wdt:P569 ?dob . ?chemist wdt:P19 ?birthplace . ?birthplace wdt:P625 ?coordinates . } ?chemist rdfs:label ?chemistLabel . FILTER(LANG(?chemistLabel) = "en") }

Who are the female chemists in Wikidata, and what are their birth dates, birthplaces, and geographic coordinates?

List all female chemists along with their English names, birth dates, birth locations, and the coordinates of those locations. Include images if available.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q593644> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Pornographic actors from Hungary or Poland with their hair colors

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 ?name ?countryLabel ?hairColorLabel WHERE {
  ?person wdt:P106 wd:Q488111 .
  ?person rdfs:label ?name .
  ?person wdt:P27 ?country .
  ?person wdt:P1884 ?hairColor .
  ?country rdfs:label ?countryLabel .
  ?hairColor rdfs:label ?hairColorLabel .
  FILTER(?country IN(wd:Q28 , wd:Q36))
  FILTER(LANG(?name) = "en")
  FILTER(LANG(?countryLabel) = "en")
  FILTER(LANG(?hairColorLabel) = "en")
}

Who are the pornographic actors who are citizens of Hungary or Poland, and what is their hair color?

List the names, countries of citizenship (Hungary or Poland), and hair colors of all pornographic actors with English-language labels in Wikidata.

SELECT DISTINCT ?var1 ?var2 ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q488111> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P1884> ?var4 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ?var3 IN ( <http://www.wikidata.org/entity/Q36> , <http://www.wikidata.org/entity/Q28> ) ) ) . FILTER ( ( LANGMATCHES ( LANG ( ?var2 ) , "EN" ) ) ) . FILTER ( ( LANGMATCHES ( LANG ( ?var3Label ) , "EN" ) ) ) . FILTER ( ( LANGMATCHES ( LANG ( ?var4Label ) , "EN" ) ) ) . }


Question: What properties (other than 'instance of') are used to relate entities to public law corporation in Wikidata?

SELECT DISTINCT ?property WHERE { ?item ?statementProperty wd:Q20014246 . ?property wikibase:statementProperty ?statementProperty . FILTER (?property != wd:P31) }

Which direct properties in Wikidata link entities to the entity 'public law corporation', excluding the 'instance of' property?

Show me all properties (except P31) that are used to classify or categorize entities as public law corporations in Wikidata.

SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q20014246> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }


Question: What paintings were created by Vincent van Gogh?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?work WHERE {
  ?work wdt:P170 wd:Q5582 ; wdt:P31 wd:Q3305213 .
}

List Vincent van Gogh’s artworks that are paintings.

Which of Vincent van Gogh’s works are classified as paintings?

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


Question: What is the English name and description of the charity with Charity Navigator ID 16980?

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

Show me the label and English description of the nonprofit organization identified by Charity Navigator ID 16980.

Which organization has the Charity Navigator ID 16980, and what is its official name and website (as stored in its description)?

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4861> "16980". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Female humans convicted of necromancy or burned at the stake

SELECT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P21 wd:Q6581072 . { ?person wdt:P1399 wd:Q337935 . } UNION { ?person wdt:P509 wd:Q468455 . } ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = "en") }

Which female humans were either convicted of necromancy or died by burning?

List the names of women in history who were accused of necromancy or executed by burning, in English.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { BIND ( ?var2 AS ?var3 ). ?var2 <http://www.wikidata.org/prop/direct/P1399> <http://www.wikidata.org/entity/Q337935> . } OPTIONAL { BIND ( ?var4 AS ?var3 ). ?var4 <http://www.wikidata.org/prop/direct/P509> <http://www.wikidata.org/entity/Q468455> . } FILTER ( ( BOUND ( ?var3 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } }


Question: European Union parts and their types in English

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 ?itemLabel ?partLabel ?partTypeLabel ?item ?part WHERE {
  ?item wdt:P361 ?part .
  ?part wdt:P31 ?partType .
  ?item rdfs:label ?itemLabel .
  ?part rdfs:label ?partLabel .
  ?partType rdfs:label ?partTypeLabel .
  FILTER ( LANG( ?itemLabel ) = "en" ) FILTER ( LANG( ?partLabel ) = "en" ) FILTER ( LANG( ?partTypeLabel ) = "en" ) FILTER ( ?item = wd:Q458 )
}
LIMIT 10

What are the parts of the European Union, what types are they, and what are their English labels?

List the English labels of the European Union’s parts, their types, and their Wikidata IDs.

SELECT ?var1 ?var1Label ?var2Label ?var3 ?var3Label ?var4 ?var5 ?var5Label WHERE { ?var6 <http://www.wikidata.org/entity/P1647> <http://www.wikidata.org/entity/P1038> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var7Label ) = "en" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,en". } }


Question: What English and German language pages are about the movie with IMDb ID tt1013743?

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

Which Wikipedia and Wikiquote pages in English or German are about the movie 'Knight and Day'?

Show me all the English and German language pages linked to the movie 'Knight and Day' via its IMDb ID tt1013743.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1013743". } ?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: Organizations that are instances of society

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?society ?societyLabel WHERE {
  ?society wdt:P31 wd:Q8425 .
  ?society rdfs:label ?societyLabel .
  FILTER ( LANGMATCHES( LANG( ?societyLabel ) , "en" ) )
}
LIMIT 100

What are some organizations classified as societies?

List the English names of organizations that are instances of the concept of society.

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


Question: What are some examples of search engines?

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 ?searchEngine ?searchEngineLabel WHERE {
  ?searchEngine wdt:P31 wd:Q19541 .
  ?searchEngine rdfs:label ?searchEngineLabel .
  FILTER ( LANG( ?searchEngineLabel ) = "en" )
}

Can you show me the names of all known search engines?

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


Question: List individuals who belong to ethnic groups other than African Americans, Germans, Jews, Sorbs, Banat Swabians, Warmians, Greeks, Croatian Americans, and Czech Americans.

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 ?ethnicGroup ?personLabel ?ethnicGroupLabel WHERE {
  ?person wdt:P172 ?ethnicGroup .
  FILTER NOT EXISTS {
    ?person wdt:P172 ?excluded .
    VALUES ?excluded {
      wd:Q49085 wd:Q146521 wd:Q42884 wd:Q7325 wd:Q445618 wd:Q29705197 wd:Q539051 wd:Q3003133 wd:Q518188
    }
  }
  ?person rdfs:label ?personLabel .
  ?ethnicGroup rdfs:label ?ethnicGroupLabel .
  FILTER(LANG(?personLabel) = "en")
  FILTER(LANG(?ethnicGroupLabel) = "en")
}
LIMIT 10

Which people have an ethnic identity that is not one of the nine major diaspora groups including African Americans, Germans, or Jewish people?

Show me some individuals whose ethnic background is not among African Americans, Germans, Jewish people, or other listed groups.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P172> ?var2 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q49085> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q146521> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q42884> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q7325> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q445618> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q29705197> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q539051> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q3003133> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q518188> . } ) ) . }


Question: Who are the people classified as having Black people as their ethnic group?

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

Which individuals are listed in Wikidata as belonging to the ethnic group of Black people?

Can you list all entities in Wikidata that are tagged with the ethnic group "Black people"?

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


Question: What properties are used for the European Union Referendum Act 2015 on Wikidata?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?property WHERE {
  wd:Q21187635 ?property ?value .
}

Which properties describe the European Union Referendum Act 2015 in Wikidata?

List all the properties associated with the European Union Referendum Act 2015 in Wikidata.

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


Question: Turing Award winners with their birth dates, gender, first names, last names, and death dates.

SELECT DISTINCT ?recipient ?birthDate ?genderLabel ?givenNameLabel ?familyNameLabel ?deathDate WHERE { ?recipient wdt:P166 wd:Q185667 . OPTIONAL { ?recipient wdt:P569 ?birthDate . } OPTIONAL { ?recipient wdt:P21 ?gender . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = "en") } OPTIONAL { ?recipient wdt:P735 ?givenName . ?givenName rdfs:label ?givenNameLabel . FILTER(LANG(?givenNameLabel) = "en") } OPTIONAL { ?recipient wdt:P734 ?familyName . ?familyName rdfs:label ?familyNameLabel . FILTER(LANG(?familyNameLabel) = "en") } OPTIONAL { ?recipient wdt:P570 ?deathDate . } }

Who are the recipients of the Turing Award, and what are their birth dates, genders, given names, family names, and death dates?

List all Turing Award recipients along with their personal details: date of birth, gender, first name, last name, and date of death (if available).

SELECT DISTINCT ?var1 ?var2 ?var3Label ?var4Label ?var5Label ?var6 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P166> / <http://www.wikidata.org/prop/direct/P31> ?) <http://www.wikidata.org/entity/Q185667> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . } }


Question: What film awards did Andrzej Wajda receive, and when were they awarded?

SELECT ?awardLabel ?workLabel ?date ?award WHERE { wd:Q106685 p:P166 ?statement . ?statement ps:P166 ?award . ?award (wdt:P31*/wdt:P279*) wd:Q4220917 . OPTIONAL { ?statement pq:P585 ?date . } OPTIONAL { ?statement pq:P1686 ?work . } OPTIONAL { ?award rdfs:label ?awardLabel . FILTER(LANG(?awardLabel) = "en") } OPTIONAL { ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = "en") } } LIMIT 10

Which films were Andrzej Wajda awarded for, and what awards did he receive for them?

List the film awards won by Polish director Andrzej Wajda, including the year and the work they were given for.

SELECT ?var1Label ?var2Label ?var3 ?var1 ( LANG ( ?var1Label ) AS ?var4 ) WHERE { <http://www.wikidata.org/entity/Q106685> <http://www.wikidata.org/prop/P166> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P166> ?var1 . ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4220917> . OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P585> ?var3 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/qualifier/P1686> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl,en,de,fr,it,es,cs,sk,pt,fi,nl,no,sv". } } LIMIT 10


Question: What paintings are there, what do they depict, and who created them?

SELECT DISTINCT ?painting ?depicted ?image ?creator WHERE { ?painting wdt:P31 wd:Q3305213 . ?painting wdt:P180 ?depicted . ?painting wdt:P18 ?image . OPTIONAL { ?painting wdt:P170 ?creator . } } LIMIT 10

Show me images of paintings along with the objects or scenes they depict and their artists.

List up to 10 paintings, their depictions, and their creators, including the image files from Wikimedia Commons.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P180> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P170> ?var4 . } } LIMIT 10


Question: Authors and their birth and death dates

SELECT DISTINCT ?author ?birth ?death WHERE { ?author ( ( wdt:P31 | wdt:P101 | wdt:P106 ) / wdt:P279* ) wd:Q482980 . OPTIONAL { ?author wdt:P569 ?birth . } OPTIONAL { ?author wdt:P570 ?death . } }

Who are the authors and when were they born and died?

List all people who are authors along with their dates of birth and death.

SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 (( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P101> | <http://www.wikidata.org/prop/direct/P106> )/ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q482980> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "Q30707927"@en . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } }


Question: Dutch citizens with Dutch labels and Wikipedia articles

SELECT DISTINCT ?human ?label WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P27 wd:Q29999 . ?human rdfs:label ?label . FILTER (LANG(?label) = "nl") . ?human ?sitelink ?page . FILTER (STRSTARTS(STR(?sitelink), "http")) } ORDER BY ?human

Who are some people who are citizens of the Netherlands and have a Dutch-language Wikipedia page?

List people with Dutch citizenship whose names appear in Dutch and who are linked to any Wikipedia article.

SELECT ?var1 ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q55> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q29999> . FILTER ( ( ( ?var2 > "0"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = "nl" ) ) ) . } ORDER BY DESC( ?var2 )


Question: What are the English or German Wikipedia pages for the film with IMDb ID tt2556874?

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

Show me the Wikipedia articles in English or German about the movie Plastic (2014), along with its IMDb identifier.

Which language versions of Wikipedia have an article about the film identified by tt2556874?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt2556874". } ?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 artworks were created by Shepard Fairey, and what are their images?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?work ?workLabel ?image WHERE {
  ?work wdt:P170 wd:Q1332698 .
  OPTIONAL {
    ?work wdt:P18 ?image .
  }
  ?work rdfs:label ?workLabel .
  FILTER ( LANG( ?workLabel ) = "en" )
}

Which creative works are attributed to Shepard Fairey, and what are their English titles and associated images?

List the English-named artworks created by Shepard Fairey along with their images from Wikimedia Commons.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q1332698> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P170> ?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,en". } }


Question: Which entity has https://www.buzzfeed.com as its official website?

SELECT ?item ?itemLabel WHERE { ?item wdt:P856 <https://www.buzzfeed.com> . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'en') }

What is the official website of BuzzFeed, and which other entities might use it?

Can you list all items in Wikidata that are linked to the Buzzfeed website?

CONSTRUCT { ?var1 ?var2 ?var3 } WHERE { ?var1 ?var2 ?var3 . { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://buzzfeed.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://buzzfeed.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.buzzfeed.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.buzzfeed.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://buzzfeed.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://buzzfeed.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.buzzfeed.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.buzzfeed.com/> . } }


Question: Image of the person with SNAC ARK ID w6k35sz3

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

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

Show me the image of the entity identified by the SNAC ARK ID w6k35sz3.

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


Question: What is the English Wikipedia page about Google, and what is its official website?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?itemLabel ?wikipediaPage WHERE {
  ?item wdt:P856 <https://google.com> .
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" ) .
  ?wikipediaPage schema:about ?item .
  ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> .
}

Which Wikipedia articles are about entities that have google.com as their official website?

Can you show me the English label and Wikipedia page for the entity whose official website is google.com?

SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.ipw.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.ipw.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.ipw.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.ipw.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.ipw.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.ipw.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://ipw.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://ipw.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://ipw.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://ipw.com/> . } ?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: List novelists with their birth and death dates, places of birth and death, burial places, and countries of citizenship.

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 ?human ?humanLabel ?birthDate ?deathDate ?birthPlaceLabel ?deathPlaceLabel ?burialPlaceLabel ?citizenshipLabel WHERE {
  ?human wdt:P31 wd:Q5 .
  ?human wdt:P106 wd:Q6625963 .
  ?human rdfs:label ?humanLabel .
  FILTER ( LANG( ?humanLabel ) = "en" ) OPTIONAL {
    ?human wdt:P569 ?birthDate .
  }
  OPTIONAL {
    ?human wdt:P570 ?deathDate .
  }
  OPTIONAL {
    ?human wdt:P19 ?birthPlace .
    ?birthPlace rdfs:label ?birthPlaceLabel .
    FILTER ( LANG( ?birthPlaceLabel ) = "en" )
  }
  OPTIONAL {
    ?human wdt:P20 ?deathPlace .
    ?deathPlace rdfs:label ?deathPlaceLabel .
    FILTER ( LANG( ?deathPlaceLabel ) = "en" )
  }
  OPTIONAL {
    ?human wdt:P119 ?burialPlace .
    ?burialPlace rdfs:label ?burialPlaceLabel .
    FILTER ( LANG( ?burialPlaceLabel ) = "en" )
  }
  OPTIONAL {
    ?human wdt:P27 ?citizenship .
    ?citizenship rdfs:label ?citizenshipLabel .
    FILTER ( LANG( ?citizenshipLabel ) = "en" )
  }
}
LIMIT 10

Who are some human novelists, and what are their birth dates, death dates, birthplaces, death places, burial places, and nationalities?

Please provide a list of novelists including their names, dates of birth and death, places of birth and death, burial locations, and countries of citizenship, all in English.

SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label ?var7Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P119> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var7 . } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q6625963> . } LIMIT 10000


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

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

What are the English and German Wikipedia articles for the movie "Extraordinary Measures"?

Show me the English and German Wikipedia links for the film identified by IMDb ID tt1244659.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1244659". } ?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: Pablo Picasso artworks with their types and images

SELECT ?work ?workLabel ?typeLabel ?image WHERE { ?work wdt:P170 wd:Q5593 ; wdt:P18 ?image ; wdt:P31 ?type . ?work rdfs:label ?workLabel . ?type rdfs:label ?typeLabel . FILTER(LANG(?workLabel) = "en") FILTER(LANG(?typeLabel) = "en") }

What are the artworks created by Pablo Picasso, what type are they, and what images are associated with them?

Show me a list of Pablo Picasso’s creative works, including their classification (e.g., painting or sculpture) and their corresponding images on Wikimedia Commons.

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


Question: Is the Spanish actor Jaume Sorribas i Garcia classified as a type of software?

Does Jaume Sorribas i Garcia belong to any class that is a subclass of software?

Can a human actor be considered an instance of software through inheritance?

ASK WHERE { <http://www.wikidata.org/entity/Q9011139> ( <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: Publications where Arnold Schwarzenegger was an editor

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?publication ?statement ( SAMPLE( ?qualifier_value ) AS ?qualifier_sample ) WHERE {
  ?statement ps:P98 wd:Q2685 .
  ?publication p:P98 ?statement .
  OPTIONAL {
    ?qualifier wikibase:qualifier ?qualifier_property .
    ?statement ?qualifier_property ?qualifier_value .
  }
}
GROUP BY ?publication ?statement

Which magazines did Arnold Schwarzenegger edit, and what qualifiers are associated with those editorial roles?

List the publications Arnold Schwarzenegger edited and any additional information about his editorial roles.

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


Question: Female humans born after 1921 with Bulgarian Wikipedia labels and no image, ranked by number of Wikipedia pages.

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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 ?person ?label(COUNT(?site) AS ?sitelinks) WHERE {
  ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P569 ?birth ; rdfs:label ?label .
  FILTER(?birth >= "1921-01-01T00:00:00Z" ^^ xsd:dateTime)
  FILTER(LANG(?label) = "bg")
  OPTIONAL {
    ?person wdt:P18 ?image .
  }
  FILTER(! BOUND(?image))
  ?site schema:about ?person ; schema:isPartOf ?wiki .
  FILTER(STRSTARTS(STR(?wiki) , "https://"))
}
GROUP BY ?person ?label
ORDER BY DESC(?sitelinks)
LIMIT 10

Who are the most well-known female humans born after 1921 who have a Bulgarian Wikipedia page but no image on Wikimedia Commons?

List the top 10 female humans born after 1921 who have a Bulgarian label and no image, sorted by how many language versions of their Wikipedia page exist.

SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . FILTER ( ( ( ?var4 >= "1921-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://wikiba.se/ontology#sitelinks> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "bg" ) ) ) . } } GROUP BY ?var1 ?var2 ?var3 ORDER BY DESC( ?var3 ) LIMIT 10


Question: Items in Mu.ZEE - Kunstmuseum aan Zee's collection and their inventory numbers.

SELECT ?item ?inventoryNumber WHERE { ?item wdt:P195 wd:Q1928672 . OPTIONAL { ?item wdt:P217 ?inventoryNumber . } }

What items are in the Mu.ZEE - Kunstmuseum aan Zee collection, and what are their inventory numbers?

List all artworks and objects held by Mu.ZEE - Kunstmuseum aan Zee along with their accession numbers, if available.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q1928672> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P217> ?var2 . } }