EntitySchema:E3: Difference between revisions

From MetaBase
Jump to navigation Jump to search
(Updated Schema English label: test-project)
(Updated Schema Swedish description: schema för projekt)
 
(10 intermediate revisions by 2 users not shown)
Labels / enLabels / en
test-projectproject
Labels / sv
projekt
Descriptions / en
schema for projects
Descriptions / sv
schema för 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 = @<human>
start = @<project>


<human> EXTRA wdt:P5 {
 
<project> EXTRA wdt:P5 {
rdfs:label [ @sv ] ;
rdfs:label [ @sv ] ;
wdt:P5 [wd:Q23];  
wdt:P5 [wd:Q2]+; # instance of : project (mandatory)
wdt:P1 LITERAL;
wdt:P8 LITERAL+; # title (mandatory)
wdt:P14 IRI+ ; # organizer (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
}
}

Latest revision as of 08:03, 14 September 2023

language codelabeldescriptionaliasesedit
enprojectschema for projectsedit
svprojektschema för projektedit
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>


<project> EXTRA wdt:P5 {
rdfs:label [ @sv ] ;
wdt:P5 [wd:Q2]+;  # instance of : project (mandatory)
wdt:P8 LITERAL+; # title (mandatory)
wdt:P14 IRI+ ; # organizer (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
}