EntitySchema:E2: Difference between revisions
Jump to navigation
Jump to search
(Updated Schema text) |
(Updated Schema text: making P32 mandatory) |
||
(14 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) | ||
# start time | wdt:P32 IRI+; # manager/leader (mandatory) | ||
# end time | wdt:P6 LITERAL; # start time | ||
# described at Wikimedia page | 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 | |||
} | } |
Latest revision as of 08:01, 14 September 2023
language code | label | description | aliases | edit |
---|---|---|---|---|
en | WMSE project | schema for projects ran by WMSE | project (WMSE) | edit |
sv | WMSE-projekt | schema för WMSE:s projekt | projekt (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
}