|
A java interface storing quotes in a RDF/XML file. Downloaddownload the JAR 'quotes.jar' from: http://code.google.com/p/lindenb/downloads/list Usagejava -jar lindenb/build/quotes.jar [-f <rdf-file> ] the option -f holds the name of the XML/RDF file where the quotes fill be added. If this file does not exists, it will be created by RDFQuotes. The Window
each time a new quote is saved it will be added at the end of the rdf-file. Example
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:q="urn:ontology:quotes:">
<q:Quote>
<q:quote xml:lang="en">A joke's a very serious thing.</q:quote>
<q:author rdf:resource="http://en.wikipedia.org/wiki/Charles_Churchill_%28satirist%29"/>
<q:source>The Ghost</q:source>
<q:date>1762</q:date>
<q:origin>http://www.quotationspage.com/quote/34239.html</q:origin>
<q:subject rdf:resource="http://en.wikipedia.org/wiki/Category:Jokes"/>
</q:Quote>
<q:Quote>
<q:quote xml:lang="fr">La vie est autre que ce qu'on écrit.</q:quote>
<q:author rdf:resource="http://en.wikipedia.org/wiki/André Breton"/>
<q:source>Nadja (1928), André Breton, éd. Gallimard, coll. nrf, 1928, p. 92</q:source>
<q:date>1928</q:date>
<q:origin>http://fr.wikiquote.org/wiki/Andr%C3%A9_Breton</q:origin>
<q:subject rdf:resource="http://en.wikipedia.org/wiki/Category:Writing"/>
<q:subject rdf:resource="http://en.wikipedia.org/wiki/Category:Life"/>
</q:Quote>
(...)
|
► Sign in to add a comment