EntitySchema:E1: Difference between revisions

From Qichwabase
Jump to navigation Jump to search
(Created a new Schema: Country)
 
(Updated Schema text: updating name convetion)
Schema / Line 1: Schema / Line 1:
PREFIX qb: <https://qichwa.wikibase.cloud/entity/>
PREFIX wd: <https://qichwa.wikibase.cloud/entity/>
PREFIX qbt: <https://qichwa.wikibase.cloud/prop/direct/>
PREFIX wdt: <https://qichwa.wikibase.cloud/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
start = @<country>
start = @<country>
<country> {
<country> {
   qbt:P5 [ qb:Q137  ] ;#instance of a country
   wdt:P5 [ wd:Q137  ] ;#instance of a country
   qbt:P18 .* ;#oficial name of the country
   wdt:P18 .* ;#oficial name of the country
}
}

Revision as of 15:13, 7 April 2023

language codelabeldescriptionaliasesedit
enCountryConstraints for country instancesedit
PREFIX wd: <https://qichwa.wikibase.cloud/entity/>
PREFIX wdt: <https://qichwa.wikibase.cloud/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
start = @<country>
<country> {
  wdt:P5 [ wd:Q137  ] ;#instance of a country
  wdt:P18 .* ;#oficial name of the country
}