Property talk:P9498

From Wikidata
Jump to navigation Jump to search

Documentation

Enzyklopädie des europäischen Ostens ID
identifier for an article in the Enzyklopädie des europäischen Ostens
[create Create a translatable help page (preferably in English) for this property to be included here]
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P9498#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P9498#Unique value, SPARQL (every item), SPARQL (by value)
Format “[0-9a-f]{4}(-[2-3])?: value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P9498#Format, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P9498#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P9498#Scope, SPARQL
Conflicts with “instance of (P31): Wikimedia disambiguation page (Q4167410): this property must not be used with the listed properties and values. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P9498#Conflicts with P31, search, SPARQL

Query for places[edit]

To celebrate the nearly complete connection of this encyclopedia, here is a query showing on a map all the places pertinent to the encyclopedia, so all places having an article in it and all the birthplaces and deathplaces of people having an article in it:

#defaultView:Map
SELECT ?item ?itemLabel ?coord ?birthplace ?birthplaceLabel ?birthcoord ?deathplace ?deathplaceLabel ?deathcoord ?layer
       (URI(CONCAT("https://eeo.aau.at/eeo.aau.at/index",?eeo,".html")) AS ?eeoUrl)
WHERE {
  ?item wdt:P9498 ?eeo .
  OPTIONAL { ?item wdt:P625 ?coord . }
  OPTIONAL { ?item wdt:P19 ?birthplace . ?birthplace wdt:P625 ?birthcoord . }
  OPTIONAL { ?item wdt:P20 ?deathplace . ?deathplace wdt:P625 ?deathcoord . }
  BIND(IF(BOUND(?coord),"place","birthplace or deathplace") AS ?layer)
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en,[AUTO_LANGUAGE]". }
}
Try it!

--Epìdosis 19:55, 1 May 2021 (UTC)[reply]

Thank you (also for your MnM work)! A very interesting map! --Emu (talk) 20:48, 1 May 2021 (UTC)[reply]