Question: What are the multilingual labels, image, and Wikipedia link for the 1994 film "The Monster"?

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

Can you show me the English, German, French, and Italian labels for the movie "The Monster" (1994), along with its official image and Wikipedia page?

List the titles of the film "The Monster" in English, German, French, and Italian, sorted by language, and include its Wikimedia Commons image and English Wikipedia article.

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


Question: Roberto Benigni labels in English, German, French, and Italian, along with his image and 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 ?coordinates ?wikipedia ?youtube ?github ?twitter ?facebook ?instagram ?website ?orcid WHERE {
  OPTIONAL {
    wd:Q23301 rdfs:label ?label .
    FILTER ( LANG( ?label ) IN ( "en" , "de" , "fr" , "it" ) ) VALUES ( ?langCode ?order ) {
      ( "en" 1 ) ( "de" 2 ) ( "fr" 3 ) ( "it" 4 )
    }
    FILTER ( LANG( ?label ) = ?langCode )
  }
  OPTIONAL {
    wd:Q23301 wdt:P18 ?image .
  }
  OPTIONAL {
    wd:Q23301 wdt:P625 ?coordinates .
  }
  OPTIONAL {
    wd:Q23301 wdt:P1651 ?youtube .
  }
  OPTIONAL {
    wd:Q23301 wdt:P2037 ?github .
  }
  OPTIONAL {
    wd:Q23301 wdt:P2002 ?twitter .
  }
  OPTIONAL {
    wd:Q23301 wdt:P2013 ?facebook .
  }
  OPTIONAL {
    wd:Q23301 wdt:P2003 ?instagram .
  }
  OPTIONAL {
    wd:Q23301 wdt:P856 ?website .
  }
  OPTIONAL {
    wd:Q23301 wdt:P496 ?orcid .
  }
  OPTIONAL {
    ?wikipedia rdf:type schema:Article ; schema:about wd:Q23301 ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> .
  }
}
ORDER BY ?order

What are Roberto Benigni’s names in different languages, and where can I find his image and Wikipedia article?

Please provide Roberto Benigni’s multilingual labels, his Wikimedia Commons image, and his English Wikipedia link.

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


Question: Chemical substances with solubility data and their English names

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?itemLabel WHERE {
  ?item p:P2177 [] .
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" )
}
LIMIT 10

Which chemical compounds have recorded solubility values in Wikidata, and what are their English labels?

Please list the English names of chemical substances that have solubility measurements documented in Wikidata.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P2177> [ <http://www.wikidata.org/prop/qualifier/P794> ?var3 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: What is the official website and type of the airline Elite Airways?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?label ?website ?instance ?wikipediaPage WHERE {
  wd:Q16974622 rdfs:label ?label .
  FILTER(LANG(?label) = "en")
  OPTIONAL {
    wd:Q16974622 wdt:P856 ?website
  }
  OPTIONAL {
    wd:Q16974622 wdt:P31 ?instance
  }
  OPTIONAL {
    ?wikipediaPage schema:about wd:Q16974622 ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> .
  }
}

Can you show me the English Wikipedia page and details like label and website for Elite Airways?

Tell me about Elite Airways: its label, official website, what kind of entity it is, and if it has an English Wikipedia page.

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


Question: Streets in Czech Republic without a Wikimedia Commons category, with images and addresses if available.

SELECT ?street ?streetLabel ?image ?address WHERE { ?street wdt:P31 wd:Q79007 . ?street wdt:P17 wd:Q213 . MINUS { ?street wdt:P373 ?commonsCategory . } OPTIONAL { ?street wdt:P18 ?image . } OPTIONAL { ?street wdt:P969 ?address . } ?street rdfs:label ?streetLabel . } LIMIT 3000

What are the streets in the Czech Republic that don’t have a Commons category, and do they have images or addresses?

List all streets in the Czech Republic that aren’t categorized on Wikimedia Commons, and include any available images or physical addresses.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> "POINT(11 49)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> "POINT(16 50)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q79007> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "string1". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000


Question: What educational institutions did Pavel Stoev attend?

SELECT ?institution ?institutionLabel WHERE { wd:Q21389271 p:P69 ?statement . ?statement ps:P69 ?institution . ?institution rdfs:label ?institutionLabel . FILTER (LANG(?institutionLabel) = "en") }

Which universities or academic institutions is Bulgarian myriapodologist Pavel Stoev educated at, according to Wikidata?

List the English names of the educational institutions attended by Pavel Stoev.

SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label WHERE { <http://www.wikidata.org/entity/Q21389271> <http://www.wikidata.org/prop/P69> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P69> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P512> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,fr,de,ru,es,zh,jp". } }


Question: Images of Olympic events that started in 1994.

SELECT ?olympicEvent ?olympicEventLabel ?image WHERE { ?olympicEvent wdt:P31 ?eventClass . ?eventClass wdt:P279 wd:Q5389 . ?olympicEvent wdt:P580 ?startDate . ?olympicEvent wdt:P18 ?image . ?olympicEvent rdfs:label ?olympicEventLabel . FILTER(STRSTARTS(STR(?startDate), "1994")) FILTER(LANG(?olympicEventLabel) = "en") }

What are the images of the Winter Olympics held in 1994?

Show me the official image and name of the 1994 Winter Olympics.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q5389> . ?var1 <http://www.wikidata.org/prop/direct/P580> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . FILTER ( ( REGEX ( STR ( ?var4 ) , "^.*1994", "i" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Portuguese football clubs with "Sporting" in their name

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 ?club ?founder ?label WHERE {
  ?club wdt:P31 wd:Q476028 ; wdt:P17 wd:Q45 ; OPTIONAL {
    ?club wdt:P112 ?founder
  }
  .
  ?club rdfs:label ?label .
  FILTER ( LANG( ?label ) = 'en' ) .
  FILTER ( CONTAINS( LCASE( ?label ) , "sporting" ) )
}

Which association football clubs in Portugal have "Sporting" in their English name?

List all Portuguese football clubs whose official English name includes the word "Sporting", along with their founders.

SELECT DISTINCT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q476028> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q45> ; <http://www.wikidata.org/prop/direct/P112> ?var2 ; <http://www.wikidata.org/prop/direct/P85> ?var3 ; ?var4 "string1". }


Question: What journals has Jean-Paul Chretien published in most frequently, and what are their abbreviations?

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

List the publications where Jean-Paul Chretien has authored papers, sorted by the number of papers per journal, using abbreviations where available.

Which academic journals have published the most work by researcher Jean-Paul Chretien?

SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q42787445> . ?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: Schools within 10 km of Jena, Germany

SELECT ?school ?schoolLabel ?schoolCoord WHERE { wd:Q3150 wdt:P625 ?jenaCoord . BIND(STRBEFORE(STRAFTER(STR(?jenaCoord), "POINT("), " ") AS ?jenaLon) BIND(STRBEFORE(STRAFTER(STR(?jenaCoord), " "), ")") AS ?jenaLat) BIND(xsd:double(?jenaLon) - 0.14 AS ?minLon) BIND(xsd:double(?jenaLon) + 0.14 AS ?maxLon) BIND(xsd:double(?jenaLat) - 0.09 AS ?minLat) BIND(xsd:double(?jenaLat) + 0.09 AS ?maxLat) ?school wdt:P625 ?schoolCoord . BIND(STRBEFORE(STRAFTER(STR(?schoolCoord), "POINT("), " ") AS ?schoolLonStr) BIND(STRBEFORE(STRAFTER(STR(?schoolCoord), " "), ")") AS ?schoolLatStr) BIND(xsd:double(?schoolLonStr) AS ?schoolLon) BIND(xsd:double(?schoolLatStr) AS ?schoolLat) FILTER(?schoolLon >= ?minLon && ?schoolLon <= ?maxLon) FILTER(?schoolLat >= ?minLat && ?schoolLat <= ?maxLat) ?school (wdt:P31/wdt:P279*) wd:Q3914 . ?school rdfs:label ?schoolLabel . FILTER(LANG(?schoolLabel) = "en")}

What schools are located within 10 kilometers of Jena?

List the English-named schools near Jena, Germany, within a 10 km radius.

SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q3150> <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> "10". } FILTER ( ( EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3914> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de". } }


Question: All properties and values associated with Zhang Bingyan on Wikidata.

SELECT ?person ?property ?value WHERE { VALUES ?person { wd:Q11068027 } ?person ?property ?value .}

What information is available about Zhang Bingyan in Wikidata?

Show me every piece of data Wikidata has on the Qing dynasty politician Zhang Bingyan.

SELECT ?var1 ?var2 ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q11068027> ) ( <http://www.wikidata.org/wiki/Special:EntityData/Q11068027> ) } ?var1 ?var2 ?var3 . }


Question: Image of Paul Scherrer with SNAC ARK ID w68s548c

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

What is the image associated with Paul Scherrer's SNAC ARK ID w68s548c?

Show me the Wikimedia Commons image of the person identified by the SNAC ARK ID w68s548c.

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


Question: Humans born in Odisha or its districts with VIAF or IMDb IDs

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?dateOfBirth ?birthPlace ?viafId ?imdbId WHERE {
  ?person wdt:P31 wd:Q5 .
  {
    ?person wdt:P19 wd:Q22048 .
  } UNION {
    ?person wdt:P19 ?birthPlace .
    ?birthPlace wdt:P131 * wd:Q22048 .
  }
  OPTIONAL {
    ?person wdt:P569 ?dateOfBirth .
  }
  OPTIONAL {
    ?person wdt:P214 ?viafId .
  }
  OPTIONAL {
    ?person wdt:P345 ?imdbId .
  }
}
ORDER BY ASC ( ?dateOfBirth )
LIMIT 10

Who are some people born in Odisha or its administrative regions, and do they have VIAF or IMDb identifiers?

List people from Odisha (including its cities and districts) who are notable enough to have VIAF or IMDb IDs, sorted by birth date.

SELECT ?var1 ?var2 ( COUNT ( DISTINCT ?var3 ) AS ?var4 ) ?var1Label ?var5 ?var6 ?var7Label ?var8 ?var9 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "hi, en". } BIND ( <http://www.w3.org/2001/XMLSchema#integer> ( STRAFTER ( STR ( ?var1 ) , "Q" ) ) AS ?var10 ). ?var1 <http://wikiba.se/ontology#statements> ?var2 . OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> ?var11 . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . { ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q22048> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var7 . ?var7 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q22048> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var9 . } } GROUP BY ?var1 ?var2 ?var1Label ?var5 ?var6 ?var7Label ?var8 ?var9 ORDER BY ASC( ?var6 )


Question: What properties are used to describe King Abdullah University of Science and Technology (KAUST) in English?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ?propertyLabel ?propertyDescription WHERE {
  wd:Q1463036 ?property ?value .
  FILTER ( STRSTARTS( STR( ?property ) , "http://www.wikidata.org/prop/direct/" ) ) .
  BIND( STRAFTER( STR( ?property ) , "http://www.wikidata.org/prop/direct/" ) AS ?propId ) .
  BIND( IRI( CONCAT ( "http://www.wikidata.org/entity/" , ?propId ) ) AS ?propItem ) .
  ?propItem rdfs:label ?propertyLabel .
  ?propItem schema:description ?propertyDescription .
  FILTER ( LANG( ?propertyLabel ) = "en" ) .
  FILTER ( LANG( ?propertyDescription ) = "en" )
}
LIMIT 100

Which English-labeled properties describe KAUST, and what are their descriptions?

List the English labels and descriptions of all direct properties applied to King Abdullah University of Science and Technology.

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/Q1463036> . ?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: Philosophers who died in 1947

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?person ?personLabel ?dateOfDeath WHERE {
  ?person ( wdt:P106 / wdt:P279 * ) wd:Q4964182 ; wdt:P570 ?dateOfDeath .
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" ) .
  FILTER ( ?dateOfDeath >= "1947-01-01T00:00:00Z" ^^ xsd:dateTime && ?dateOfDeath <= "1947-12-31T23:59:59Z" ^^ xsd:dateTime )
}

Who were the philosophers that died in 1947?

List the names and death dates of all philosophers (including sub-occupations like analytic philosopher) who died between January 1 and December 31, 1947.

SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4964182> ; <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 <= "1947-12-31T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 >= "1947-01-01T00: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,en". } }


Question: Music singles performed by the band Bush.

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 ?single ?singleLabel WHERE {
  ?single wdt:P175 wd:Q247949 ; wdt:P31 wd:Q134556 .
  ?single rdfs:label ?singleLabel .
  FILTER(LANG(?singleLabel) = "en")
}
LIMIT 100

What are the names of the music singles released by the British rock band Bush?

List the English titles of all music singles by Bush.

SELECT ?var1 ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en". } ?var1 <http://www.wikidata.org/prop/direct/P175> <http://www.wikidata.org/entity/Q247949> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q134556> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q134556> ) ) ) . } LIMIT 100


Question: Who is the person with IMDb ID nm1768185?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?person ?personLabel WHERE {
  ?person wdt:P31 wd:Q5 ; wdt:P345 "nm1768185" .
  ?person rdfs:label ?personLabel .
}
LIMIT 1

What is the name of the person identified by the IMDb ID nm1768185?

Find the name of the human associated with the IMDb identifier nm1768185.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P345> ?var2 . FILTER ( ( ( ?var2 = "nm1768185" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ja". } } LIMIT 50


Question: Buildings and structures near latitude 52 and longitude 0 with their types and coordinates.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?itemLabel ?lat ?lon ?type ?typeLabel WHERE {
  ?item wdt:P625 ?coord .
  ?item wdt:P31 ?type .
  BIND( geof:latitude ( ?coord ) AS ?lat ) BIND( geof:longitude ( ?coord ) AS ?lon ) FILTER ( ?lat >= 51.6 && ?lat <= 52.4 && ?lon >= -0.4 && ?lon <= 0.4 ) ?item rdfs:label ?itemLabel .
  ?type rdfs:label ?typeLabel .
  FILTER ( LANG( ?itemLabel ) = "en" ) FILTER ( LANG( ?typeLabel ) = "en" )
}
ORDER BY ?itemLabel
LIMIT 20

What are the buildings and other structures located within 44 kilometers of the coordinates 0° longitude and 52° latitude, and what are their types and exact locations?

Show me the names, types, and geographic coordinates of places located near the center of the North Sea, specifically around 52°N and 0°E.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label WHERE { ?var1 ?var5 ?var6 . ?var1 <http://www.wikidata.org/prop/P625> ?var7 ; <http://www.wikidata.org/prop/P625> [ <http://www.wikidata.org/prop/statement/P625> ?var8 ; <http://www.wikidata.org/prop/statement/value/P625> [ <http://wikiba.se/ontology#geoLongitude> ?var3 ; <http://wikiba.se/ontology#geoLatitude> ?var2 ] ] . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var9 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> "POINT(0 52)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> "0.40180025492515475". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],de,en". } } GROUP BY ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label ORDER BY DESC(COUNT ( ?var5 )) LIMIT 20


Question: What is the English name of S.L. Benfica?

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

What is the official English label for the football club Q131499?

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


Question: What is the Portuguese name of S.L. Benfica?

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

Please provide the Portuguese-language label for the football club S.L. Benfica.

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


Question: Communes in Brittany with French names and their coordinates.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
SELECT DISTINCT ?department ?departmentLabel ?commune ?communeLabel ?latitude ?longitude WHERE {
  ?department wdt:P131 wd:Q12130 .
  ?department wdt:P31 wd:Q6465 .
  ?commune wdt:P131 ?department .
  ?commune wdt:P31 wd:Q484170 .
  ?commune wdt:P625 ?coord .
  ?department rdfs:label ?departmentLabel .
  ?commune rdfs:label ?communeLabel .
  FILTER(LANG(?departmentLabel) = "fr")
  FILTER(LANG(?communeLabel) = "fr")
  BIND(geof:latitude(?coord) AS ?latitude)
  BIND(geof:longitude(?coord) AS ?longitude)
}
ORDER BY ASC(?communeLabel)

What are the communes in the French departments of Brittany, their French labels, and geographic coordinates?

List all communes located in Brittany’s departments, including their French names and latitude/longitude coordinates.

SELECT DISTINCT ?var1 ?var2 ?var2Label ?var1Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q12130> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6465> . ?var2 <http://www.wikidata.org/prop/direct/P131> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "fr" ) ) ) . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "fr" ) ) ) . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var5 . ?var5 <http://wikiba.se/ontology#geoLatitude> ?var3 . ?var5 <http://wikiba.se/ontology#geoLongitude> ?var4 . } ORDER BY ASC( ?var2Label )


Question: Portuguese names of players who played for S.L. Benfica

SELECT DISTINCT ?player ?playerLabel WHERE { ?player wdt:P54 wd:Q131499 . ?player rdfs:label ?playerLabel . FILTER(LANG(?playerLabel) = "pt") }

Who are the players that played for S.L. Benfica, and what are their names in Portuguese?

List all players of S.L. Benfica with their names in Portuguese.

SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q131499> ( <http://www.wikidata.org/prop/statement/P54> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var1 . ?var2 ( <http://www.wikidata.org/prop/statement/P54> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var1 . FILTER ( ( ( LANG ( ?var1 ) = "pt" ) ) ) . } ORDER BY DESC( ?var3 )


Question: What entities are linked to the Wikimedia human name disambiguation page Q10357320 via "instance of" or "similar 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 ?item(SAMPLE(?itemLabel) AS ?label) WHERE {
  wd:Q10357320 ?property ?item .
  FILTER(?property = wdt:P31 || ?property = wdt:P1889)
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en")
}
GROUP BY ?item

Which items are classified as or similar to the disambiguation page for human names on Wikimedia, and what are their English labels?

Please list the English labels of all entities that are either instances of or similar to the Wikimedia human name disambiguation page Q10357320.

SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q10357320> ?var2 ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } FILTER ( ( ( ?var2 = <http://www.wikidata.org/prop/direct/P31> ) || ( ?var2 = <http://www.wikidata.org/prop/direct/P1889> ) ) ) . }


Question: What is the Wikivoyage page for Belgium, and what are its geographic coordinates?

SELECT ?wikivoyage_page ?latitude ?longitude WHERE { VALUES ?country { wd:Q31 } OPTIONAL { ?wikivoyage_page schema:about ?country ; schema:isPartOf <https://en.wikivoyage.org/> . } ?country wdt:P625 ?coordinate . BIND(REPLACE(STR(?coordinate), "POINT\\((.*)\\)", "$1") AS ?coords) BIND(STRBEFORE(?coords, " ") AS ?longitude) BIND(STRAFTER(?coords, " ") AS ?latitude) }

Can you show me the latitude and longitude of Belgium, along with its English Wikivoyage link?

Where is Belgium located on Earth? Include its Wikivoyage page and coordinates.

SELECT * WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q31> ) } OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://en.wikivoyage.org/> . } SERVICE <http://dbpedia.org/sparql> { ?var3 <http://www.w3.org/2002/07/owl#sameAs> ?var1 . OPTIONAL { ?var3 <http://www.opengis.net/ont/geosparql#lat> ?var4 . } OPTIONAL { ?var3 <http://www.opengis.net/ont/geosparql#long> ?var5 . } } }


Question: Authors of "High-priority drug–drug interactions for use in electronic health records" with their ORCID IDs or Wikidata links.

SELECT ?authorLabel (COALESCE(?orcid, CONCAT("https://www.wikidata.org/wiki/", SUBSTR(STR(?author), 31)), ?authorLabel) AS ?fallback) WHERE { wd:Q17505343 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } OPTIONAL { ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = "en") } }

Who are the authors of the article "High-priority drug–drug interactions for use in electronic health records", and what are their ORCID identifiers or Wikidata URLs if no ORCID is available?

List all authors of the scholarly article on high-priority drug-drug interactions, showing their ORCID if available; otherwise, provide a link to their Wikidata page.

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


Question: Instances of occurrence or its subclasses in Wikidata

SELECT ?item ?itemLabel WHERE { ?item (wdt:P31 / wdt:P279*) wd:Q1190554 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") FILTER(STRSTARTS(STR(?item), "http://www.wikidata.org/entity/Q")) } LIMIT 250

What are some real-world events or phenomena classified as occurrences in Wikidata?

List English-labeled entities that are instances of occurrence or any of its subclasses.

SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1190554> . } LIMIT 250


Question: What is the area and length of Australia?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?country ?area ?length WHERE {
  ?country wdt:P31 wd:Q6256 .
  ?country wdt:P2046 ?area .
  ?country wdt:P2043 ?length .
  ?country rdfs:label ?label .
  FILTER(CONTAINS(LCASE(?label) , "australie"))
}
LIMIT 15

Can you tell me the area and maximum length of countries whose name includes "Australia" or "Australie"?

Show me the area and length of any country named Australia (in any language).

SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P2046> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P2043> ?var3 . FILTER ( ( REGEX ( ?var1 , "Australie" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } } LIMIT 15


Question: What is the English label and description of the artwork with Art Institute of Chicago ID 44741?

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

Tell me about the sculpture with ARTIC ID 44741 — what is its name and description in English?

Find the English name and description of the artwork identified as 44741 on the Art Institute of Chicago’s website.

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


Question: Monuments and their geographic coordinates

SELECT ?label ?coordinates WHERE { ?monument wdt:P31 wd:Q4989906 . ?monument wdt:P625 ?coordinates . ?monument rdfs:label ?label . } LIMIT 100

What are the names and locations of all monuments?

Show me a list of monuments with their coordinates.

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


Question: What is the total fractional number of pages contributed by each author affiliated with the University of Copenhagen Niels Bohr Institute, grouped by publication year?

SELECT ?year (SUM(?fractionalPages) AS ?totalFractionalPages) ?authorLabel
WHERE {
  # Get articles by affiliated authors (either person or string)
  ?article wdt:P31 wd:Q13442814 .
  ?article wdt:P1104 ?pages .
  ?article wdt:P577 ?pubDate .
  BIND(YEAR(?pubDate) AS ?year)

  # Get author(s) — person or string
  {
    ?article wdt:P50 ?author .
    ?author (wdt:P108 | wdt:P1416) ?org .
    FILTER(?org = wd:Q263761 || EXISTS { ?org wdt:P361 wd:Q263761 })
    ?author rdfs:label ?authorLabel .
    FILTER(LANG(?authorLabel) = "en")
  } UNION {
    ?article wdt:P2093 ?authorName .
    ?authorName (wdt:P108 | wdt:P1416) ?org .
    FILTER(?org = wd:Q263761 || EXISTS { ?org wdt:P361 wd:Q263761 })
    BIND(?authorName AS ?authorLabel)
  }

  # Count total number of authors per article (both person and string)
  {
    SELECT ?article (COUNT(?a) AS ?authorCount)
    WHERE {
      ?article (wdt:P50 | wdt:P2093) ?a .
    }
    GROUP BY ?article
  }

  BIND(?pages / ?authorCount AS ?fractionalPages)
  FILTER(BOUND(?year))
}
GROUP BY ?year ?authorLabel
ORDER BY ASC(?year)

For authors linked to the Niels Bohr Institute, how many pages on average did they contribute per article per year, summed across all their publications?

List the total fractional page count of scholarly articles authored by researchers affiliated with the Niels Bohr Institute, broken down by year and author name.

SELECT ?var1 ( SUM ( ?var2 ) AS ?var3 ) ?var4Label WHERE { { SELECT ?var4Label ?var5 ?var1 ( ( SAMPLE ( ?var6 )/COUNT ( ?var7 ) ) AS ?var2 ) WHERE { { ?var8 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q263761> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P1416> <http://www.wikidata.org/entity/Q263761> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P1416> ?var9 . ?var9 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q263761> . } BIND ( STR ( YEAR ( ?var10 ) ) AS ?var1 ). ?var5 ( <http://www.wikidata.org/prop/direct/P50> | <http://www.wikidata.org/prop/direct/P2093> ) ?var7 . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var5 <http://www.wikidata.org/prop/direct/P50> ?var8 . ?var5 <http://www.wikidata.org/prop/direct/P1104> ?var6 . ?var5 <http://www.wikidata.org/prop/direct/P577> ?var10 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "en" ) ) ) . } GROUP BY ?var5 ?var4Label ?var1 } } GROUP BY ?var1 ?var4Label ORDER BY ASC( ?var1 )


Question: What are some schools around the world and their corresponding countries?

SELECT DISTINCT ?schoolLabel ?countryLabel WHERE { ?school wdt:P31 wd:Q3914 . ?school wdt:P131 ?admin . ?admin wdt:P131 ?country . ?country wdt:P31 wd:Q3624078 . ?school rdfs:label ?schoolLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?schoolLabel) = "en") FILTER(LANG(?countryLabel) = "en") } LIMIT 10

Can you list schools and the countries they are located in, using Wikidata?

Which countries host schools, and what are the names of those schools, based on their administrative location hierarchy?

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


Question: What are the top 10 airlines in the world, along with their IATA and ICAO codes, country, and official websites?

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 ?airline ?airlineLabel ?iataCode ?icaoCode ?callsign ?website ?country ?countryLabel WHERE {
  ?airline wdt:P31 wd:Q46970 ; wdt:P17 ?country ; wdt:P229 ?iataCode ; wdt:P230 ?icaoCode .
  OPTIONAL {
    ?airline wdt:P432 ?callsign .
  }
  OPTIONAL {
    ?airline wdt:P856 ?website .
  }
  ?airline rdfs:label ?airlineLabel .
  ?country rdfs:label ?countryLabel .
  FILTER ( LANG( ?airlineLabel ) = "en" ) FILTER ( LANG( ?countryLabel ) = "en" )
}
LIMIT 10

Can you list airlines that have both IATA and ICAO codes, including their names, country, callsigns, and websites, all in English?

Show me airline details like their names, country, IATA/ICAO codes, and websites — only for airlines with English labels.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label ?var6 ?var7Label ?var8Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q46970> ; <http://www.wikidata.org/prop/direct/P17> ?var7 ; <http://www.wikidata.org/prop/direct/P229> ?var2 ; <http://www.wikidata.org/prop/direct/P230> ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P432> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } LIMIT 10


Question: What are the labels, image, coordinates, and social media links for the Monumento alla Resistenza in Ancona, Italy, in English, French, and Italian?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?label ?image ?coordinates ?youtubeId ?githubUsername ?twitterUsername ?facebookUsername ?instagramUsername ?website ?orcid WHERE {
  VALUES ( ?lang ?sortOrder ) {
    ( "en" 1 ) ( "de" 2 ) ( "fr" 3 ) ( "it" 4 )
  }
  wd:Q17636661 rdfs:label ?label .
  FILTER ( LANG( ?label ) = ?lang ) OPTIONAL {
    wd:Q17636661 wdt:P18 ?image .
  }
  OPTIONAL {
    wd:Q17636661 wdt:P625 ?coordinates .
  }
  OPTIONAL {
    wd:Q17636661 wdt:P1651 ?youtubeId .
  }
  OPTIONAL {
    wd:Q17636661 wdt:P2037 ?githubUsername .
  }
  OPTIONAL {
    wd:Q17636661 wdt:P2002 ?twitterUsername .
  }
  OPTIONAL {
    wd:Q17636661 wdt:P2013 ?facebookUsername .
  }
  OPTIONAL {
    wd:Q17636661 wdt:P2003 ?instagramUsername .
  }
  OPTIONAL {
    wd:Q17636661 wdt:P856 ?website .
  }
  OPTIONAL {
    wd:Q17636661 wdt:P496 ?orcid .
  }
}
ORDER BY ?sortOrder

Show me the official labels in English, French, and Italian for the Monumento alla Resistenza monument, along with its image, location, and any associated YouTube, GitHub, Twitter, Facebook, Instagram, website, or ORCID identifiers.

Retrieve the multilingual labels and key metadata (image, coordinates, social media, website, ORCID) for the Monumento alla Resistenza, sorted by language preference: English first, then French, then Italian.

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


Question: Items used by house cats

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?itemLabel WHERE {
  ?item p:P1535 ?stmt .
  ?stmt ps:P1535 wd:Q146 .
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en")
}

What products or things are used by domestic cats?

List all items that are used by house cats, along with their English labels.

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


Question: Flags and municipal entities in Ille-et-Vilaine departments

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

What flags and municipal institutions are associated with communes in Ille-et-Vilaine, France?

List the official flags and municipal entities that apply to communes located in Ille-et-Vilaine.

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


Question: What are the labels for Maya Soetoro-Ng in English, German, French, and Italian, along with her image?

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

Can you show me Maya Soetoro-Ng’s name in different languages, ordered by preference (English first), and include her Wikimedia Commons image?

I’d like to see how Maya Soetoro-Ng is named in English, German, French, and Italian, with her photo, but I don’t need coordinates or Wikipedia links.

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


Question: What images are available for the person with SNAC ARK ID w6h99559?

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

Show me the Wikimedia Commons images linked to Gerald Strickland’s SNAC ARK ID (w6h99559).

Find images of Gerald Strickland identified by the SNAC ARK ID w6h99559.

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


Question: Reims: labels in English, German, French, and Italian; image; coordinates; and Wikipedia links.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?label ?image ?coordinates ?abstract ?wikipediaArticle WHERE {
  {
    wd:Q41876 rdfs:label ?label .
    FILTER ( LANG( ?label ) = "en" ) OPTIONAL {
      wd:Q41876 wdt:P18 ?image .
    }
    OPTIONAL {
      wd:Q41876 wdt:P625 ?coordinates .
    }
    OPTIONAL {
      wd:Q41876 schema:description ?abstract .
      FILTER ( LANG( ?abstract ) = "en" )
    }
    OPTIONAL {
      ?wikipediaArticle schema:about wd:Q41876 ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> .
    }
  } UNION {
    wd:Q41876 rdfs:label ?label .
    FILTER ( LANG( ?label ) = "de" ) OPTIONAL {
      wd:Q41876 wdt:P18 ?image .
    }
    OPTIONAL {
      wd:Q41876 wdt:P625 ?coordinates .
    }
    OPTIONAL {
      wd:Q41876 schema:description ?abstract .
      FILTER ( LANG( ?abstract ) = "de" )
    }
    OPTIONAL {
      ?wikipediaArticle schema:about wd:Q41876 ; schema:inLanguage "de" ; schema:isPartOf <https://de.wikipedia.org/> .
    }
  } UNION {
    wd:Q41876 rdfs:label ?label .
    FILTER ( LANG( ?label ) = "fr" ) OPTIONAL {
      wd:Q41876 wdt:P18 ?image .
    }
    OPTIONAL {
      wd:Q41876 wdt:P625 ?coordinates .
    }
    OPTIONAL {
      wd:Q41876 schema:description ?abstract .
      FILTER ( LANG( ?abstract ) = "fr" )
    }
    OPTIONAL {
      ?wikipediaArticle schema:about wd:Q41876 ; schema:inLanguage "fr" ; schema:isPartOf <https://fr.wikipedia.org/> .
    }
  } UNION {
    wd:Q41876 rdfs:label ?label .
    FILTER ( LANG( ?label ) = "it" ) OPTIONAL {
      wd:Q41876 wdt:P18 ?image .
    }
    OPTIONAL {
      wd:Q41876 wdt:P625 ?coordinates .
    }
    OPTIONAL {
      wd:Q41876 schema:description ?abstract .
      FILTER ( LANG( ?abstract ) = "it" )
    }
    OPTIONAL {
      ?wikipediaArticle schema:about wd:Q41876 ; schema:inLanguage "it" ; schema:isPartOf <https://it.wikipedia.org/> .
    }
  }
}
ORDER BY ?label

What are the labels, image, coordinates, and Wikipedia articles for the city of Reims in English, German, French, and Italian?

Show me the name of Reims in English, German, French, and Italian, along with its image, geographic coordinates, and links to its Wikipedia pages in those languages.

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


Question: Female alumni of the University of Edinburgh and their birthplaces with coordinates.

SELECT ?person ?personLabel ?birthPlaceLabel WHERE { ?person wdt:P69 wd:Q160302 . ?person wdt:P21 wd:Q6581072 . ?person wdt:P19 ?birthPlace . ?birthPlace wdt:P625 ?coord . ?person rdfs:label ?personLabel . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?personLabel) = "en") FILTER(LANG(?birthPlaceLabel) = "en") }

Who are the women who studied at the University of Edinburgh, and where were they born (with geographic coordinates)?

List the names of female graduates from the University of Edinburgh along with the names of their birthplaces that have known geographic coordinates.

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


Question: What is the name and country of the location with GeoNames ID 703447?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?placeLabel ?countryLabel WHERE {
  ?place wdt:P1566 "703447" .
  ?place wdt:P17 ?country .
  ?place rdfs:label ?placeLabel .
  ?country rdfs:label ?countryLabel .
}

Show me the label and country of the place identified by GeoNames ID 703447.

Which place has the GeoNames ID 703447, and in which country is it located?

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 WHERE { { ?var5 <http://www.wikidata.org/prop/direct/P1566> <http://www.wikidata.org/entity/703447> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: List all shared Wikimedia Commons categories for English heritage buildings with multiple listed structures and their National Heritage List numbers.

SELECT DISTINCT ?category ?item ?itemLabel (GROUP_CONCAT(DISTINCT ?heritageNumber; separator=" ") AS ?heritageNumbers) WHERE { { SELECT ?category WHERE { ?item1 wdt:P373 ?category ; wdt:P1216 ?n1 . ?item2 wdt:P373 ?category ; wdt:P1216 ?n2 . FILTER (?item1 != ?item2) FILTER NOT EXISTS { ?item1 wdt:P31 wd:Q4167836 } FILTER NOT EXISTS { ?item2 wdt:P31 wd:Q4167836 } } GROUP BY ?category HAVING (COUNT(?item1) >= 2) } ?item wdt:P373 ?category . FILTER NOT EXISTS { ?item wdt:P31 wd:Q4167836 } OPTIONAL { ?item wdt:P1216 ?heritageNumber } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } GROUP BY ?category ?item ?itemLabel ORDER BY ASC(?category) ASC(?item)

Which Wikimedia Commons categories are used by more than one listed building in England, and what are the heritage numbers of those buildings?

Show me the heritage buildings grouped by their shared Wikimedia Commons categories, where each category contains at least two listed buildings, along with their National Heritage List for England numbers.

SELECT DISTINCT ?var1 ?var2 ?var2Label ( GROUP_CONCAT ( ?var3 ) AS ?var4 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P373> ?var1 . FILTER ( ( NOT EXISTS { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . } ) ) . ?var5 <http://www.wikidata.org/prop/direct/P1216> ?var6 . ?var7 <http://www.wikidata.org/prop/direct/P373> ?var1 . FILTER ( ( ( ?var5 != ?var7 ) ) ) . FILTER ( ( NOT EXISTS { ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . } ) ) . ?var2 <http://www.wikidata.org/prop/direct/P373> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1216> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } GROUP BY ?var1 ?var2 ?var2Label ORDER BY ASC( ?var1 )ASC( ?var2 )


Question: What positions did Leanne Wood hold, and in which elections was she elected?

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
SELECT DISTINCT ?positionLabel ?election ?electionLabel WHERE {
  ?person wdt:P31 wd:Q5 ; wdt:P735 wd:Q3829266 ; wdt:P19 wd:Q6662915 ; p:P39 ?stmt .
  ?stmt ps:P39 ?position ; pq:P2715 ?election .
  ?position rdfs:label ?positionLabel .
  ?election rdfs:label ?electionLabel .
  FILTER ( LANG( ?positionLabel ) = "en" ) FILTER ( LANG( ?electionLabel ) = "en" )
}

For the Welsh politician Leanne Wood, born in Llwynypia, what offices did she hold and during which elections?

List the elected positions held by Leanne Wood and the corresponding elections in which she was elected.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q3829266> . ?var3 <http://www.wikidata.org/prop/P39> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q6662915> . ?var3 <http://www.wikidata.org/prop/qualifier/P2715> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Image of Esteban Tápis with SNAC ARK ID w60v8p2n

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

Is there an image available for Esteban Tápis, identified by the SNAC ARK ID w60v8p2n?

Please retrieve the Wikimedia Commons image for the person whose SNAC ARK ID is w60v8p2n.

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


Question: What are the WikiPathways IDs of biological pathways associated with humans?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?pathwayId WHERE {
  ?pathway wdt:P2410 ?pathwayId ; wdt:P703 wd:Q15978631 .
}

Which pathways in WikiPathways are found in Homo sapiens?

Show me the identifiers of human biological pathways from WikiPathways.

SELECT ?var1 WHERE { <http://identifiers.org/wikipathways/WP2761_r88021> <http://www.wikidata.org/prop/direct/P2410> ?var1 ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . }


Question: Russian citizens linked to Russian Wikisource with birth and death dates

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?human ?label ?birthDate ?deathDate WHERE {
  ?human wdt:P31 wd:Q5 .
  OPTIONAL {
    ?human wdt:P27 ?citizenship .
  }
  OPTIONAL {
    ?human wdt:P569 ?birthDate .
  }
  OPTIONAL {
    ?human wdt:P570 ?deathDate .
  }
  ?page schema:about ?human ; schema:isPartOf <https://ru.wikisource.org/> .
  FILTER(?citizenship = wd:Q159)
  ?human rdfs:label ?label .
  FILTER(LANG(?label) = "ru" || LANG(?label) = "")
}
ORDER BY ASC(?deathDate)

Who are Russian citizens that have pages on Russian Wikisource, and what are their birth and death dates?

List Russian citizens who are featured on Russian Wikisource, along with their birth and death dates, sorted by death date.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1412> ?var5 . } ?var6 <http://schema.org/isPartOf> <https://ru.wikisource.org/> ; <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru". } FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q159> ) ) ) . } ORDER BY ASC( ?var3 )


Question: Male children of Adolf Wilhelm Roos

SELECT DISTINCT ?child WHERE { wd:Q6078257 wdt:P40 ?child . ?child wdt:P21 wd:Q6581097 . }

Who are the male children of Swedish politician Adolf Wilhelm Roos?

List all male descendants who are direct children of Adolf Wilhelm Roos.

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


Question: Most used property linking to the album "Movies" by Holger Czukay

SELECT ?prop (COUNT(?prop) AS ?count)
WHERE {
  ?item ?prop wd:Q1179487 .
  FILTER(STRSTARTS(STR(?prop), "http://www.wikidata.org/prop/direct/"))
}
GROUP BY ?prop
ORDER BY DESC(?count)
LIMIT 1

Which Wikidata property is most commonly used to connect the album "Movies" to other items?

Show me the property that links the album "Movies" to a list, and how many times it's used.

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q1179487> . ?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: What are some abstract concepts or aspects related to human beings?

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 ?facet ?facetLabel ?officialName WHERE {
  ?facet wdt:P1269 wd:Q5 .
  OPTIONAL {
    ?facet wdt:P1448 ?officialName .
  }
  ?facet rdfs:label ?facetLabel .
  FILTER(LANG(?facetLabel) = "en")
}
LIMIT 100

Can you list the English names of concepts that are considered facets of humanity, along with their official names?

Which topics are considered dimensions of human existence, and what are their official titles?

SELECT ?var1 ?var1Label ?var2 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/P1269> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1448> ?var2 . } } LIMIT 100


Question: Who is the human with the alias "2Pac" in English?

SELECT ?human ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . ?human skos:altLabel "2Pac"@en . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = "en") } LIMIT 5

Which human is known by the alternative name "2Pac" in English?

Find the English label of the person whose alias is "2Pac".

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


Question: What is Lennart Meri’s ORCID identifier, and if it’s not available, generate a fallback URL using his name?

SELECT ?person ?personLabel ( COALESCE ( ?orcid , CONCAT ( "https://example.org/author/" , ENCODE_FOR_URI( ?personLabel ) ) ) AS ?fallback ) WHERE { BIND( wd:Q153149 AS ?person ) OPTIONAL { ?person wdt:P496 ?orcid } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }

Can you provide Lennart Meri’s name and a fallback link if his ORCID is not listed in Wikidata?

Show Lennart Meri’s English label and his ORCID; if no ORCID exists, create a URL using his name.

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


Question: Albert Einstein — birth date, death date, authorized name, native label, and birth name

SELECT ?human ?birthDate ?deathDate ?authorizedName ?nativeLabel ?birthName WHERE { ?human wdt:P31 wd:Q5 . ?human rdfs:label "Albert Einstein"@en . OPTIONAL { ?human wdt:P569 ?birthDate . } OPTIONAL { ?human wdt:P570 ?deathDate . } OPTIONAL { ?human wdt:P1810 ?authorizedName . } OPTIONAL { ?human wdt:P1705 ?nativeLabel . } OPTIONAL { ?human wdt:P1477 ?birthName . } } LIMIT 5

What are the birth date, death date, authorized name, native label, and birth name of Albert Einstein?

Show me the birth and death dates, along with any authorized name, native language label, and birth name for Albert Einstein.

SELECT ?var1 ?var2 ?var3 ?var4 ?var5Label ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ?var7Label "string1"@se . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "se". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1810> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var5Label . } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1477> ?var6 . } OPTIONAL { } } LIMIT 5


Question: Czech monuments with catalogue numbers and coordinates sourced from MonumNet.

SELECT DISTINCT ?monument ?monumentLabel ?catalogNumber ?coordinates WHERE { ?monument wdt:P4075 ?catalogNumber . ?monument p:P625 [ ps:P625 ?coordinates ; prov:wasDerivedFrom/pr:P248 wd:Q22250265 ] . ?monument rdfs:label ?monumentLabel . FILTER(LANG(?monumentLabel) = "en") }

Which Czech cultural monuments have their coordinates listed in the MonumNet database, along with their catalogue numbers?

Show me the names, catalogue numbers, and geographic coordinates of Czech monuments whose location data is referenced from MonumNet.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4075> ?var2 ; <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/P625> [ <http://www.wikidata.org/prop/statement/P625> ?var5 ; <http://wikiba.se/ontology#rank> ?var6 ; ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> ) <http://www.wikidata.org/entity/Q22250265> ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "cs,en". } }


Question: Hungarian-labeled capital cities in Europe with their coordinates and continent.

SELECT DISTINCT ?capital ?capitalLabel ?property ?coordinates WHERE { ?capital wdt:P31 wd:Q5119 . ?capital ?property wd:Q46 . ?capital wdt:P625 ?coordinates . ?capital rdfs:label ?capitalLabel . FILTER (LANG(?capitalLabel) = "hu") . FILTER (?property = wdt:P30) }

Which capital cities in Europe have Hungarian labels, and what are their coordinates and the continent they belong to?

Show me the Hungarian names, coordinates, and continent of all capital cities located in Europe.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5119> . ?var1 ?var2 <http://www.wikidata.org/entity/Q46> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } FILTER ( ( ( LANG ( ?var1Label ) = "hu" ) ) ) . }


Question: Most used property linking entities to the Inca Empire

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

What property is used most often to indicate that something was part of the Inca Empire?

Show the property that is most frequently used to associate items with the Inca Empire, along with the number of times it appears.

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q28573> . ?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: List artists and their Benezit Dictionary of Artists IDs.

SELECT ?artist ?artistLabel ?benezitId WHERE { ?artist wdt:P2843 ?benezitId . ?artist rdfs:label ?artistLabel . FILTER(LANG(?artistLabel) = "en") } LIMIT 1000

Who are the artists listed in the Benezit Dictionary of Artists, and what are their IDs?

Show me the English names of artists along with their Benezit identifiers.

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


Question: List people and their occupations where the occupation is a type of author, such as writer, playwright, or journalist.

SELECT ?person ?personLabel ?occupation ?occupationLabel WHERE { ?person wdt:P106 ?occupation . ?occupation wdt:P279* wd:Q482980 . ?person rdfs:label ?personLabel . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?personLabel) = "en") FILTER(LANG(?occupationLabel) = "en") } LIMIT 10000

Who are the people whose occupations are subclasses of author, and what are those occupations?

Show me a list of authors and their specific writing-related professions in English.

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


Question: What languages are indigenous to East Nusa Tenggara Province in Indonesia?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?language ?languageLabel WHERE {
  ?language wdt:P31 wd:Q34770 .
  ?language wdt:P2341 wd:Q5061 .
}

Which languages are spoken natively in East Nusa Tenggara?

Can you list the local languages of East Nusa Tenggara?

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P379> *) <http://www.wikidata.org/entity/Q83828> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q252> . ?var2 <http://www.wikidata.org/prop/direct/P2341> ?var1 . { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34770> . } UNION { BIND ( <http://www.wikidata.org/entity/Q6488691> AS ?var2 ). } FILTER ( ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P276> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P31> ?var5 . ?var4 ( <http://www.wikidata.org/prop/direct/P361> */ <http://www.wikidata.org/prop/direct/P131> *) <http://www.wikidata.org/entity/Q5061> . } ) ) . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34379> . ?var3 <http://www.wikidata.org/prop/direct/P2341> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "id,en,nl". } }


Question: Musical groups with "as blood" in their name, including their image, website, location, Facebook, genre, and MusicBrainz ID.

SELECT DISTINCT ?band ?bandLabel ?image ?website ?location ?locationLabel ?facebook ?genre ?genreLabel ?musicbrainz WHERE { ?band wdt:P31 ?type . ?type wdt:P279* wd:Q215380 . ?band rdfs:label ?label . FILTER(LANG(?label) = "en" && CONTAINS(LCASE(?label), "as blood")) OPTIONAL { ?band wdt:P18 ?image . } OPTIONAL { ?band wdt:P856 ?website . } OPTIONAL { ?band wdt:P740 ?location . } OPTIONAL { ?band wdt:P2013 ?facebook . } OPTIONAL { ?band wdt:P136 ?genre . } OPTIONAL { ?band wdt:P434 ?musicbrainz . } OPTIONAL { ?location rdfs:label ?locationLabel . FILTER(LANG(?locationLabel) = "en") } OPTIONAL { ?genre rdfs:label ?genreLabel . FILTER(LANG(?genreLabel) = "en") } BIND(?label AS ?bandLabel) } LIMIT 500

What are the musical groups whose English name contains "as blood", and what are their image, official website, location of formation, Facebook username, genre, and MusicBrainz ID?

Show me all musical bands (including rock bands) named with "as blood" in their English title, along with their image, website, where they were formed, Facebook profile, genre, and MusicBrainz identifier.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4Label ?var5 ?var6Label ?var7 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/Q215380> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P740> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P434> ?var7 . } FILTER ( ( CONTAINS ( LCASE ( ?var8 ) , "as blood" ) ) ) . } LIMIT 500


Question: List all locations and features related to Hamburg, including their type and coordinates.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?itemLabel ?item ?instanceLabel ?coordinates WHERE {
  ?item ( wdt:P131 | wdt:P279 * | wdt:P276 ) wd:Q1055 .
  OPTIONAL {
    ?item wdt:P31 ?instance .
  }
  OPTIONAL {
    ?item wdt:P625 ?coordinates .
  }
}
ORDER BY ASC ( ?itemLabel ) ASC ( ?instanceLabel )

What are all the places in or associated with Hamburg, and what are their types and geographic coordinates?

Show me all entities connected to Hamburg — whether they’re located there, are a subclass of something there, or have a physical presence there — along with their classification and GPS coordinates, sorted by name.

SELECT DISTINCT ?var1Label ?var1 ?var2Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P279> *| <http://www.wikidata.org/prop/direct/P276> ) <http://www.wikidata.org/entity/Q1055> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de, en". } } ORDER BY ASC( ?var4Label )ASC( ?var1Label )


Question: Musical groups with "slayer" in their name, their country of origin, and MusicBrainz IDs.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?group ?groupLabel ?image ?website ?formationLocation ?facebook ?musicbrainzId ?country ?countryLabel WHERE {
  ?group wdt:P31 wd:Q215380 .
  ?group rdfs:label ?groupLabel .
  FILTER ( LANG( ?groupLabel ) = "en" ) OPTIONAL {
    ?group wdt:P18 ?image .
  }
  OPTIONAL {
    ?group wdt:P856 ?website .
  }
  OPTIONAL {
    ?group wdt:P740 ?formationLocation .
  }
  OPTIONAL {
    ?group wdt:P2013 ?facebook .
  }
  OPTIONAL {
    ?group wdt:P434 ?musicbrainzId .
  }
  OPTIONAL {
    ?group wdt:P495 ?country .
  }
  FILTER ( CONTAINS( LCASE( ?groupLabel ) , "slayer" ) ) OPTIONAL {
    ?country rdfs:label ?countryLabel .
  }
  FILTER ( LANG( ?countryLabel ) = "en" )
}
LIMIT 100

Which musical groups have "slayer" in their name, and in which countries were they formed?

Show me all musical bands named "slayer" (case-insensitive), along with their country of origin and MusicBrainz artist IDs.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4Label ?var5 ?var6Label ?var7 ?var8 ?var8Label 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/Q215380> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var9 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P740> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P434> ?var7 . } FILTER ( ( CONTAINS ( LCASE ( ?var9 ) , "slayer" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P495> ?var8 . } } LIMIT 100


Question: What are German-language food items whose names start with "Reis"?

SELECT ?var1 ?var2Label WHERE { { ?var1 (wdt:P31/wdt:P279*) wd:Q2095 . } UNION { ?var1 (wdt:P31/wdt:P279*) wd:Q40050 . } UNION { ?var1 (wdt:P31/wdt:P279*) wd:Q622852 . } ?var1 rdfs:label ?var2Label . FILTER (LANG(?var2Label) = "de") . FILTER (STRSTARTS(?var2Label, "Reis")) . }

Can you list food dishes in German that begin with "Reis", such as rice flour or rice soup?

Show me items classified as food, drink, or domesticated animals that have German labels starting with "Reis".

SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2095> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q40050> . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q622852> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } FILTER ( ( ( LANG ( ?var2Label ) = "de" ) ) ) . FILTER ( ( STRSTARTS ( ?var2Label , "Reis" ) ) ) . }


Question: English labels of Wikidata entities

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

What are the English names of entities in Wikidata?

List entities from Wikidata along with their English labels.

SELECT * WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( LANGMATCHES ( LANG ( ?var3Label ) , "en" ) ) ) . }


Question: Female Spanish singers

SELECT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 ; wdt:P27 wd:Q29 ; wdt:P106 wd:Q177220 ; wdt:P21 wd:Q6581072 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }

Who are the female singers who are citizens of Spain?

List the English names of all women from Spain whose occupation is singing.

SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q29> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q177220> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "nl". } }


Question: What are the types or categories that the Agriculture and Fisheries Council belongs to, excluding itself?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE {
  {
    wd:Q2132312 wdt:P31 ?var1 .
  } UNION {
    wd:Q2132312 wdt:P279 * ?var1 .
  }
  FILTER(?var1 != wd:Q2132312)
  OPTIONAL {
    ?var2 schema:about ?var1 .
    ?var2 schema:isPartOf <https://en.wikipedia.org/> .
  }
  ?var1 rdfs:label ?var1Label .
  FILTER(LANG(?var1Label) = "en")
}

Show me the Wikipedia pages and English labels for all classes that the Agriculture and Fisheries Council is an instance of or a subclass of.

What broader or more specific categories describe the Agriculture and Fisheries Council, and is there an English Wikipedia article for each?

SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q2132312> ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the types and their superclasses that Albuquerque belongs to, and which of them have English Wikipedia pages?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?class ?classLabel ?wikipediaPage WHERE {
  wd:Q34804 wdt:P31 / wdt:P279 * ?class .
  ?class rdfs:label ?classLabel .
  FILTER ( LANG( ?classLabel ) = "en" ) OPTIONAL {
    ?wikipediaPage schema:about ?class ; schema:isPartOf <https://en.wikipedia.org/> .
  }
}

Classes of Albuquerque with English Wikipedia articles

Show me all the ontological categories that Albuquerque is part of, along with their corresponding English Wikipedia links.

SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q34804> ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: IMDb IDs and English names of awards received by humans.

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 ?imdbId ?awardLabel WHERE {
  ?person wdt:P31 wd:Q5 ; wdt:P345 ?imdbId ; wdt:P166 ?award .
  ?award rdfs:label ?awardLabel .
  FILTER(LANG(?awardLabel) = "en")
}

Which humans have an IMDb ID and what awards in English have they received?

List the IMDb IDs and the English labels of awards received by people.

SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P345> ?var1 ; <http://www.wikidata.org/prop/direct/P166> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 ; <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> "English". }


Question: Properties used to state that someone is a governor, excluding instance of.

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

Which properties (besides 'instance of') are used to link people to the position of governor?

Show me all the properties (except 'instance of') that can be used to indicate that a person holds the position of governor.

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


Question: German Wikipedia pages about entities that are not categories in Wikidata.

SELECT ?item ?itemLabel ?page WHERE { ?page schema:about ?item ; schema:inLanguage "de" . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (lang(?itemLabel) = "de") } OPTIONAL { ?item wdt:P279 ?subclass . } FILTER ( !BOUND(?subclass) ) } LIMIT 50

Which German-language Wikipedia articles are about Wikidata items that are not classes with subclasses?

Show me German-language Wikimedia pages for individual entities (not taxonomic classes) in Wikidata.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var2 <http://schema.org/about> ?var1 ; <http://schema.org/inLanguage> "de". OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var4 . } FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } LIMIT 50


Question: Events involving Russia, the Soviet Union, or the Russian Empire with their start and end dates.

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 ?event ?eventLabel ?startDate ?endDate WHERE {
  VALUES ?participant {
    wd:Q15180 wd:Q159 wd:Q34266
  }
  ?event wdt:P710 ?participant .
  ?event wdt:P580 ?startDate .
  ?event wdt:P582 ?endDate .
  ?event rdfs:label ?eventLabel .
  FILTER(LANG(?eventLabel) = "en")
}

What battles or conflicts did Russia, the Soviet Union, or the Russian Empire participate in, and when did they start and end?

List all military events in which Russia, the Soviet Union, or the Russian Empire were participants, along with their start and end times in English.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P710> <http://www.wikidata.org/entity/Q15180> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P710> <http://www.wikidata.org/entity/Q159> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P710> <http://www.wikidata.org/entity/Q34266> . } ?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> "ru". } }


Question: What events involved the Soviet Union, Japan, or the Russian Empire as participants?

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 ?event ?eventLabel WHERE {
  VALUES ?participant {
    wd:Q15180 wd:Q17 wd:Q34266
  }
  ?event wdt:P710 ?participant .
  ?event rdfs:label ?eventLabel .
}

List all historical events in which the Soviet Union, Japan, or the Russian Empire took part.

Which conflicts, alliances, or conferences included the Soviet Union, Japan, or the Russian Empire?

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P710> <http://www.wikidata.org/entity/Q15180> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P710> <http://www.wikidata.org/entity/Q17> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P710> <http://www.wikidata.org/entity/Q34266> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru". } }


Question: Gene with NCBI locus tag CT_215 in Chlamydia trachomatis and the protein it encodes.

SELECT DISTINCT ?gene ?protein WHERE { ?taxon wdt:P685 "272561" . ?gene wdt:P2393 "CT_215" ; wdt:P703 ?taxon ; wdt:P688 ?protein . }

What protein is encoded by the gene with locus tag CT_215 in the organism with NCBI taxonomy ID 272561?

Show me the gene and the protein it encodes for the CT_215 locus tag in Chlamydia trachomatis.

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


Question: Proteins with UniProt IDs, their interaction partners, the genes and taxa of those partners, and the PubMed sources and experimental methods supporting the interactions.

PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?protein ?proteinLabel ?interactor ?interactorLabel ?gene ?geneLabel ?taxon ?taxonLabel ?source ?sourceLabel ?pubmedId(GROUP_CONCAT(DISTINCT ?method ; SEPARATOR = ", ") AS ?methods)(GROUP_CONCAT(DISTINCT ?methodLabel ; SEPARATOR = ", ") AS ?methodLabels) WHERE {
  ?protein wdt:P352 ?uniprot ; wdt:P129 ?interactor ; p:P129 ?statement .
  ?statement pq:P459 ?method ;(prov:wasDerivedFrom / pr:P248) ?source .
  ?source wdt:P698 ?pubmedId .
  ?interactor wdt:P702 ?gene ; wdt:P703 ?taxon .
  ?method rdfs:label ?methodLabel .
  ?protein rdfs:label ?proteinLabel .
  ?interactor rdfs:label ?interactorLabel .
  ?gene rdfs:label ?geneLabel .
  ?taxon rdfs:label ?taxonLabel .
  ?source rdfs:label ?sourceLabel .
  FILTER(LANG(?proteinLabel) = "en")
  FILTER(LANG(?interactorLabel) = "en")
  FILTER(LANG(?geneLabel) = "en")
  FILTER(LANG(?taxonLabel) = "en")
  FILTER(LANG(?sourceLabel) = "en")
  FILTER(LANG(?methodLabel) = "en")
}
GROUP BY ?protein ?proteinLabel ?interactor ?interactorLabel ?gene ?geneLabel ?taxon ?taxonLabel ?source ?sourceLabel ?pubmedId

For proteins with a UniProt ID, what are their physical interaction partners, which genes encode those partners, in which taxa are they found, and what publications and experimental methods support these interactions?

List all protein interactions recorded in Wikidata with their UniProt IDs, the interacting molecules, the genes and species those molecules belong to, the PubMed references, and the methods used to detect the interactions.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4Label ?var3Label ?var5 ?var5Label ?var6 ( GROUP_CONCAT ( DISTINCT ?var7 ; SEPARATOR = ", " ) AS ?var8 )( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = ", " ) AS ?var8Label ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P352> "O84736"; <http://www.wikidata.org/prop/direct/P129> ?var3 ; <http://www.wikidata.org/prop/P129> ?var10 . ?var10 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> ) ?var5 ; <http://www.wikidata.org/prop/qualifier/P459> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var9Label . ?var5 <http://www.wikidata.org/prop/direct/P698> ?var6 . ?var3 <http://www.wikidata.org/prop/direct/P703> ?var1 ; <http://www.wikidata.org/prop/direct/P702> ?var4 . FILTER ( ( ( LANG ( ?var9Label ) = "en" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } GROUP BY ?var2 ?var4Label ?var2Label ?var5 ?var5Label ?var6 ?var3 ?var3Label ?var1 ?var1Label


Question: Who were the doctoral students of James D. Watson?

SELECT ?student WHERE { ?student wdt:P184 wd:Q83333 . } LIMIT 101

Doctoral students advised by James D. Watson

Can you list the people who received their PhD under James D. Watson?

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


Question: Image of the person with SNAC ARK ID w6n87b5h

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

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

Show me the Wikimedia Commons image for Charles Trowbridge Haubiel, identified by SNAC ARK ID w6n87b5h.

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


Question: What is the image of the person or entity with SNAC ARK ID w6f29nwg?

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

Show me the Wikimedia Commons image associated with the SNAC ARK ID w6f29nwg.

Which image is linked to the Social Networks and Archival Context identifier w6f29nwg?

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


Question: What are some academic journal articles and who are their human authors?

SELECT ?article ?articleLabel ?authorLabel WHERE { ?article wdt:P31 wd:Q18918145 . ?article wdt:P50 ?author . ?author wdt:P31 wd:Q5 . ?article rdfs:label ?articleLabel . ?author rdfs:label ?authorLabel . FILTER(LANG(?articleLabel) = "en") FILTER(LANG(?authorLabel) = "en") } LIMIT 100

Show me a list of scholarly articles along with the names of the people who wrote them.

Which human authors have published academic papers, and what are the titles of those papers?

SELECT ?var1 ?var1Label ?var2Label 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/Q18918145> . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q729> . } LIMIT 100


Question: Administrative regions Paris is part of

SELECT ?administrativeEntity ?administrativeEntityLabel WHERE { wd:Q90 wdt:P131* ?administrativeEntity . ?administrativeEntity rdfs:label ?administrativeEntityLabel . FILTER(LANG(?administrativeEntityLabel) = "en")}

What administrative territories include Paris, either directly or through hierarchy?

List all administrative entities that Paris belongs to, from the smallest to the largest, including France and historical entities.

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


Question: Music genres with a Wikimedia Commons category but no image on Wikidata.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?genreLabel ?genre ?commonsCategory WHERE {
  ?genre wdt:P31 wd:Q188451 .
  ?genre wdt:P373 ?commonsCategory . MINUS {
    ?genre wdt:P18 [] .
  }
  ?genre rdfs:label ?genreLabel .
  FILTER ( LANG( ?genreLabel ) = "en" )
}

Which music genres have a Commons category but do not have an associated image on Wikidata?

List the English names of music genres that are linked to a Wikimedia Commons category but lack a featured image on Wikidata.

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


Question: What are the ISNI, VIAF, and other identifiers for Mark Hughes, and does he have an image on Wikimedia Commons?

SELECT ?label ?isni ?viaf ?orcid ?ipni ?zoobank ?image WHERE { wd:Q214513 rdfs:label ?label FILTER(LANG(?label) = 'en') . OPTIONAL { wd:Q214513 wdt:P213 ?isni } . OPTIONAL { wd:Q214513 wdt:P214 ?viaf } . OPTIONAL { wd:Q214513 wdt:P496 ?orcid } . OPTIONAL { wd:Q214513 wdt:P586 ?ipni } . OPTIONAL { wd:Q214513 wdt:P2006 ?zoobank } . OPTIONAL { wd:Q214513 wdt:P18 ?image } .}

Can you find the ORCID, ISNI, and image of the Welsh football manager Mark Hughes?

Show me the digital identifiers and photo of Mark Hughes, who might be referred to as M. Hughes in some contexts.

SELECT * WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "M Hughes"@en . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://species.wikimedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P586> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2006> ?var8 . } }