Question: Which entities on Wikidata have Twitter usernames "Gallimard", "NASA", "BBC", "Google", "Apple", or "Microsoft"?

SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { "Gallimard" "NASA" "BBC" "Google" "Apple" "Microsoft" } }

What are the Wikidata items associated with the Twitter handles Gallimard, NASA, BBC, Google, Apple, and Microsoft?

List the Wikidata entities that use any of these Twitter usernames: Gallimard, NASA, BBC, Google, Apple, Microsoft.

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


Question: Academic papers with a DOI in Wikidata

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?paper WHERE {
  ?paper wdt:P356 ?doi .
}
LIMIT 10

Which academic papers have a Digital Object Identifier (DOI) assigned in Wikidata?

List 10 academic papers from Wikidata that have a DOI.

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


Question: Number of articles citing "Molecular genetics of the genus Paracoccus" by year, grouped by whether they have authors.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?year ( COUNT( DISTINCT ?citingArticle ) AS ?count ) ?hasAuthor WHERE {
  BIND( wd:Q39523442 AS ?citedArticle ) .
  ?citingArticle wdt:P2860 ?citedArticle .
  ?citingArticle wdt:P577 ?publicationDate .
  BIND( STR( YEAR( ?publicationDate ) ) AS ?year ) .
  BIND( IF( EXISTS {
    ?citingArticle wdt:P50 []
  }
  , "has author" , "no author" ) AS ?hasAuthor ) .
}
GROUP BY ?year ?hasAuthor
ORDER BY DESC ( ?year )

How many articles citing the 1998 paper on Paracoccus bacteria were published each year, and did they have authors?

Show me a breakdown of citing articles for the paper on Paracoccus metabolically versatile bacteria, grouped by publication year and author presence.

SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q39523442> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , "string1", "string2" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )


Question: What is the most general category that both a musical group and a human belong to, based on the shortest path in the subclass hierarchy?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?common(?dist1 + ?dist2 AS ?sum) WHERE {
  {
    SELECT ?common(COUNT(?mid1) AS ?dist1) WHERE {
      wd:Q215380 wdt:P279 + ?mid1 .
      ?mid1 wdt:P279 * ?common .
    }
    GROUP BY ?common
  }
  {
    SELECT ?common(COUNT(?mid2) AS ?dist2) WHERE {
      wd:Q5 wdt:P279 + ?mid2 .
      ?mid2 wdt:P279 * ?common .
    }
    GROUP BY ?common
  }
}
ORDER BY ASC(?sum)
LIMIT 1

Which concept is closest to both Vladimir Putin and the band Neu! in terms of their classification hierarchy?

Find the entity in Wikidata’s subclass tree that minimizes the total distance from "human" and "musical group" — what is it?

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/Q181874> ; <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/Q7747> ; <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: How many academic articles cite "Abuses of socioeconomic and demographic data: A comment on Ekanem’s study and Janowitz’s note", grouped by their publication year, and do they have assigned authors?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?year(COUNT(DISTINCT ?citingWork) AS ?count)(IF(EXISTS {
  ?citingWork wdt:P50 []
}
, "yes" , "no") AS ?hasAuthor) WHERE {
  BIND(wd:Q30661591 AS ?citedWork)
  ?citingWork wdt:P2860 ?citedWork .
  ?citingWork wdt:P577 ?pubDate .
  BIND(STR(SUBSTR(STR(?pubDate) , 1 , 4)) AS ?year)
}
GROUP BY ?year ?hasAuthor
ORDER BY DESC(?year)

In what year was the single article that cites the 1975 study on socioeconomic data published, and does that article list any authors?

Show the publication year and authorship status (yes/no) of works citing the 1975 article "Abuses of socioeconomic and demographic data".

SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q30661591> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , "string1", "string2" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )


Question: Western films with titles ending in "ns", ordered by release year

SELECT DISTINCT ?film ?title ?year WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P577 ?publicationDate . BIND(YEAR(?publicationDate) AS ?year) . ?film rdfs:label ?title . ?film wdt:P136 wd:Q172980 . FILTER(LANG(?title) = "en") . FILTER(REGEX(?title, "n ?s", "i")) } ORDER BY DESC(?year)

What are Western films released in recent years whose titles contain a word ending in "ns"?

List Western films in English that have titles with words like "Guns" or "Runs", sorted by year from newest to oldest.

SELECT DISTINCT ?var1 ?var2Label ?var3 WHERE { BIND ( YEAR ( ?var4 ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var5 . FILTER ( ( ( ?var5 = <http://www.wikidata.org/entity/Q172980> ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . FILTER ( ( REGEX ( ?var2Label , "n ?s", "i" ) ) ) . } ORDER BY DESC( ?var3 )


Question: Which Wikidata entities have the Twitter usernames "elonmusk", "BarackObama", or "NASA"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?entity ?username WHERE {
  ?entity wdt:P2002 ?username .
  VALUES ?username {
    "elonmusk" "BarackObama" "NASA"
  }
}

Who are the people or organizations on Wikidata that use "elonmusk", "BarackObama", or "NASA" as their X (Twitter) username?

List the entities on Wikidata associated with the Twitter handles "elonmusk", "BarackObama", and "NASA".

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "Livestream" ) ( "string1" ) ( "OccupySTM" ) } }


Question: What is the most specific category that both Prince and François Hollande belong to?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?commonClass ?label WHERE {
  wd:Q7542 wdt:P31 ?commonClass .
  wd:Q157 wdt:P31 ?commonClass .
  ?commonClass rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" )
}
LIMIT 1

What human category do Prince and François Hollande share as instances?

Which class is common to both Prince and François Hollande in Wikidata?

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/Q7542> ; <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/Q157> ; <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: List films and their durations in minutes, including subclasses like documentaries or animated films.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?film ?filmLabel ?duration WHERE {
  ?film ( wdt:P31 / wdt:P279 * ) wd:Q11424 .
  OPTIONAL {
    ?film wdt:P2047 ?duration .
  }
  OPTIONAL {
    ?film rdfs:label ?filmLabel .
    FILTER ( LANG( ?filmLabel ) = "en" )
  }
}
LIMIT 100

What are the English titles and runtimes of films and their subclasses from Wikidata?

Show me up to 100 films (including subtypes like horror or comedy films) along with their English names and durations, if available.

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


Question: What is the most specific shared occupational category between François Hollande and Ban Ki-moon?

SELECT ?commonAncestor WHERE { VALUES ?commonAncestor { wd:Q372436 } wd:Q157 wdt:P106 ?hollandOcc . wd:Q1253 wdt:P106 ?banOcc . ?hollandOcc wdt:P279* ?commonAncestor . ?banOcc wdt:P279* ?commonAncestor . }

What class do both François Hollande and Ban Ki-moon belong to through their occupations, with the highest specificity?

What is the lowest common ancestor in the occupation taxonomy for François Hollande and Ban Ki-moon?

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/Q157> ; <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/Q1253> ; <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: Years with more than 30 films released after January 25, 2008, and an example film from each year.

SELECT ?year (COUNT(?film) AS ?count) (SAMPLE(?label) AS ?exampleFilm) WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P577 ?publicationDate . ?film rdfs:label ?label . FILTER(LANG(?label) = "en") . BIND(YEAR(?publicationDate) AS ?year) . FILTER(?publicationDate >= "2008-01-25T00:00:00Z"^^xsd:dateTime) . } GROUP BY ?year HAVING (?count > 30) ORDER BY ?year

Which years since 2008 had more than 30 films released, and what is one example film from each of those years?

Show me the years after 2008 where over 30 films were released, along with the total count and one English-language film title from each year.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 )( SAMPLE ( ?var2Label ) AS ?var4Label )( ?var1 AS ?var5 ) WHERE { BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var7 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . FILTER ( ( ( ?var6 >= "2008-01-25T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } GROUP BY ?var2Label ?var1 HAVING ( ( ?var3 > "30"^^<http://www.w3.org/2001/XMLSchema#integer> ) )


Question: Wikidata items with Twitter usernames Wikipedia, BBCNews, or NASA, ordered by number of Wikipedia language editions (lowest first).

SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { "Wikipedia" "BBCNews" "NASA" } } ORDER BY ASC(wikibase:sitelinks)

Which Wikidata items have the Twitter usernames "Wikipedia", "BBCNews", or "NASA", and which one has the fewest Wikipedia language versions?

Show me the Wikidata entities for the Twitter accounts @Wikipedia, @BBCNews, and @NASA, sorted by how many Wikipedia language editions they have, from least to most.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "GregAuRiz" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "roche_jeff" ) ( "_perenoel" ) ( "string9" ) } } ORDER BY ASC( ?var3 )


Question: Which organizations have Twitter/X accounts "HBO", "HBOPR", "AppleTV", or "EW", and how many Wikipedia pages are linked to them, sorted by least links?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?handle ( COUNT( ?page ) AS ?sitelinkCount ) WHERE {
  ?item wdt:P2002 ?handle .
  VALUES ?handle {
    "HBO" "HBOPR" "AppleTV" "EW"
  }
  .
  ?page schema:about ?item .
  ?page schema:isPartOf ?wiki .
}
GROUP BY ?item ?handle
ORDER BY ASC ( ?sitelinkCount )

What are the Twitter usernames of entities like HBO, AppleTV, and EW, and how many Wikipedia sitelinks do they have, ordered from fewest to most?

List the Twitter handles for HBO, HBOPR, AppleTV, and EW along with their Wikipedia sitelink counts, sorted by the number of links in ascending order.

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


Question: What is the most specific common category that includes both NPR and the North Korean Ministry of Social Security?

SELECT DISTINCT ?commonSuperclass ?label WHERE { wd:Q671510 wdt:P31 ?class1 . wd:Q6867439 wdt:P31 ?class2 . ?class1 wdt:P279* wd:Q43229 . ?class2 wdt:P279* wd:Q43229 . wd:Q43229 rdfs:label ?label . FILTER(LANG(?label) = "en") }

What do NPR and the North Korean Ministry of Social Security have in common in terms of their classification in Wikidata?

What is the highest-level shared class that both NPR and the North Korean Ministry of Social Security belong to?

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/Q6867439> ; <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/Q671510> ; <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: Number of Yong-Yeol Ahn’s publications per year, split by whether they were cited by others.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?year ( COUNT( DISTINCT ?ahnWork ) AS ?count ) ?isCitedByOthers WHERE {
  ?ahnWork wdt:P50 wd:Q30505440 .
  ?ahnWork wdt:P577 ?pubDate .
  BIND( YEAR( ?pubDate ) AS ?year ) BIND( IF( EXISTS {
    ?someone wdt:P2860 ?ahnWork .
  }
  , "cited_by_others" , "not_cited_by_others" ) AS ?isCitedByOthers )
}
GROUP BY ?year ?isCitedByOthers
ORDER BY DESC ( ?year )

How many works authored by Yong-Yeol Ahn were published each year, and how many of them were cited by other researchers?

Show me a breakdown of Yong-Yeol Ahn’s published works by year, indicating for each whether the work was cited by other publications.

SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30505440> . } , "string1", "string2" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30505440> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )


Question: What are all the superclass categories of a weather map?

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

What classes does a weather map belong to through the subclass hierarchy?

List all ancestor classes of the weather map concept in Wikidata, including indirect superclasses.

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


Question: Mass shootings with their country, administrative region, and geographic coordinates.

SELECT ?shooting ?shootingLabel ?country ?countryLabel ?admin ?adminLabel ?coordinates WHERE { ?shooting wdt:P31 wd:Q21480300 . OPTIONAL { ?shooting wdt:P17 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = "en") } ?shooting wdt:P131 ?admin . ?admin rdfs:label ?adminLabel . FILTER(LANG(?adminLabel) = "en") ?shooting wdt:P625 ?coordinates .}

What are the locations (country and administrative region) and coordinates of all mass shootings recorded in Wikidata?

List all mass shootings along with the country and administrative area where they occurred, and their geographic coordinates.

SELECT ?var1 ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21480300> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . }


Question: Fictional units of time in literature and media

SELECT ?fictionalTimeUnit ?fictionalTimeUnitLabel WHERE { ?fictionalTimeUnit wdt:P31 wd:Q18340294 . ?fictionalTimeUnit rdfs:label ?fictionalTimeUnitLabel . FILTER(LANG(?fictionalTimeUnitLabel) = "en") }

What are some units of time that exist only in fictional universes?

Show me examples of fictional time units like the Rosharan Year or Stardate.

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


Question: What is the most specific common category that includes both the occupations of Margot Robbie and Oscar Wendt?

SELECT ?commonClass ?commonClassLabel (COUNT(?super) AS ?numSuperclasses)
WHERE {
  wd:Q1924847 wdt:P106 ?occ1 .
  wd:Q521088 wdt:P106 ?occ2 .

  ?occ1 wdt:P279* ?commonClass .
  ?occ2 wdt:P279* ?commonClass .

  ?commonClass wdt:P279* ?super .

  OPTIONAL { ?commonClass rdfs:label ?commonClassLabel . FILTER(LANG(?commonClassLabel) = "en") }
}
GROUP BY ?commonClass ?commonClassLabel
ORDER BY DESC(?numSuperclasses)
LIMIT 1

Which class is the lowest common ancestor in the hierarchy for the occupations of Margot Robbie and Oscar Wendt?

Find the most specific superclass shared by the occupations of Margot Robbie and Oscar Wendt.

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/Q1924847> ; <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/Q521088> ; <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: Types of the September 11 attacks

SELECT ?type WHERE { wd:Q10806 wdt:P31 ?type . }

What categories is the September 11 attacks classified as?

List all the classes that the September 11 attacks are instances of.

SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q10806> <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: Military officers in World War I who were citizens of both the United Kingdom and Germany

SELECT ?person ?personLabel ?birthDate WHERE { ?person wdt:P106 wd:Q189290 ; wdt:P607 wd:Q361 ; wdt:P27 wd:Q145 ; wdt:P27 wd:Q183 ; wdt:P569 ?birthDate . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } LIMIT 200

Who were the military officers in World War I that held citizenship in both the United Kingdom and Germany?

List the names and birth dates of people who served as military officers in World War I and were citizens of both the United Kingdom and Germany.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q189290> . ?var1 <http://www.wikidata.org/prop/direct/P607> <http://www.wikidata.org/entity/Q361> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q145> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pt,pt,en". } } LIMIT 200


Question: Number of academic papers citing "Linking Named Entities in Dutch Historical Newspapers" by year and whether they have authors.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?hasAuthor WHERE {
  BIND( wd:Q30158046 AS ?citedWork ) .
  ?citingWork wdt:P2860 ?citedWork .
  ?citingWork wdt:P577 ?pubDate .
  BIND( SUBSTR( STR( ?pubDate ) , 1 , 4 ) AS ?year ) .
  BIND( IF( EXISTS {
    ?citingWork wdt:P50 []
  }
  , "has author" , "no author" ) AS ?hasAuthor ) .
}
GROUP BY ?year ?hasAuthor
ORDER BY DESC ( ?year )

How many works citing the 2016 article "Linking Named Entities in Dutch Historical Newspapers" were published each year, and how many of them have authors?

Show me a breakdown of the citing works of the article "Linking Named Entities in Dutch Historical Newspapers" by publication year and whether they list authors, with counts.

SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q30158046> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , "string1", "string2" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )


Question: Terrorism incidents with coordinates, locations, or neither — show their labels and geographic data.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 (wdt:P31/wdt:P279*) wd:Q7283 . OPTIONAL { ?var1 wdt:P625 ?var2 . } OPTIONAL { ?var1 wdt:P131 ?var3 . } ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en") BIND( IF( EXISTS { ?var1 wdt:P625 ?var2 }, 2, IF( EXISTS { ?var1 wdt:P131 ?var3 }, 1, 0 ) ) AS ?var4) }

Which terrorist events have geographic coordinates, which have a location but no coordinates, and which have neither? Include their English labels and location details.

List all terrorism-related events with their English names and classify them based on whether they have coordinates (2), an administrative location (1), or neither (0).

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7283> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } BIND ( IF ( EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } ,"2"^^<http://www.w3.org/2001/XMLSchema#integer> , IF ( EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P276> ?var3 . } , ?var5 ,"0"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var4 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,en". } }


Question: What are the Hindi films released in 1983, along with their IMDb IDs and the number of Wikipedia articles about them?

SELECT ?film ?filmLabel ?imdbId (COUNT(?page) AS ?sitelinkCount) WHERE { ?film wdt:P31 wd:Q11424 ; wdt:P364 wd:Q1568 ; wdt:P577 ?date . FILTER (YEAR(?date) = 1983) . ?page schema:about ?film ; schema:inLanguage ?lang . OPTIONAL { ?film wdt:P345 ?imdbId . } ?film rdfs:label ?filmLabel . FILTER (LANG(?filmLabel) = "en") } GROUP BY ?film ?filmLabel ?imdbId ORDER BY ?date

Show me a list of 1983 Hindi-language movies with their English titles, IMDb numbers, and how many language versions of their Wikipedia pages exist.

Can you list all Hindi films from 1983 that have English Wikipedia pages, including their IMDb IDs and the total count of Wikipedia language editions available for each film?

SELECT ?var1 ?var2 ( COUNT ( DISTINCT ?var3 ) AS ?var4 ) ?var1Label ?var5 ?var6 ?var7Label ?var8 ?var9 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P364> <http://www.wikidata.org/entity/Q1568> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var10 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var9 . } FILTER ( ( ( "1983-01-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> <= ?var10 ) && ( ?var10 < "1984-01-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "or,en". } BIND ( <http://www.w3.org/2001/XMLSchema#integer> ( STRAFTER ( STR ( ?var1 ) , "Q" ) ) AS ?var11 ). ?var1 <http://wikiba.se/ontology#statements> ?var2 . OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> ?var12 . } } GROUP BY ?var1 ?var2 ?var1Label ?var5 ?var6 ?var7Label ?var8 ?var9 ORDER BY ASC( ?var6 )


Question: List clergy members and their images from Wikidata.

SELECT ?clergy_member ?label ?image WHERE { ?clergy_member wdt:P3716 wd:Q177826 . OPTIONAL { ?clergy_member wdt:P18 ?image . } ?clergy_member rdfs:label ?label . } LIMIT 100

Who are the clergy members in Wikidata, and what are their labels and images?

Show me the names and photos (if available) of all people classified as clergy.

SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3716> <http://www.wikidata.org/entity/Q177826> . 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> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100


Question: Films and their titles

SELECT ?film ?title WHERE { ?film wdt:P31 wd:Q11424 . OPTIONAL { ?film wdt:P1476 ?title . } } LIMIT 10

Show me up to 10 films along with their official titles in their respective languages.

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


Question: What is the most specific category that both Pyongyang and Washington, D.C. belong to?

SELECT ?commonSuperclass ?commonSuperclassLabel WHERE { wd:Q18808 wdt:P31 ?type1 . wd:Q61 wdt:P31 ?type2 . VALUES ?commonSuperclass { wd:Q515 } . ?commonSuperclass rdfs:label ?commonSuperclassLabel . FILTER (LANG(?commonSuperclassLabel) = "en") }

What is the common superclass of the types of Pyongyang and Washington, D.C.?

What category do Pyongyang and Washington, D.C. share in their classification hierarchy?

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/Q7122733> ; <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/Q18808> ; <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: What are the main types of accidents and their direct subtypes in Wikidata, specifically transport, nuclear, and chemical accidents?

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 ?accidentType ?accidentTypeLabel ?subTypeLabel WHERE {
  ?accidentType wdt:P279 wd:Q171558 .
  FILTER ( ?accidentType IN ( wd:Q11822042 , wd:Q1620824 , wd:Q977367 , wd:Q16702447 , wd:Q19403959 , wd:Q28064622 ) ) .
  OPTIONAL {
    ?subType wdt:P279 ?accidentType .
    ?subType rdfs:label ?subTypeLabel .
    FILTER ( LANG( ?subTypeLabel ) = "en" )
  }
  ?accidentType rdfs:label ?accidentTypeLabel .
  FILTER ( LANG( ?accidentTypeLabel ) = "en" )
}
LIMIT 100

Which specific accident categories (like transport or nuclear accidents) have direct subcategories, and what are those subcategories?

List all direct subtypes of transport accident, nuclear accident, and chemical accident, along with their labels in English.

SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q171558> . FILTER ( ( ( ?var1 = <http://www.wikidata.org/entity/Q11822042> ) || ( ?var1 = <http://www.wikidata.org/entity/Q1620824> ) || ( ?var1 = <http://www.wikidata.org/entity/Q977367> ) || ( ?var1 = <http://www.wikidata.org/entity/Q16702447> ) || ( ?var1 = <http://www.wikidata.org/entity/Q19403959> ) || ( ?var1 = <http://www.wikidata.org/entity/Q28064622> ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P279> ?var1 . OPTIONAL { ?var3 <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". } } LIMIT 100


Question: People associated with World War II or the Pacific War through occupation, position, or membership

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?person WHERE {
  VALUES ?war {
    wd:Q362 wd:Q184425
  }
  ?person wdt:P463 | wdt:P39 | wdt:P106 ?war .
}
LIMIT 1000

Who are the people linked to World War II or the Pacific War as having served in them or been members of related organizations?

List all individuals who have a documented connection to World War II or the Pacific War via their occupation, position held, or organizational membership.

SELECT DISTINCT ?var1 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q362> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q362> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q362> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q362> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q362> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q362> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q184425> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q184425> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q184425> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q184425> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q184425> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P102> <http://www.wikidata.org/entity/Q184425> . } } LIMIT 1000


Question: What properties in French are used to link entities to the concept of "battle"?

SELECT ?propItem ?label ?desc WHERE { ?entity ?prop wd:Q178561 . ?propItem wikibase:directClaim ?prop . ?propItem rdfs:label ?label . ?propItem schema:description ?desc . FILTER(LANG(?label) = "fr") FILTER(LANG(?desc) = "fr") } LIMIT 100

Which French-labeled properties describe how things are related to battles in Wikidata?

Show me the French labels and descriptions of properties that connect items to the category "battle".

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


Question: List of train derailment incidents with English labels.

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

What are some notable train derailment events recorded in Wikidata, along with their English names?

Show me all recorded derailment events in English from Wikidata.

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


Question: Is Lajos Kádár a Catholic priest?

Was Lajos Kádár employed as a Catholic priest?

Confirm whether Lajos Kádár's occupation is that of a Catholic priest.

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


Question: Which Wikidata entities are associated with the Twitter usernames: bif_o, Eberretta, eliodirupo, GallicaBnF, jjbertolus, LePoint, PAugier, and S2RVNL?

SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { "bif_o" "Eberretta" "eliodirupo" "GallicaBnF" "jjbertolus" "LePoint" "PAugier" "S2RVNL" } }

Who or what has these Twitter handles: @bif_o, @Eberretta, @eliodirupo, @GallicaBnF, @jjbertolus, @LePoint, @PAugier, and @S2RVNL?

Can you tell me the people and organizations on Wikidata that use these specific Twitter accounts?

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "S2RVNL" ) ( "string1" ) ( "string2" ) ( "jjbertolus" ) ( "string3" ) ( "Eberretta" ) ( "gdeviolet" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "PAugier" ) ( "eliodirupo" ) ( "LenaLutaud" ) ( "string10" ) ( "LePoint" ) ( "string11" ) ( "BFAuchet" ) ( "bif_o" ) ( "Ostpolitik" ) ( "string12" ) ( "GallicaBnF" ) } }


Question: What is the most specific category that both the People's Republic of China and New Year's Eve belong to?

SELECT DISTINCT ?ancestor WHERE { wd:Q148 wdt:P31 ?c1 . wd:Q11269 wdt:P31 ?c2 . ?c1 wdt:P279* ?ancestor . ?c2 wdt:P279* ?ancestor . } ORDER BY ASC(?ancestor) LIMIT 1

What is the common superclass in the Wikidata ontology for China and New Year's Eve?

Find the highest-level class that is a superclass of all classes that China and New Year's Eve are instances of.

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/Q148> ; <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/Q11269> ; <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: What significant historical event is associated with Adolf Hitler?

SELECT ?event ?eventLabel WHERE { wd:Q352 wdt:P793 ?event . ?event rdfs:label ?eventLabel . FILTER(LANG(?eventLabel) = "en") }

Which major event did Adolf Hitler play a central role in?

What is the name of the historical event linked to Adolf Hitler in Wikidata?

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


Question: Children of people who are parsons

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 ?child ?childLabel WHERE {
  ?person wdt:P106 wd:Q955464 .
  ?person wdt:P40 ?child .
  ?child rdfs:label ?childLabel .
  FILTER ( LANG( ?childLabel ) = "en" )
}

Who are the children of individuals working as parsons?

List the names of children of people whose occupation is parson.

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


Question: Who were the people who held the position of podestà in medieval Italian cities?

SELECT ?person WHERE { ?person wdt:P39 wd:Q694019 . }

Which historical figures held the office of podestà?

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


Question: Films released in the last 90 days with their release dates and English titles.

SELECT ?film ?filmLabel ?releaseDate WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P577 ?releaseDate . FILTER( ?releaseDate >= "2024-03-17T00:00:00Z"^^xsd:dateTime && ?releaseDate <= "2024-06-15T23:59:59Z"^^xsd:dateTime ) . ?film rdfs:label ?filmLabel . FILTER( langMatches( lang(?filmLabel), "en" ) ) }

Which films were released in the past 90 days, and when were they released?

List all English-labeled films that came out between March 17 and June 15, 2024, along with their release dates.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( ( NOW ( ) - ?var3 ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . FILTER ( ( ( ?var4 < "90"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Number of works citing The Blue Obelisk article per year, grouped by whether they have authors.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?hasAuthor WHERE {
  BIND( wd:Q27062363 AS ?citedWork ) .
  ?citingWork wdt:P2860 ?citedWork .
  ?citingWork wdt:P577 ?pubDate .
  BIND( STR( YEAR( ?pubDate ) ) AS ?year ) .
  BIND( IF( EXISTS {
    ?citingWork wdt:P50 []
  }
  , "string1" , "string2" ) AS ?hasAuthor )
}
GROUP BY ?year ?hasAuthor
ORDER BY DESC ( ?year )

How many academic papers citing "The Blue Obelisk—Interoperability in chemical informatics" were published each year, and how many of them list at least one author?

Show me the yearly count of papers that cite The Blue Obelisk article, distinguishing between those with and without authors.

SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q27062363> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , "string1", "string2" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )


Question: What are some notable accidents like derailments, fires, and explosions, and how many people died in each?

SELECT ?accident ?deathCount ?label WHERE {  VALUES ?accidentType {    wd:Q1331380    wd:Q3196    wd:Q179057    wd:Q19403959    wd:Q1550225    wd:Q238053    wd:Q21167512  }  ?accident wdt:P31 ?accidentType .  OPTIONAL { ?accident wdt:P1120 ?deathCount . }  ?accident rdfs:label ?label .  FILTER(LANG(?label) = "en")}

Can you list English-named incidents such as train derailments, mining accidents, and explosions, along with their reported death tolls?

Show me accidents of types including fire, collision, and chemical hazard, their English names, and the number of fatalities.

SELECT ?var1 ?var2 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1331380> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3196> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q179057> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19403959> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1550225> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q238053> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21167512> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1120> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P407> <http://www.wikidata.org/entity/Q1860> . } }


Question: What are some religious occupations (like monk or nun), and what category do they belong to?

SELECT ?occupation ?occupationLabel ?superclassLabel WHERE { ?superclass wdt:P279 wd:Q63187345 . ?occupation wdt:P31 ?superclass . OPTIONAL { ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = "en") } OPTIONAL { ?superclass rdfs:label ?superclassLabel . FILTER(LANG(?superclassLabel) = "en") } } LIMIT 20

Can you list religious roles such as priest or imam along with their broader classification (e.g., Christian or Islamic religious occupation)?

Show me the names of people in religious roles and the type of religious occupation they belong to, such as Islamic or Christian.

SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P279> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q15402063> . 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/P279> ?var2 . } }


Question: List scholarly articles, scientific books, journal articles, theses, and publications with their titles, authors, publication dates, volumes, main subjects, publication venues, series, and full-text URLs.

SELECT ?work ?title ?publicationDate ?author ?volume ?mainSubject ?publishedIn ?partOf ?fullTextURL WHERE {
  VALUES ?workType {
    wd:Q13442814  # scholarly article
    wd:Q7433672   # scientific book
    wd:Q18918145  # academic journal article
    wd:Q187685    # doctoral thesis
    wd:Q732577    # publication
  }
  ?work wdt:P31 ?workType .
  ?work wdt:P1476 ?title ;
        wdt:P50 ?author ;
        wdt:P577 ?publicationDate ;
        wdt:P478 ?volume ;
        wdt:P921 ?mainSubject ;
        wdt:P1433 ?publishedIn ;
        wdt:P953 ?fullTextURL ;
        wdt:P361 ?partOf .
}
LIMIT 100

What are the titles, authors, publication dates, volumes, main subjects, journals/books they were published in, series they belong to, and full-text links for scholarly works like articles, books, and theses?

Please provide a list of academic works (including articles, books, and theses) with their full bibliographic details: title, author, publication date, volume, main topic, where they were published, which series they are part of, and where the full text can be accessed online.

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { VALUES ( ?var9 ) { ( <http://www.wikidata.org/entity/Q13442814> ) ( <http://www.wikidata.org/entity/Q7433672> ) ( <http://www.wikidata.org/entity/Q18918145> ) ( <http://www.wikidata.org/entity/Q187685> ) ( <http://www.wikidata.org/entity/Q732577> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var9 . ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 ; <http://www.wikidata.org/prop/direct/P50> ?var4 ; <http://www.wikidata.org/prop/direct/P577> ?var3 ; <http://www.wikidata.org/prop/direct/P478> ?var5 ; <http://www.wikidata.org/prop/direct/P921> ?var6 ; <http://www.wikidata.org/prop/direct/P1433> ?var7 ; <http://www.wikidata.org/prop/direct/P953> ?var10 ; <http://www.wikidata.org/prop/direct/P361> ?var8 . } LIMIT 100


Question: Wikipedia pages about battles

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?wikipedia_page ?instance WHERE {
  ?instance wdt:P31 wd:Q178561 .
  ?wikipedia_page schema:about ?instance .
  FILTER(REGEX(STR(?wikipedia_page) , "battle" , "i"))
}
LIMIT 10

What are some Wikipedia articles about specific battles?

Show me Wikipedia pages for events that are instances of a battle, where the page title contains the word "battle".

SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q350604> . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var2 <http://schema.org/about> ?var3 . FILTER ( ( REGEX ( STR ( ?var2 ) , "string1" ) ) ) . }


Question: What properties are used on films in Wikidata?

SELECT DISTINCT ?property WHERE { ?item wdt:P31 wd:Q11424 . ?item ?property ?value . FILTER(STRSTARTS(STR(?property), "http://www.wikidata.org/prop/direct/")) }

Can you list all the direct properties associated with items that are classified as films?

Show me all the Wikidata properties that are directly used to describe movies.

SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q7746391> . ?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: Nedelin catastrophe Wikidata item and English Wikipedia page

SELECT ?item ?itemLabel ?wikipediaPage WHERE { ?item wdt:P31 wd:Q3839081 . ?wikipediaPage schema:about ?item ; schema:inLanguage "en" ; FILTER(?wikipediaPage = <https://en.wikipedia.org/wiki/Nedelin_catastrophe>) . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } LIMIT 1

What is the Wikidata item for the Nedelin catastrophe, and what is its English Wikipedia page?

Show me the English label and Wikipedia link for the Nedelin catastrophe, which is classified as a disaster.

SELECT ?var1 ?var2Label ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3839081> . } { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> "en". FILTER ( ( ( ?var3 = <https://en.wikipedia.org/wiki/Nedelin_catastrophe> ) ) ) . } } LIMIT 100


Question: Most used property linking 21 Grams to other entities

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

What property is used to connect the film 21 Grams to other items in Wikidata, and how many times is it used?

Show me the property that links the movie 21 Grams to other entities, ordered by frequency, and return the most frequent one.

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q214013> . ?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: Battles during World War I with their start dates, end dates, and durations.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ( ( ?var3 - ?var2 ) AS ?var4 ) WHERE { ?var1 wdt:P361 wd:Q361 . ?var1 (wdt:P31/wdt:P279*) wd:Q178561 . ?var1 wdt:P580 ?var2 . ?var1 wdt:P582 ?var3 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en") }

What were the battles of World War I, and when did each one start and end? Also, how long did each battle last?

List all battles that occurred during World War I, including their English names, start times, end times, and the duration of each battle in seconds.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ( ( ?var3 - ?var2 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> * <http://www.wikidata.org/entity/Q361> . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q178561> . ?var1 <http://www.wikidata.org/prop/direct/P580> ?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". } }


Question: What are all the language variants of the name 'Geneva' in Wikidata?

SELECT ?label WHERE { wd:Q71 rdfs:label ?label }

In how many languages is the city of Geneva labeled in Wikidata, and what are those labels?

Show me all the different ways 'Geneva' is written in various languages according to Wikidata.

SELECT * WHERE { <http://www.wikidata.org/entity/Q71> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . }


Question: What entities are connected to the film Moonrise Kingdom, and what properties link them, along with any qualifiers used on those statements?

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

Which people or works are associated with the movie Moonrise Kingdom, and what properties are used to make those connections? Are there any qualifiers on those statements?

List all entities linked to Moonrise Kingdom (excluding "instance of" statements), the properties used in those links, and any qualifier properties applied to those connections.

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


Question: What battles occurred in 1947, and where did they take place?

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 ?label ?location ?battle ?year WHERE {
  ?battle wdt:P31 wd:Q178561 .
  ?battle wdt:P625 ?location .
  ?battle wdt:P585 ?date .
  BIND(YEAR(?date) AS ?year)
  FILTER(YEAR(?date) = 1947)
  ?battle rdfs:label ?label .
  FILTER(LANG(?label) = "en")
}

Can you list the English-named battles from 1947 along with their geographic coordinates?

Which battles happened in 1947, and what are their locations? Include only battles with English labels.

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( IF ( !( BOUND ( ?var5 ) ), IF ( !( BOUND ( ?var6 ) ), ?var7 , ?var6 ) , ?var5 ) AS ?var8 ). BIND ( YEAR ( ?var8 ) AS ?var4 ). ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q178561> . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P580> "1947"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var3 <http://www.wikidata.org/prop/direct/P585> "1947"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var3 <http://www.wikidata.org/prop/direct/P582> "1957"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . }


Question: Scholarly articles about Wikidata with their arXiv IDs.

SELECT ?article ?articleTitle ?arxivId WHERE { ?article wdt:P31 wd:Q13442814 . ?article wdt:P921 wd:Q2013 . OPTIONAL { ?article wdt:P818 ?arxivId . } OPTIONAL { ?article wdt:P1476 ?articleTitle . } } LIMIT 100

What are the scholarly articles that have Wikidata as their main subject, and what are their arXiv IDs?

List the titles of scholarly articles whose main subject is Wikidata, along with their arXiv identifiers where available.

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


Question: List the top 1000 articles published in the Journal of Cognitive Neuroscience, sorted by oldest first, with their authors and publication dates.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT(MIN(?pubDate) AS ?earliestDate) ?article ?articleLabel(GROUP_CONCAT(?authorLabel ; SEPARATOR = " // ") AS ?authors) WHERE {
  ?article wdt:P1433 wd:Q6294976 .
  OPTIONAL {
    ?article wdt:P577 ?pubDate .
  }
  OPTIONAL {
    ?article wdt:P50 ?author .
    ?author rdfs:label ?authorLabel .
    FILTER(LANG(?authorLabel) = "en")
  }
  ?article rdfs:label ?articleLabel .
  FILTER(LANG(?articleLabel) = "en")
}
GROUP BY ?article ?articleLabel
ORDER BY DESC(?earliestDate)
LIMIT 1000

What are the oldest 1000 articles published in the Journal of Cognitive Neuroscience, and who are their authors in English?

Show me the 1000 oldest articles from the Journal of Cognitive Neuroscience, including their English titles and a list of English-named authors, ordered from earliest to latest publication date.

SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( ?var4Label ; SEPARATOR = " // " ) AS ?var5 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q6294976> . OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var6 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var6 . } OPTIONAL { ?var3 ( <http://www.wikidata.org/prop/direct/P50> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,da,de,es,fr,jp,nl,no,ru,sv,zh". } } GROUP BY ?var3 ?var3Label ORDER BY DESC( ?var2 ) LIMIT 1000


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

SELECT ?image WHERE { wd:Q528103 wdt:P3430 "w6vj7r0v" . OPTIONAL { wd:Q528103 wdt:P18 ?image . } }

Can you find a picture of Jimmy Giuffre using his SNAC ARK ID?

Show me the Wikimedia Commons image linked to the archival record with SNAC ID w6vj7r0v.

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


Question: Jörg Degen's publications and their venues, using short names if available.

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 ?venue ?venueLabel(COUNT(?work) AS ?publicationCount) WHERE {
  ?work wdt:P50 wd:Q42717750 .
  ?work wdt:P1433 ?venue .
  ?venue rdfs:label ?venueLabelRaw .
  FILTER(LANG(?venueLabelRaw) = "en")
  OPTIONAL {
    ?venue wdt:P1813 ?venueShortName
  }
  BIND(COALESCE(?venueShortName , ?venueLabelRaw) AS ?venueLabel)
}
GROUP BY ?venue ?venueLabel
ORDER BY DESC(?publicationCount)

In which journals or publications has Jörg Degen published, and how many times has he published in each, preferring abbreviated names?

Show me all the publication venues where Jörg Degen has published, along with the count of his publications per venue, using the short name (like JCAMD) if one exists, otherwise the full title.

SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q42717750> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = "en" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )


Question: How many papers citing "Distributed Representations of Words and Phrases" were published each year, and do they have authors?

SELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?hasAuthor WHERE { BIND( wd:Q24731579 AS ?targetPaper ) . ?citingWork wdt:P2860 ?targetPaper . ?citingWork wdt:P577 ?publicationDate . BIND( STR( YEAR( ?publicationDate ) ) AS ?year ) BIND( IF( EXISTS { ?citingWork wdt:P50 [] }, "has author", "no author" ) AS ?hasAuthor ) } GROUP BY ?year ?hasAuthor ORDER BY DESC ( ?year )

For each year, how many academic papers cite the Word2Vec paper by Mikolov et al., and how many of them list at least one author?

Show me a breakdown of the number of papers that cite the 2013 Word2Vec paper, grouped by publication year and whether they have listed authors.

SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q24731579> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , "string1", "string2" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )


Question: How many works cited the article "Personal resonance to literature: A study of remindings while reading" each year?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?year(COUNT(DISTINCT ?citingWork) AS ?citationCount) WHERE {
  BIND(wd:Q31162433 AS ?citedWork)
  ?citingWork wdt:P2860 ?citedWork .
  ?citingWork wdt:P577 ?pubDate .
  BIND(STR(YEAR(?pubDate)) AS ?year)
}
GROUP BY ?year
ORDER BY DESC(?year)

In what year was the article "Personal resonance to literature: A study of remindings while reading" first cited by another scholarly work, and how many such citations were there?

Show the number of academic papers that reference the 1989 study on personal resonance to literature, grouped by their publication year.

SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q31162433> AS ?var5 ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var6 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )


Question: List 100 scholarly articles in English.

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

What are the titles of 100 scholarly articles on Wikidata?

Show me the English titles of 100 academic papers.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . } LIMIT 100


Question: What films were released in 2017?

SELECT DISTINCT ?film ?filmLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P577 ?publicationDate . FILTER ( ?publicationDate >= "2017-01-01T00:00:00Z"^^xsd:dateTime && ?publicationDate <= "2017-12-31T00:00:00Z"^^xsd:dateTime ) . ?film rdfs:label ?filmLabel . FILTER (LANG(?filmLabel) = "en") }

List the English titles of all films released in 2017.

Can you show me the names of movies that came out in 2017?

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . FILTER ( ( ( ?var2 >= "2017-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "2017-12-31T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,te". } }


Question: What are the top publication venues where Geoffrey Hinton has published the most papers, and how many papers did he publish in each?

SELECT ?publication ?publicationLabel (COUNT(?paper) AS ?count)
WHERE {
  ?paper wdt:P50 wd:Q92894 .
  ?paper wdt:P1433 ?publication .
  ?publication rdfs:label ?label .
  FILTER(LANG(?label) = "en")
  OPTIONAL {
    ?publication wdt:P1813 ?shortName .
  }
  BIND(COALESCE(?shortName, ?label) AS ?publicationLabel)
}
GROUP BY ?publication ?publicationLabel
ORDER BY DESC(?count)

Show Geoffrey Hinton’s most frequent publication outlets, using abbreviated names where available (e.g., “NIPS 2008” instead of full title).

Which journals and conference proceedings has Geoffrey Hinton contributed to the most, listed by publication count in descending order?

SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q92894> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = "en" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )


Question: Twitter usernames "wikidata" and "elonmusk" with their number of Wikipedia sitelinks, sorted by count.

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {
  ?item wdt:P2002 ?username .
  ?sitelink schema:about ?item .
  ?sitelink schema:isPartOf ?site .
  VALUES ?username {
    "wikidata" "elonmusk"
  }
}
GROUP BY ?item ?username
ORDER BY ASC ( ?sitelinkCount )

Which entities on Wikidata have the Twitter usernames "wikidata" or "elonmusk", and how many Wikipedia language editions link to them, ordered by the number of links?

Show me the entities with Twitter handles "wikidata" and "elonmusk", along with how many Wikipedia sites link to each, sorted from least to most linked.

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


Question: Which films were released in 1901?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?film WHERE {
  ?film wdt:P31 / wdt:P279 * wd:Q11424 ; wdt:P577 ?date .
  FILTER(YEAR(?date) = 1901)
}

Show me all movies that came out in 1901

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


Question: Films with English Wikipedia pages

SELECT ?film ?wikipediaPage WHERE { ?film wdt:P31 wd:Q11424 . OPTIONAL { ?wikipediaPage schema:about ?film ; schema:inLanguage "en" . FILTER (STRSTARTS(STR(?wikipediaPage), "https://en.wikipedia.org/")) } }

Which films have an English-language Wikipedia article?

List films and their corresponding English Wikipedia links.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . } OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> "en". FILTER ( ( ( SUBSTR ( STR ( ?var2 ) ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"25"^^<http://www.w3.org/2001/XMLSchema#integer> ) = "string1" ) ) ) . } }


Question: Number of papers citing "Excavating the mother lode of human-generated text" by year

SELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?citationCount ) WHERE { BIND( wd:Q27615040 AS ?targetArticle ) . ?citingWork wdt:P2860 ?targetArticle . ?citingWork wdt:P577 ?pubDate . BIND( SUBSTR( STR( ?pubDate ), 1, 4 ) AS ?year ) . } GROUP BY ?year ORDER BY DESC ( ?year )

In which years were the most papers published that cite the 2017 Wikipedia corpus review article, and how many were there each year?

Show me the count of citing works for the academic article "Excavating the mother lode of human-generated text" grouped by publication year, sorted from latest to earliest.

SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q27615040> AS ?var5 ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var6 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )


Question: Films released between 2015 and 2017 with their English titles and publication dates.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?film ?filmLabel ?title ?date WHERE {
  ?film wdt:P31 wd:Q11424 ; wdt:P577 ?date ; rdfs:label ?filmLabel .
  OPTIONAL {
    ?film wdt:P1476 ?title .
  }
  FILTER(?date >= "2015-01-01T00:00:00Z" ^^ xsd:dateTime)
  FILTER(?date < "2017-01-01T00:00:00Z" ^^ xsd:dateTime)
  FILTER(LANG(?filmLabel) = "en")
}
ORDER BY ASC(?date)

What are the English titles and release dates of films released from 2015 to 2016?

List all films from 2015 to 2016, showing their English names, any alternative titles, and when they were released.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> ; <http://www.wikidata.org/prop/direct/P577> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 . } FILTER ( ( ( ?var3 >= "2015-00-00T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 < "2017-00-00T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,ru,fr". } } ORDER BY ASC( ?var3 )


Question: Labels for the Conference pear cultivar in French, English, German, and Italian, along with its image and French Wikipedia page.

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

What are the names of the Conference pear in French, English, German, and Italian, and what is its image and corresponding French Wikipedia article?

Show me the labels of the Conference pear in French, English, German, and Italian, sorted by that order, along with its image and the link to its French Wikipedia page.

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


Question: What are the hierarchical "instance of" classifications of civil war, and what are those classifications instances of?

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

Show the chain of abstract types that civil war belongs to, and what each type is an instance of.

What higher-level ontological categories does civil war fall under, and what are those categories instances of?

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


Question: Subclasses of war

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 ?subclassLabel WHERE {
  ?subclass wdt:P279 * wd:Q198 .
  ?subclass rdfs:label ?subclassLabel .
  FILTER(LANG(?subclassLabel) = "en")
}
ORDER BY ASC(?subclassLabel)

What are the different types of war, including specific forms like civil war or world war?

List all known types and forms of war, such as civil war or colonial war, in alphabetical order.

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) <http://www.wikidata.org/entity/Q198> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY ASC( ?var5 )


Question: List 200 films with English labels from 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 ?film ?filmLabel WHERE {
  ?film wdt:P31 wd:Q11424 .
  ?film rdfs:label ?filmLabel .
  FILTER(LANG(?filmLabel) = "en")
}
ORDER BY ASC(?film)
LIMIT 200

What are 200 examples of films in Wikidata that have English titles?

Please provide a list of 200 films, showing their English titles, from Wikidata.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en". } } ORDER BY ASC( ?var1 ) LIMIT 200 OFFSET 170000


Question: What properties are used to describe the film "Lovelace" (2013), and what are their English labels and descriptions?

PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ?propertyLabel ?propertyDescription WHERE {
  VALUES ?property {
    wd:P31 wd:P1476 wd:P577 wd:P921 wd:P646 wd:P495 wd:P856 wd:P136 wd:P161 wd:P345
  }
  ?property rdfs:label ?propertyLabel .
  ?property schema:description ?propertyDescription .
  FILTER ( LANG( ?propertyLabel ) = "en" ) FILTER ( LANG( ?propertyDescription ) = "en" )
}
LIMIT 100

Show the English labels and descriptions of all properties associated with the movie Lovelace.

Which properties describe the film Lovelace, and what do they mean in English?

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


Question: Which French institutions have Twitter handles CNRS, ENSIBS, LeMansUniv, UnivAngers, UnivNantes, or MT180FR?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?institution ?twitterHandle WHERE {
  VALUES ?twitterHandle {
    "CNRS" "ENSIBS" "LeMansUniv" "UnivAngers" "UnivNantes" "MT180FR"
  }
  ?institution wdt:P2002 ?twitterHandle .
}

What are the institutions on Wikidata that use the Twitter usernames CNRS, ENSIBS, LeMansUniv, UnivAngers, UnivNantes, or MT180FR?

List the institutions associated with the Twitter accounts CNRS, ENSIBS, LeMansUniv, UnivAngers, UnivNantes, and MT180FR.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "CNRS" ) ( "string3" ) ( "ENSIBS" ) ( "string4" ) ( "string5" ) ( "OrangeHDF" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "RactMadoux" ) ( "jacquetluc" ) ( "string11" ) ( "string12" ) ( "string13" ) ( "string14" ) ( "string15" ) ( "string16" ) ( "string17" ) ( "UnivNantes" ) ( "LeMansUniv" ) ( "UnivAngers" ) ( "MT180FR" ) ( "docteo_net" ) ( "lesIUT" ) ( "string18" ) ( "string19" ) ( "string20" ) ( "compositic" ) ( "VIPEVANNES" ) ( "BlobEnjeu" ) ( "string21" ) ( "string22" ) ( "string23" ) } }


Question: Battles during World War II with start and end dates

SELECT DISTINCT ?battle ?battleLabel ?startTime ?endTime WHERE { ?battle wdt:P361 wd:Q362 ; wdt:P31/wdt:P279* wd:Q178561 ; wdt:P580 ?startTime ; wdt:P582 ?endTime . ?battle rdfs:label ?battleLabel . FILTER(LANG(?battleLabel) = "en") }

Which battles occurred during World War II, and when did they start and end?

List the English names of all battles and military operations in World War II along with their start and end dates.

SELECT DISTINCT ?var1 ?var1Label ( ( ?var2 - ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> * <http://www.wikidata.org/entity/Q362> ; ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q178561> ; <http://www.wikidata.org/prop/direct/P580> ?var3 ; <http://www.wikidata.org/prop/direct/P582> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,en". } }


Question: Which French research institutions have Twitter accounts, and what are their usernames, ordered by how many Wikipedia pages they have?

SELECT ?item ?twitter WHERE { ?item wdt:P2002 ?twitter . VALUES ?twitter { "CNRS" "Inria" "Cirad" } } ORDER BY ASC(wikibase:sitelinks)

What are the Twitter handles of CNRS, Inria, and Cirad on Wikidata, sorted by the number of Wikipedia language editions they appear in?

List the Twitter usernames for CNRS, Inria, and Cirad from Wikidata, ordered by the number of Wikipedia sitelinks they have, from least to most.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "PnCevennes" ) ( "EchoSciSud" ) ( "ird_fr" ) ( "Cirad" ) ( "string3" ) ( "CNRS" ) ( "string4" ) ( "Inria" ) ( "string5" ) ( "INPN_MNHN" ) } } ORDER BY ASC( ?var3 )


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

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

Which Wikipedia articles in English or German are about the film 'The Kid Stays in the Picture'?

Show me the Wikipedia links in English or German for the movie identified by IMDb ID tt0303353.

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


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

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

Show me the language versions of the Wikipedia pages about the film 'Oculus' and its IMDb identifier.

Which language editions of Wikipedia and Commons are linked to the movie Oculus (IMDb: tt2388715)?

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


Question: Who are the female inventors and what did they invent?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?inventor ?inventorLabel ?invention ?inventionLabel WHERE {
  ?invention wdt:P61 ?inventor .
  ?inventor wdt:P31 wd:Q5 .
  ?inventor wdt:P21 wd:Q6581072 .
  ?inventor rdfs:label ?inventorLabel .
  ?invention rdfs:label ?inventionLabel .
  FILTER ( LANG( ?inventorLabel ) = "en" ) FILTER ( LANG( ?inventionLabel ) = "en" )
}

List the names of women who discovered or invented something, along with the inventions they created.

Which female humans have been credited as discoverers or inventors in Wikidata, and what are the names of their discoveries?

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


Question: Films in Wikidata with English labels

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

What are some films listed in Wikidata with their English titles?

Show me up to 200 films from Wikidata along with their English names.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en". } } ORDER BY ASC( ?var1 ) LIMIT 200 OFFSET 121200


Question: What are the properties of the Battle of Nancy, along with their English labels, the number of values each has, and the English labels of those values?

SELECT ?property (SAMPLE(?propertyLabel) AS ?label) (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=", ") AS ?valueLabels)
WHERE {
  wd:Q767510 ?property ?value .
  ?propertyItem wikibase:directClaim ?property .
  ?propertyItem rdfs:label ?propertyLabel .
  FILTER(LANG(?propertyLabel) = "en") .
  ?value rdfs:label ?valueLabel .
  FILTER(LANG(?valueLabel) = "en") .
}
GROUP BY ?property

Show me a summary of the Battle of Nancy’s data: for each property, list its English name, how many values it has, and what those values are called in English.

Can you list all the English-labeled properties and their values for the Battle of Nancy, including how many values each property has?

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


Question: What is the Latvian name and coordinates of the town that was the administrative center of the former Ilūkste Municipality?

SELECT ?place ?placeLabel ?coord WHERE { wd:Q580373 wdt:P131 wd:Q97230083 . wd:Q580373 wdt:P625 ?coord . wd:Q580373 rdfs:label ?placeLabel . FILTER(LANG(?placeLabel) = "lv") }

Show me the location and Latvian label of Ilūkste town, which is now part of Augšdaugava Municipality.

Where is Ilūkste located, and what is its name in Latvian?

SELECT DISTINCT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var2Label ) AS ?var2Label )( SAMPLE ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 ) ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". ?var2 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q2025473> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/P1435> ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( LANG ( ?var2Label ) IN ( "lv" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P149> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P84> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "lv,en,lv". } } GROUP BY ?var1 ?var1Label ?var5 ?var5Label ?var6 ?var6Label ?var7 ?var7Label ORDER BY ASC( ?var1Label )


Question: What is the most specific shared superclass of Hungary and Facebook?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?common_ancestor WHERE {
  wd:Q28 wdt:P31 ?h_class .
  wd:Q355 wdt:P31 ?f_class .
  ?h_class wdt:P279 * ?common_ancestor .
  ?f_class wdt:P279 * ?common_ancestor .
}
ORDER BY ?common_ancestor
LIMIT 1

What do Hungary and Facebook have in common in terms of their ontological classification?

What is the lowest common ancestor in the subclass hierarchy between Hungary and Facebook?

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/Q28> ; <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/Q355> ; <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: What are the official titles of all films and their subclasses in their original languages?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?film ?officialTitle WHERE {
  ?film ( wdt:P31 / wdt:P279 * ) wd:Q11424 .
  ?film wdt:P1448 ?officialTitle .
}

Can you list the original language titles of movies and cinematic works from Wikidata?

Show me the native titles of films, including any subtypes of film, as stored in Wikidata.

SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . }


Question: How many works cite Gaël Varoquaux’s publications, and how many of those are self-citations?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ( COUNT( DISTINCT ?citingWork ) AS ?citationCount ) ?hasSelfCitation WHERE {
  ?work wdt:P50 wd:Q28269682 .
  ?citingWork wdt:P2860 ?work .
  BIND( IF( EXISTS {
    ?citingWork wdt:P50 wd:Q28269682
  }
  , "yes" , "no" ) AS ?hasSelfCitation )
}
GROUP BY ?hasSelfCitation

Do any of the works that cite Gaël Varoquaux also have him as an author? If so, how many?

Show me the total number of works citing Gaël Varoquaux’s research, broken down by whether they are self-citations or not.

SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28269682> . } , "string1", "string2" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28269682> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )


Question: What properties are used in the film Justice League (2017), along with their English labels, the English labels of their values, and its image?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ?propertyLabel ?value ?valueLabel ?image WHERE {
  wd:Q20501835 ?property ?value .
  ?propEntity wikibase:directClaim ?property .
  ?propEntity rdfs:label ?propertyLabel .
  FILTER ( LANG( ?propertyLabel ) = "en" ) OPTIONAL {
    ?value rdfs:label ?valueLabel .
    FILTER ( LANG( ?valueLabel ) = "en" )
  }
  OPTIONAL {
    wd:Q20501835 wdt:P18 ?image .
  }
}
ORDER BY ?property ?value
LIMIT 1000

Can you list all the properties associated with the 2017 film Justice League, including their English names, the English names of the things they point to, and whether there’s an image available?

Please show me the properties of the movie Justice League (2017), their English labels, the English labels of the entities they link to, and the film’s image if available.

SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { BIND ( <http://www.wikidata.org/entity/Q20501835> AS ?var3 ). BIND ( "N/A" AS ?var1 ). BIND ( "identity"@ru AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q20501835> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = "ru" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = "ru" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000


Question: English-labeled films

SELECT DISTINCT ?film WHERE { ?film wdt:P31 wd:Q11424 . ?film rdfs:label ?label . FILTER (LANG(?label) = "en") . } LIMIT 10

What are some films with English titles?

Show me up to 10 films that have English labels.

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


Question: Wikidata items with Twitter usernames elonmusk, jack, taylorswift13, or NASA, ordered by number of Wikipedia articles.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?username(COUNT(?sitelink) AS ?sitelinks) WHERE {
  ?item wdt:P2002 ?username .
  ?sitelink schema:about ?item ; schema:isPartOf ?wiki .
  FILTER(STRSTARTS(STR(?wiki) , "https://"))
  .
  VALUES ?username {
    "elonmusk" "jack" "taylorswift13" "NASA"
  }
}
GROUP BY ?item ?username
ORDER BY ASC(?sitelinks)

Which Wikidata items have the Twitter usernames "elonmusk", "jack", "taylorswift13", or "NASA", and how many Wikipedia pages are linked to each?

Show me the Wikidata entities for the Twitter accounts elonmusk, jack, taylorswift13, and NASA, along with the count of their Wikipedia sitelinks, sorted by the smallest number first.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "diver701" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "RTxxlslave" ) ( "rumandruin" ) ( "string5" ) ( "string6" ) ( "rtsucker" ) ( "RTPork" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "string13" ) ( "jubunnyeon" ) } } ORDER BY ASC( ?var3 )


Question: All properties and values for the film Reap the Wild Wind.

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

What are all the properties and their values associated with the 1942 film Reap the Wild Wind?

List everything known about the movie Reap the Wild Wind in Wikidata.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q31971> ?var1 ?var2 . <http://www.wikidata.org/entity/Q31971> <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . }