written work (E35)

From Wikidata
Jump to navigation Jump to search
language codelabeldescriptionaliasesedit
enwritten workabstract concept of a written work and its relations with its manifestations as editionsbookedit
froeuvre écriteconcept d'une œuvre écrite et ses relations avec ses manifestations comme éditionslivre | livres | œuvre écriteedit
itopera scrittaschema per descrivere un'opera scritta (e le sue relazioni con le edizioni e manifestazioni)libro | poesiaedit
ja著作著作の抽象概念、そしてその版としての表明との関係edit
ptobra escritaedit
svskrivet verkedit
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

start = @<written_work>

<written_work> {
  wdt:P31 [ wd:Q47461344 ] ;
  # author
  wdt:P50 @<author>+ ;
  # serie
  wdt:P179 @<written_work>* ;
  # genre
  wdt:P136 IRI* ;
  # based_on
  wdt:P144 IRI* ;
  # series
  wdt:P179 IRI* ;
  # main_subject
  wdt:P921 IRI* ;
  # inspired_by
  wdt:P941 IRI* ;
}

<edition_of_a_written_work> {
  # instance of version, edition, or translation
  wdt:P31 [ wd:Q3331189 ] ;
  # edition or translation of
  wdt:P629 @<written_work>+ ;
  # publisher
  wdt:P123 @<publisher> ;
  # author of foreword
  wdt:P2679 @<author>* ;
  # author of afterword
  wdt:P2680 @<author>* ;
  # ISBN-13
  wdt:P212 LITERAL? ;
  # ISBN-10
  wdt:P957 LITERAL? ;
  # language
  wdt:P407 @<language>+ ;
  # publication date
  wdt:P577 xsd:datetime ;
  # translator
  wdt:P655 @<author>* ;
  # title
  wdt:P1476 LITERAL ;
  # subtitle
  wdt:P1680 LITERAL? ;
  # number of pages
  wdt:P1104 xsd:integer? ;
  # number of volumes
  wdt:P2635 xsd:integer? ;
}

<author> {
  wdt:P31 [ wd:Q5 ] ;
  # movement
  wdt:P135 IRI* ;
  # language
  wdt:P1412 @<language>+ ;
}

<publisher> EXTRA wdt:P31 {
  wdt:P31 [ wd:Q2085381 ] ;
}

<language> EXTRA  wdt:P31 {
  wdt:P31 [ wd:Q34770 ] ;
}