EntitySchema:E4: Difference between revisions

From MetaBase
Jump to navigation Jump to search
(Updated Schema text)
(Updated Schema English label: document)
Labels / enLabels / en
test-documentdocument

Revision as of 12:22, 10 May 2023

language codelabeldescriptionaliasesedit
endocumentedit
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
}