EntitySchema:E4: Difference between revisions

From MetaBase
Jump to navigation Jump to search
(Updated Schema English label: document)
(Updated Schema text)
Schema / Line 2: Schema / Line 2:
PREFIX wdt: <https://metabase.wikibase.cloud/prop/direct/>
PREFIX wdt: <https://metabase.wikibase.cloud/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>


start = @<document>
start = @<document>


<document> EXTRA wdt:P5 {
<document> EXTRA wdt:P5 {
rdfs:label [ @sv ] ;
rdfs:label [ @sv ] ;
wdt:P5 [ wd:Q21 wd:Q29 ]?+; # instance of: document, report
wdt:P1 IRI; # on wikidata
wdt:P8 LITERAL; #title
wdt:P5 IRI+; # instance of
wdt:P15 IRI +; # main subject
wdt:P8 LITERAL +; #title
wdt:P20 IRI; # language
wdt:P18 LITERAL; # publication date
wdt:P18 LITERAL; # publication date
wdt:P29 IRI; # addressee
wdt:P21 LITERAL; # publisher
wdt:P21 LITERAL; # publisher
wdt:P19 IRI; # author
wdt:P19 IRI; # author
wdt:P20 IRI; # language
wdt:P17 IRI; # part of
wdt:P15 IRI; # main subject
wdt:P25 IRI; # has part
wdt:P22 LITERAL; # document file on Commons
wdt:P36 IRI; # in scope of project
wdt:P22 LITERAL; # commons file
wdt:P11 LITERAL; # described on wikimedia
}
}

Revision as of 13:05, 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:P1 IRI; # on wikidata
wdt:P5 IRI+; # instance of
wdt:P15 IRI +; # main subject
wdt:P8 LITERAL +; #title
wdt:P20 IRI; # language
wdt:P18 LITERAL; # publication date
wdt:P29 IRI; # addressee
wdt:P21 LITERAL; # publisher
wdt:P19 IRI; # author
wdt:P17 IRI; # part of
wdt:P25 IRI; # has part
wdt:P36 IRI; # in scope of project
wdt:P22 LITERAL; # commons file
wdt:P11 LITERAL; # described on wikimedia
}