test-document (E4)

From MetaBase
Revision as of 12:20, 14 April 2023 by Alicia Fagerving (WMSE) (talk | contribs) (Updated Schema text)
Jump to navigation Jump to search
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
}