EntitySchema:E2: Difference between revisions

From MetaBase
Jump to navigation Jump to search
(Updated Schema text)
(Updated Schema text: adding P32 as optional)
Schema / Line 19: Schema / Line 19:
wdt:P11 LITERAL; # described at Wikimedia page
wdt:P11 LITERAL; # described at Wikimedia page
wdt:P37 LITERAL; # Commons category
wdt:P37 LITERAL; # Commons category
wdt:P32 IRI; # manager/leader
}
}

Revision as of 08:00, 14 September 2023

language codelabeldescriptionaliasesedit
enWMSE projectschema for projects ran by WMSEproject (WMSE)edit
svWMSE-projektschema för WMSE:s projektprojekt (WMSE)edit
PREFIX wd: <https://metabase.wikibase.cloud/entity/>
PREFIX wdt: <https://metabase.wikibase.cloud/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

start = @<project-wmse>


<project-wmse> EXTRA wdt:P5 {
rdfs:label [ @sv ] ;
wdt:P5 [wd:Q2]+;  # instance of : project (mandatory)
wdt:P8 LITERAL+; # title (mandatory)
wdt:P14 [wd:Q9]+ ; # organizer : WMSE (mandatory)
wdt:P10 [ wd:Q7 wd:Q4 wd:Q5 wd:Q6 ]?+;   # WMSE programmatic area (mandatory)
wdt:P9 LITERAL+; # WMSE project ID (mandatory)
wdt:P6 LITERAL; # start time
wdt:P7 LITERAL; # end time
wdt:P24 IRI; # follows
wdt:P25 IRI; # followed by
wdt:P11 LITERAL; # described at Wikimedia page
wdt:P37 LITERAL; # Commons category
wdt:P32 IRI; # manager/leader
}