EntitySchema:E1: Difference between revisions

From LexBib
(Updated Schema text)
(Updated Schema text)
 
(7 intermediate revisions by the same user not shown)
Schema / Line 1: Schema / Line 1:
PREFIX lwb: <http://lexbib.elex.is/entity/>
# PREFIX lwb: <http://lexbib.elex.is/entity/> # does not work
PREFIX ldp: <http://lexbib.elex.is/prop/direct/>
# PREFIX ldp: <http://lexbib.elex.is/prop/direct/> # does not work
PREFIX lp: <http://lexbib.elex.is/prop/>
PREFIX wd: <http://lexbib.elex.is/entity/> # does work
PREFIX lps: <http://lexbib.elex.is/prop/statement/>
PREFIX wdt: <http://lexbib.elex.is/prop/direct/> # does work
PREFIX lpq: <http://lexbib.elex.is/prop/qualifier/>
PREFIX lpr: <http://lexbib.elex.is/prop/reference/>
PREFIX lno: <http://lexbib.elex.is/prop/novalue/>


START = @<bibitem>
start = @<bibitem>


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


  ldp:P5 [ lwb:Q3 ] ; # class bibitem
}
  ldp:P6 . + ; # title


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

Latest revision as of 15:29, 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  ;