EntitySchema:E1: Difference between revisions

From Almeda
Created a new Schema: country
 
Updated Schema text: change uueat prefix to wdt, since they are not configured in almeda
 
Schema / Line 1: Schema / Line 1:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wd: <https://wikibase.almeda.engelska.uu.se/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wdt: <https://wikibase.almeda.engelska.uu.se/prop/direct/>
PREFIX uuea: <https://wikibase.almeda.engelska.uu.se/entity/>
PREFIX uueat: <https://wikibase.almeda.engelska.uu.se/prop/direct/>


start = @<country>
start = @<country>


<country> EXTRA uueat:P4 {
<country> EXTRA wdt:P4 {
   uueat:P4 [uuea:Q1];
   wdt:P4 [wd:Q1];
   uueat:P13 . *;                    #coordinate location
   wdt:P13 . *;                    #coordinate location
   uueat:P19 . ?;                    # inception
   wdt:P19 . ?;                    # inception
   rdfs:label rdf:langString+;
   rdfs:label rdf:langString+;
}
}

Latest revision as of 14:20, 5 May 2026

language codelabeldescriptionaliasesedit
lggedit
encountrydistinct territorial body or political entityedit
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <https://wikibase.almeda.engelska.uu.se/entity/>
PREFIX wdt: <https://wikibase.almeda.engelska.uu.se/prop/direct/>

start = @<country>

<country> EXTRA wdt:P4 {
  wdt:P4 [wd:Q1];
  wdt:P13 . *;                    #coordinate location
  wdt:P19 . ?;                    # inception
  rdfs:label rdf:langString+;
}