Changes between Version 10 and Version 11 of InstallationInstructions


Ignore:
Timestamp:
11/06/06 14:19:34 (18 years ago)
Author:
schwarz
Comment:

bibtex2rdf information

Legend:

Unmodified
Added
Removed
Modified
  • InstallationInstructions

    v10 v11  
    2121 
    2222---- 
    23 == Longer installation instructions == 
    24  
    2523=== FOAF / RDF === 
    2624 
     
    3836 * Generally, every thing described in an RDF file, that could be relevant and/or referenced outside the RDF file, should have an absolute URI. However, the foaf:Persons I link with foaf:knows do not have a URI, because so many people out there do not have a URI for their foaf:Person. 
    3937 
    40 If you have a FOAF file and a foaf description of your foaf:Person, then the URI of that foaf:Person has to set in your config.php file. 
     38If you have a FOAF file and a foaf description of your foaf:Person, then the URI of that foaf:Person has to be set in your {{{config.php}}}: 
     39{{{ 
     40// The location of your FOAF file on the web (This is also the data source) 
     41$MY_FOAF_FILE_URL = "http://www.dfki.uni-kl.de/~schwarz/foaf.xml"; 
     42 
     43// Your URI in your FOAF file - Look this one up! 
     44$MY_FOAF_URI = "http://www.dfki.uni-kl.de/~schwarz/foaf.xml#me"; 
     45}}} 
     46 
     47---- 
     48=== BIBTEX === 
     49 
     50We used bibtex2rdf from L3S (Hannover) to convert a text bibtex file to some RDF representation. 
     51Unfortunately the bibtex2rdf tool is NOT (YET?) open-source, and therefore the jar-file is not includes in the rdfhomepage package. But if you install rdfhomepage and drop me (Sven) an email, and you will get the jar-file. 
     52 
     53Using the bibtex2jar tool, you can call the following to create/update your bibtex RDF file: 
     54{{{ 
     55set BIBFILE=ss.bib 
     56set URI=http://www.dfki.uni-kl.de/~schwarz/rdf/ss_bib.rdf# 
     57set OUT=bib_ss.rdf 
     58java -jar bibtex2rdf.jar -baseuri %URI% %BIBFILE% %OUT% 
     59}}} 
     60 
     61At the END of the bibtex-file there is a rdf:Seq like this 
     62{{{ 
     63  <rdf:Seq rdf:about="http://www.dfki.uni-kl.de/~schwarz/rdf/ss_bib.rdf#referenceList"> 
     64    <rdf:li rdf:resource="http://www.dfki.uni-kl.de/~schwarz/rdf/ss_bib.rdf#Schwarz05"/> 
     65    <rdf:li rdf:resource="http://www.dfki.uni-kl.de/~schwarz/rdf/ss_bib.rdf#Schwarz06"/> 
     66    <rdf:li rdf:resource="http://www.dfki.uni-kl.de/~schwarz/rdf/ss_bib.rdf#GrimnesSchwarzSauermann06"/> 
     67    . . . 
     68  </rdf:Seq> 
     69}}} 
     70 
     71Take the URI of that rdf:Seq (here this is http://www.dfki.uni-kl.de/~schwarz/rdf/ss_bib.rdf#referenceList ) and paste that URI in your {{{config.php}}}: 
     72{{{ 
     73// The name (not path) of your bibtex.rdf 
     74define("BIBTEX_FILE_NAME", "bib_ss.rdf"); 
     75 
     76// The URL of your BibTeX file. (real BibTeX format, not RDF!) 
     77$MY_BIB_TEX_URL = "http://www.dfki.uni-kl.de/~schwarz/ss.bib"; 
     78 
     79// The URI of a sequence of all the articles in your bibtex file 
     80$MY_BIB_TEX_SEQ_URI = "http://www.dfki.uni-kl.de/~schwarz/rdf/ss_bib.rdf#referenceList"; 
     81}}}