EntitySchema:E4: Difference between revisions

From MetaBase
Jump to navigation Jump to search
(Updated Schema text)
(Updated Schema text)
Schema / Line 12: Schema / Line 12:
wdt:P8 LITERAL; #title
wdt:P8 LITERAL; #title
wdt:P18 LITERAL; # publication date
wdt:P18 LITERAL; # publication date
wdt:P21 LITERAL; # publisher
wdt:P19 IRI; # author
wdt:P20 IRI; # language
wdt:P15 IRI; # main subject
wdt:P22 LITERAL; # document file on Commons
}
}

Revision as of 12:20, 14 April 2023

language codelabeldescriptionaliasesedit
entest-documentedit
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 = @<document>


<document> EXTRA wdt:P5 {
rdfs:label [ @sv ] ;
wdt:P5 [ wd:Q21 wd:Q29 ]?+; # instance of: document, report
wdt:P8 LITERAL; #title
wdt:P18 LITERAL; # publication date
wdt:P21 LITERAL; # publisher
wdt:P19 IRI; # author
wdt:P20 IRI; # language
wdt:P15 IRI; # main subject
wdt:P22 LITERAL; # document file on Commons
}