BibTeX is a text format used (typically together with LaTeX) to specify a list of references in a database file with the aim of separating bibliographic information from its presentation. A BibTeX database file is formed by a list of bibliographic entries where each entry consists of the type (e.g. article, inproceedings etc.), a citation key, and key-value pairs for the other characteristics of an entry. Each BibTeX entry can be represented as a typed container that holds a set of key-value pairs.
SPARQL Anything selects this transformer for the following file extensions:
- bib
- bibtex
SPARQL Anything selects this transformer for the following media types:
- application/x-bibtex
@article{Knuth1984,
title={Literate Programming},
author={Donald E. Knuth},
journal={The Computer Journal},
volume={27},
number={2},
pages={97--111},
year={1984},
publisher={Oxford University Press}
}
@article{Berners2001,
title={The semantic web},
author={Berners-Lee, Tim and Hendler, James and Lassila, Ora},
journal={Scientific american},
volume={284},
number={5},
pages={34--43},
year={2001}
}
Located at https://sparql-anything.cc/examples/example.bib
CONSTRUCT
{
?s ?p ?o .
}
WHERE
{ SERVICE <x-sparql-anything:location=https://sparql-anything.cc/examples/example.bib>
{ GRAPH ?g
{ ?s ?p ?o }
}
}
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX eg: <http://www.example.org/>
PREFIX fx: <http://sparql.xyz/facade-x/ns/>
PREFIX ja: <http://jena.hpl.hp.com/2005/11/Assembler#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rss: <http://purl.org/rss/1.0/>
PREFIX vcard: <http://www.w3.org/2001/vcard-rdf/3.0#>
PREFIX whatwg: <https://html.spec.whatwg.org/#>
PREFIX xhtml: <http://www.w3.org/1999/xhtml#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX xyz: <http://sparql.xyz/facade-x/data/>
[ rdf:type fx:root;
rdf:_1 [ rdf:type xyz:article;
xyz:author "Donald E. Knuth";
xyz:journal "The Computer Journal";
xyz:number "2";
xyz:pages "97--111";
xyz:publisher "Oxford University Press";
xyz:title "Literate Programming";
xyz:volume "27";
xyz:year "1984"
];
rdf:_2 [ rdf:type xyz:article;
xyz:author "Berners-Lee, Tim and Hendler, James and Lassila, Ora";
xyz:journal "Scientific american";
xyz:number "5";
xyz:pages "34--43";
xyz:title "The semantic web";
xyz:volume "284";
xyz:year "2001"
]
] .