EntitySchema:E2: Difference between revisions

From MetaBase
Jump to navigation Jump to search
(Updated Schema text)
(Updated Schema text: making P32 mandatory)
 
(13 intermediate revisions by 2 users not shown)
Descriptions / sv
schema för WMSE:s projekt
Schema / Line 3: Schema / Line 3:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>


start = @<project>
start = @<project-wmse>




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

Latest revision as of 08:01, 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:P32 IRI+; # manager/leader (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
}