Modelling/Documents: Difference between revisions

From MetaBase
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
| IF EXISTS || {{P|P1}}|| Example || Example
| IF EXISTS || {{P|P1}}|| Example || Example
|-
|-
| REQUIRED || {{P|P5}} || {{Q|Q29}} || See all available types of documents
| REQUIRED || {{P|P5}} || {{Q|Q29}} || See [https://metabase.wikibase.cloud/query/#%23All%20types%20of%20documents%20and%20their%20Wikidata%20equivalents%0APREFIX%20wb%3A%20%3Chttps%3A%2F%2Fmetabase.wikibase.cloud%2Fentity%2F%3E%0APREFIX%20wbt%3A%20%3Chttps%3A%2F%2Fmetabase.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0ASELECT%20%3Fitem%20%3FitemLabel%20%3Fwikidata_iri%0AWHERE%0A%7B%0A%3Fitem%20wbt%3AP4%2a%20wb%3AQ21.%0AOPTIONAL%20%7B%3Fitem%20wbt%3AP1%20%3FwikidataQ%7D%0ABIND%28URI%28concat%28%22http%3A%2F%2Fwww.wikidata.org%2Fentity%2F%22%2C%20%3FwikidataQ%29%29%20AS%20%3Fwikidata_iri%29%0ASERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%2Csv%22.%20%7D%0A%7D all available types of documents]
|-
|-
| REQUIRED || {{P|P15}} || {{Q|Q20}} ||  
| REQUIRED || {{P|P15}} || {{Q|Q20}} ||  

Revision as of 13:03, 9 May 2023

Modeling a document

Properties used

SPARQL

See also

Required Property Example value Notes
IF EXISTS same as on Wikidata (P1) Example Example
REQUIRED instance of (P5) report (Q29) See all available types of documents
REQUIRED main subject (P15) Wikidata (Q20)
REQUIRED title (P8) Wikidata as an open, collaborative bibliographic database: the case of the National Library of Sweden
language of work or name (P20) English (Q32) .............
publication date (P18) 31 July 2019 .............
author (P19) Axel Pettersson (Q77)
part of (P17) ................ .............
document file on Wikimedia Commons (P22) LIBER 2020 Poster WMSE.pdf .............