EntitySchema:E1: Difference between revisions

From LexBib
(Updated Schema text)
(Updated Schema text)
Schema / Line 8: Schema / Line 8:
<bibitem> EXTRA wdt:P5 {
<bibitem> EXTRA wdt:P5 {
   # class bibitem
   # class bibitem
   wdt:P5 [ wd:Q3 ] ;  
   wdt:P5 [ wd:Q3 ] + ;  
   # title
   # title
   wdt:P6 . + ;
   wdt:P6 . + ;
# author
  wdt:P12 @author + ;


  }
  }
<author> EXTRA wdt:P5 {
  # class human
wdt:P5 [ wd:Q5 ] ;

Revision as of 14:47, 21 November 2021

language codelabeldescriptionaliasesedit
enLexBib BibItementity scheme for a bibliographical item, sharing properties with Zotero, and with ms:Distributionedit
# PREFIX lwb: <http://lexbib.elex.is/entity/> # does not work
# PREFIX ldp: <http://lexbib.elex.is/prop/direct/> # does not work
PREFIX wd: <http://lexbib.elex.is/entity/> # does work
PREFIX wdt: <http://lexbib.elex.is/prop/direct/> # does work

start = @<bibitem>

<bibitem> EXTRA wdt:P5 {
  # class bibitem
  wdt:P5 [ wd:Q3 ] + ; 
  # title
  wdt:P6 . + ;
 # author
  wdt:P12 @author + ;

 }

<author> EXTRA wdt:P5 {
  # class human 
 wdt:P5 [ wd:Q5 ] ;