Examples

From Bibliographic Ontology Wiki

Jump to: navigation, search

Contents

[edit] Introduction

In this section you will find code examples of how described citation and bibliographic references can look like once the RDF relations are serialized using XML or N3.

Note: we map new dcterms namespaced terms to the dc prefix.

[edit] Contributors

We use FOAF to model agents.

@prefix address: <http://schemas.talis.com/2005/address/schema#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix bibo: <http://purl.org/ontology/bibo/> .
@prefix dc: <http://purl.org/dc/terms/> .

<http://examples.net/contributors/1>
    a foaf:Person ;
    foaf:givenname "Jane" ;
    foaf:family_name "Doe" .

<http://examples.net/contributors/2>
    a foaf:Person .

<http://examples.net/contributors/3>
    a foaf:Person .

<http://examples.net/contributors/4>
    a foaf:Organization ;
    foaf:name "ABC Publishers" ;
    address:localityName "New York" .

<http://examples.net/contributors/5>
    a foaf:Organization ;
    foaf:name "XYZ Archive, National University".

[edit] Book

<urn:isbn:23983498> a bibo:Book ;
    dc:creator <http://examples.net/contributors/2> ;
    dc:title "Book Title"@en ;
    dc:date "2000" ;
    dc:publisher <http://ex.net/agents/1> .

[edit] Article

First, we have a standard journal article. We link the article directly to the journal, though a more detailed representation could also model the issue. Also, we represent the ordered author list using an rdf:List.

<info:doi/10.1134/S0003683806040089> a bibo:Article ;
    dc:title "Effect of argillaceous minerals on the growth of phosphate-mobilizing bacteria Bacillus subtilis"@en ;
    dc:date "2006-01-01" ;
    dc:isPartOf <urn:issn:23346587> ;
    bibo:volume "42" ;
    bibo:issue "4" ;
    bibo:pageStart "388" ;
    bibo:pageEnd "391" ;
    dc:creator <http://examples.net/contributors/2> ; 
    dc:creator <http://examples.net/contributors/1> ; 
    bibo:authorList ( <http://examples.net/contributors/2> <http://examples.net/contributors/1>) .

<urn:issn:23346587> a bibo:Journal ;
    dc:title "Applied Biochemistry and Microbiology"@en ;
    bibo:shortTitle "App Biochem and Biol"@en .

Next, we have a newspaper article published on the internet.

<http://www.nytimes.com/2007/07/09/us/09cnd-penn.html> a bibo:Article;
    dc:isPartOf <http://www.nytimes.com> ;
    dc:date "2007-07-09" ;
    bibo:uri "http://www.nytimes.com/2007/07/09/us/09cnd-penn.html".
    dc:creator <http://examples.net/contributors/100> .        
    
<http://www.nytimes.com> a bibo:Periodical ;
    bibo:uri "http://www.nytimes.com" .
    dc:title "New York Times" .
    
<http://examples.net/contributors/100> a foaf:Person;
    foaf:givenname "Anahad" ;
    foaf:family_name "O'Connor" .

[edit] Thesis

<http://examples.net/dissertation> a bibo:Thesis ;
    dc:date "1998-01-01" ;
    dc:title "Dissertation Title"@en ;
    bibo:issuer <http://examples.net/things/6> ;
    bibo:degree bibo_degrees:phd ;
    dc:creator <http://examples.net/contributors/1> .
    
<http://examples.net/things/6> a foaf:Organization ;
    foaf:name "National University" ;
    address:localityName "Singapore" .

[edit] Letter

<http://examples.net/letter> a bibo:Letter ;
    dc:date "2000-10-12" ;
    dc:creator <http://examples.net/contributors/1> ;
    bibo:recipient <http://examples.net/people/alice/me/> .

[edit] Conference Paper

The following is a paper presented at a conference and then published in a proceedings.

<http://ex.net/x1> a bibo:Article ;
    dc:creator <http://examples.net/contributors/1> ; 
    dc:title "Conference Paper" ;
    bibo:presentedAt <http://ex.net/conference> ; 
    bibo:reproducedIn <http://ex.net/x2> .

<http://ex.net/conference> a bibo:Conference ;
    bibo:organizer <http://ex.net> ;
    event:place <http://dbpedia.org/resource/> ;
    event:time [ time:Interval [ timeline:beginsAtDateTime "2007-03-01" ; timeline:endsAtDateTime "2007-03-13"] ] .

<http://ex.net/x2> a bibo:Proceedings ;
    dc:title "Proceedings of the ABC Conference"@en ;
    dc:date "2000" ;
    dc:publisher <http://ex.net/z1> .

[edit] Conference Presentation

@prefix bibo:  <http://purl.org/ontology/bibo/> .
@prefix cc:    <http://creativecommons.org/ns#> .
@prefix dc:    <http://purl.org/dc/terms/> .
@prefix event: <http://purl.org/NET/c4dm/event.owl#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix tl:    <http://purl.org/NET/c4dm/timeline.owl#> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .

<http://www.w3.org/2007/Talks/0619-Nancy-IH/> a cc:Work, bibo:Slideshow ;
     cc:license <http://creativecommons.org/licenses/by-nd/3.0/> ;
     dc:date "2008-06-18"^^xsd:dateTime ;
     dc:hasFormat  <http://www.w3.org/2008/Talks/0619-Nancy-IH/Slides.odp> ;
     dc:subject <http://lcsh.info/sh2002000569#concept> ;
     dc:title "State of the Semantic Web"@en, 
              "États des lieux du Web sémantique"@fr ;
     bibo:authorList ( <http://www.ivan-herman.net/me> ) ;
     bibo:presentedAt <http://ic2008.loria.fr/> . 

<http://www.ivan-herman.net/me> a foaf:Person ;
     rdfs:seeAlso <http://www.ivan-herman.net/foaf> ;
     foaf:name "Ivan Herman" .

<http://ic2008.loria.fr/> a bibo:Conference ;
     event:place <http://dbpedia.org/resource/Nancy> ;
     event:time
         [ a tl:Interval ;
             tl:beginsAt "2008-06-18"^^xsd:dateTime ;
             tl:endsAt "2008-06-20"^^xsd:dateTime
         ];
     dc:title "19th Francophone Knowledge Engineering Days"@en, 
              "19èmes Journées Francophones d’Ingénierie des Connaissances"@fr .  

<http://www.w3.org/2008/Talks/0619-Nancy-IH/Slides.odp> 
     dc:format "application/vnd.oasis.opendocument.presentation" ;
     dc:isFormatOf <http://www.w3.org/2007/Talks/0619-Nancy-IH/> . 

[edit] Legal Case

This example describes both the cited decision, as well as relations to subsequent decision history.

<http://examples.net/case/1> a bibo:LegalDecision ;
    dcterms:issued "2006-01-01" ;
    bibo:argued "2005-10-12" ;
    dc:title "Doe v. Smith"@en ;
    bibo:number "123223" ;
    bibo:court [ foaf:name "Some Court" ] ;
    bibo:affirmedBy <http://examples.net/case/2> ;
    bibo:affirmedBy <http://examples.net/case/3> ;
    dcterms:isPartOf <http://examples.net/periodicals/1> .
    
<http://examples.net/periodicals/1> a bibo:CourtReporter ;
    dc:title "Court Reporter Title"@en ;
    bibo:shortTitle "CRT"@en .

[edit] Manuscript

An unpublished document held in an archive.

<http://examples.net/manuscript> a bibo:Manuscript ;
    dc:title "Manuscript Title"@en ;
    dcterms:isPartOf <http://examples.net/collections/1> ;
    bibo:locator "Box 12, Folder 3" ;
    dc:creator <http://examples.net/contributors/1> .
    
<http://examples.net/collections/1> a bibo:Collection ;
    dc:title "Manuscript Collection Title"@en ;
    bibo:owner <http://examples.net/contributors/5> .

<http://examples.net/places/1> a foaf:Organization ;
    foaf:name "XYZ Archive, National University" ;
    address:localityName "London" ;
    foaf:based_near <http://dbpedia.org/resource/London> .

[edit] BibTeX converted to BIBO

BibTeX mapping

[edit] The Open Library data described using BIBO

How to Cook Revised Edition

[edit] A Complex series + proceeding + article use case

This is a special case where we have a Series of Proceeding with its own ISSN and that is published directly on the Web (no paper edition available).


<?xml version="1.0"?>
<rdf:RDF xmlns:foaf="http://xmlns.com/foaf/0.1/"
         xmlns:dcterms="http://purl.org/dc/terms/"
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:bibo="http://purl.org/ontology/bibo/">

  <bibo:Series rdf:about="http://sunsite.informatik.rwth-aachen.de/Publications/CEUR-WS/" 
                   dcterms:title="CEUR Workshop Proceedings"
                   bibo:shortTitle="CEUR workshop proc."
                   bibo:issn="1613-0073"
                   >
				   
		<dcterms:publisher rdf:resource="http://infolab.uvt.nl/~jeusfeld/" />
		
		<dcterms:hasPart rdf:resource="http://ftp.informatik.rwth-aachen.de/Publications/CEUR-WS/Vol-248/" /> 
		  
	        <dcterms:relation>
	            <bibo:Document rdf:about="http://sunsite.informatik.rwth-aachen.de/Publications/CEUR-WS/">
	                <bibo:uri>http://sunsite.informatik.rwth-aachen.de/Publications/CEUR-WS/</bibo:uri>
	            </bibo:Document>
	        </dcterms:relation>			
		
		<bibo:status rdf:resource="http://purl.org/ontology/bibo/status/published" />
		
		
  </bibo:Series>			

  <foaf:Person rdf:about="http://infolab.uvt.nl/~jeusfeld/"
                   bibo:familyName="Jeusfeld"
                   bibo:givenName="Manfred" />
				   

  <bibo:Proceeding rdf:about="http://ftp.informatik.rwth-aachen.de/Publications/CEUR-WS/Vol-248/" 
                   dcterms:title="SFSW '07 Scripting for the Semantic Web"
                   bibo:shortTitle="SFSW2007"
				   dcterms:date="2007-05-01"
				   bibo:volume="248"
                   >
				   
		<dcterms:partOf rdf:resource="http://sunsite.informatik.rwth-aachen.de/Publications/CEUR-WS/" /> 
				 
	    <dcterms:relation>
	        <bibo:Document rdf:about="http://ftp.informatik.rwth-aachen.de/Publications/CEUR-WS/Vol-248/proceedings.pdf">
	            <bibo:uri>http://ftp.informatik.rwth-aachen.de/Publications/CEUR-WS/Vol-248/proceedings.pdf</bibo:uri>
	        </bibo:Document>
	    </dcterms:relation>				 

            <bibo:editor rdf:resource="http://www.auer.cx/soeren" />
            <bibo:editor rdf:resource="http://www.bizer.de#chris" />
            <bibo:editor rdf:resource="http://kmi.open.ac.uk/people/tom/" />
            <bibo:editor rdf:resource="http://www.dfki.uni-kl.de/~grimnes/foaf.rdf#ggrimnes" />

            <bibo:contributorList>
                <rdf:Seq>
                    <rdf:li rdf:resource="http://www.auer.cx/soeren" />
                    <rdf:li rdf:resource="http://www.bizer.de#chris" />
                    <rdf:li rdf:resource="http://kmi.open.ac.uk/people/tom/" />
                    <rdf:li rdf:resource="http://www.dfki.uni-kl.de/~grimnes/foaf.rdf#ggrimnes" />
                </rdf:Seq>
            </bibo:contributorList>
   		
     	    <dcterms:hasPart rdf:resource="http://ftp.informatik.rwth-aachen.de/Publications/CEUR-WS/Vol-248/paper11/" /> 
		
	    <bibo:status rdf:resource="http://purl.org/ontology/bibo/status/published" />
		
		
  </bibo:Proceeding>					   
				   
				   
				   
  <bibo:Article rdf:about="http://ftp.informatik.rwth-aachen.de/Publications/CEUR-WS/Vol-248/paper11/" 
                dcterms:title="An Architecture to Discover and Query Decentralized RDF Data"
				dcterms:date="2007-05-01"
                >

		<dcterms:partOf rdf:resource="http://ftp.informatik.rwth-aachen.de/Publications/CEUR-WS/Vol-248/" /> 
				   
	    <dcterms:relation>
	        <bibo:Document rdf:about="http://ftp.informatik.rwth-aachen.de/Publications/CEUR-WS/Vol-248/paper11.pdf">
	            <bibo:uri>http://ftp.informatik.rwth-aachen.de/Publications/CEUR-WS/Vol-248/paper11.pdf</bibo:uri>
	        </bibo:Document>
	    </dcterms:relation>
		

            <dcterms:creator rdf:resource="http://captsolo.net/semweb/foaf-captsolo.rdf#Uldis_Bojars" />
            <dcterms:creator rdf:resource="http://tmp.apassant.net/foaf.rdf#alex" />
            <dcterms:creator rdf:resource="http://fgiasson.com/me/" />

            <bibo:authorList>
                <rdf:Seq>
                    <rdf:li rdf:resource="http://captsolo.net/semweb/foaf-captsolo.rdf#Uldis_Bojars" />
                    <rdf:li rdf:resource="http://tmp.apassant.net/foaf.rdf#alex" />
                    <rdf:li rdf:resource="http://fgiasson.com/me/" />
                </rdf:Seq>
            </bibo:authorList>
	
	    <bibo:status rdf:resource="http://purl.org/ontology/bibo/status/peerReviwed" />
	    <bibo:status rdf:resource="http://purl.org/ontology/bibo/status/accepted" />
	    <bibo:status rdf:resource="http://purl.org/ontology/bibo/status/published" />
		
  </bibo:Article>
				   
			
</rdf:RDF>				  			  		  			  

[edit] Rejected article submitted to a conference

Note: eventually the general event ontology's classes and properties used here will be replaced by specialized classes and properties defining a Conference, and sub-class and sub-property of the current event-ontology.


	<bibo:Article rdf:about="http://fgiasson.com/articles/swfp/" 
				dcterms:title="An Architecture to Discover and Query Decentralized RDF Data"
				dcterms:date="2007-05-01"
				>
				   
		<dcterms:relation>
			<bibo:Document rdf:about="http://fgiasson.com/articles/swfp.pdf">
				<bibo:uri>http://fgiasson.com/articles/swfp.pdf</bibo:uri>
			</bibo:Document>
		</dcterms:relation>
				
                <dcterms:creator rdf:resource="http://fgiasson.com/me/" />
		
		<bibo:status rdf:resource="http://purl.org/ontology/bibo/status/peerReviwed" />
		<bibo:status rdf:resource="http://purl.org/ontology/bibo/status/rejected" />
		<bibo:status rdf:resource="http://purl.org/ontology/bibo/status/unpublished" />
	
		<bibo:presentedAt rdf:resource="http://www.unb.ca/pstnet/pst2005/" />
	</bibo:Article>  

	<bibo:Note rdf:about="http://fgiasson.com/articles/swfp/note/1/">
	
		<bibo:content>I wrote this paper to try to find a solution to the growing problem of the secure distribution of private web feeds.</bibo:content>
		
		<bibo:annotates rdf:resource="http://fgiasson.com/articles/swfp/" />
		
                <dcterms:creator rdf:resource="http://fgiasson.com/me/" />
	</bibo:Note>	


	<bibo:Conference rdf:about="http://www.unb.ca/pstnet/pst2005/">
		<bibo:organizer rdf:resource="http://www.unb.ca/about/" />
		<event:place rdf:resource="http://sws.geonames.org/6137411/about.rdf" />
		<dcterms:date>2005-09-12</dc:date>
	</bibo:Conference>
	  
	<foaf:Organization rdf:about="http://www.unb.ca/about/">
		<foaf:name>University of New Brunswick</foaf:name>
		<foaf:homepage rdf:resource="http://www.unb.ca/" />
	</foaf:Organization>

[edit] Enhanced example of the above Zotero example

<?xml version="1.0"?>
<rdf:RDF xmlns:z="http://www.zotero.org/namespaces/export#"
         xmlns:link="http://purl.org/rss/1.0/modules/link/"
         xmlns:vcard="http://nwalsh.com/rdf/vCard#"
         xmlns:foaf="http://xmlns.com/foaf/0.1/"
         xmlns:prism="http://prismstandard.org/namespaces/1.2/basic/"
         xmlns:dcterms="http://purl.org/dc/terms/"
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns:bib="http://purl.org/net/biblio#"
         xmlns:NC="http://home.netscape.com/NC-rdf#"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:bibo="http://purl.org/ontology/bibo/"
         >

  <bibo:Book rdf:about="http://www.zotero.org/services/urn/isbn/026256212X" 
                   dcterms:title="Spinning the Semantic Web: Bringing the World Wide Web to Its Full Potential"
                   bibo:shortTitle="Spinning the Semantic Web"
                   bibo:editionName="New Ed"
                   dcterms:date="2005-03-01"
                   bibo:isbn="026256212X"
                   >

    <dcterms:relation >
        <bibo:Document rdf:about="http://www.amazon.com/dp/026256212X">
            <bibo:uri>http://www.amazon.com/dp/026256212X</bibo:uri>
        </bibo:Document>
    </dcterms:relation>

    <dcterms:relation >
        <bibo:Document rdf:about="http://www.alibris.com/search/search.cfm?wtit=Spinning%20the%20Semantic%20Web">
            <bibo:uri>http://www.alibris.com/search/search.cfm?wtit=Spinning%20the%20Semantic%20Web</bibo:uri>
        </bibo:Document>
    </dcterms:relation>


    <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/1" />
    <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/2" />
    <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/3" />
    <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/4" />

    <dcterms:contributor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/5" />
    <dcterms:publisher rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/6" />

    <bibo:contributorList>
       <rdf:Seq>
           <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/1" />
           <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/2" />
           <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/3" />
           <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/4" />
           <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/5" />
           <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/6" />
       </rdf:Seq>
    </bibo:contributorList>

    <dcterms:hasPart rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X_4" /> 
    
  </bibo:Book>

  <foaf:Organization rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/6"
                   foaf:name="The MIT Press" />

  <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/1"
                   foaf:surname="Fensel"
                   foaf:givenname="Dieter" />
  <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/2"
                   foaf:surname="Hendler"
                   foaf:givenname="James A." />   
  <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/3"
                   foaf:surname="Lieberman"
                   foaf:givenname="Henry" />
  <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/4"
                   foaf:surname="Wahlster"
                   foaf:givenname="Wolfgang" />
  <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/5"
                   foaf:surname="Berners-Lee"
                   foaf:givenname="Tim" />


  <!-- this is a part of the book described above. However, this part has been written by other people
       than the editors of the book -->

  <bibo:Part rdf:about="http://www.zotero.org/services/urn/isbn/026256212X_4" 
                   dcterms:title="Ontologies and Schema Languages on the Web"
                   bibo:startPage="95"
                   bibo:endPage="139"
                   bibo:chapter="4"
                   >
                   
        <dcterms:isPartOf rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X" />               
        

        <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/6" />
        <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/7" />
        <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/1" />
        <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/8" />
        <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/9" />

        <bibo:contributorList>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/6" />
                <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/7" />
                <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/1" />
                <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/8" />
                <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/9" />
            </rdf:Seq>
        </bibo:contributorList>

        
    </bibo:Part>

  <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/6"
                   foaf:surname="Klein"
                   foaf:givenname="Michel" />
  <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/7"
                   foaf:surname="Broekstra"
                   foaf:givenname="Jeen" />   
  <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/8"
                   foaf:surname="van Hermelen"
                   foaf:givenname="Frank" />
  <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/9"
                   foaf:surname="Horrocks"
                   foaf:givenname="Ian" />



</rdf:RDF>



    
    




Personal tools