Exemple de commande soumis

dspace rdfizer -n -o -c -i 123456789/0 > dbase.ttl

Result

@prefix void:  <http://rdfs.org/ns/void#> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix bibo:  <http://purl.org/ontology/bibo/> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix dspace: <http://digital-repositories.org/ontologies/dspace/0.1.0#> .
@prefix dc:    <http://purl.org/dc/elements/1.1/> .

<http://localhost:8080/server/rdf/resource/123456789/4>
        dspace:hasBitstream        <http://localhost:4000/bitstream/123456789/4/1/package.pdf> ;
        dspace:isPartOfCollection  <http://localhost:8080/server/rdf/resource/123456789/2> ;
        dc:date                    "2022-03-02T13:53:03Z"^^xsd:dateTime ;
        dcterms:available          "2022-03-02T13:53:03Z"^^xsd:dateTime ;
        dcterms:created            "2018-10-06T20:16:20Z"^^xsd:dateTime ;
        dcterms:hasPart            <http://localhost:4000/bitstream/123456789/4/1/package.pdf> ;
        dcterms:isPartOf           <http://localhost:8080/server/rdf/resource/123456789/2> ;
        dcterms:title              "Simple Article" ;
        bibo:uri                   <http://localhost:4000/handle/123456789/4> ;
        void:sparqlEndpoint        <http://localhost/fuseki/dspace/sparql> ;
        foaf:homepage              <http://localhost:8080/> .
@prefix void:  <http://rdfs.org/ns/void#> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix bibo:  <http://purl.org/ontology/bibo/> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix dspace: <http://digital-repositories.org/ontologies/dspace/0.1.0#> .
@prefix dc:    <http://purl.org/dc/elements/1.1/> .

<http://localhost:8080/server/rdf/resource/123456789/3>
        dspace:hasBitstream            <http://localhost:4000/bitstream/123456789/3/1/pdf1.pdf> ;
        dspace:isPartOfCollection      <http://localhost:8080/server/rdf/resource/123456789/2> ;
        dc:contributor                 "Michel Héon" ;
        dc:creator                     "Michel Héon" ;
        dc:date                        "2022-03-02T12:50:17Z"^^xsd:dateTime ;
        dcterms:alternative            "Autre titre" ;
        dcterms:available              "2022-03-02T12:50:17Z"^^xsd:dateTime ;
        dcterms:bibliographicCitation  "Une cutation" ;
        dcterms:hasPart                <http://localhost:4000/bitstream/123456789/3/1/pdf1.pdf> ;
        dcterms:isPartOf               <http://localhost:8080/server/rdf/resource/123456789/2> ;
        dcterms:issued                 "2022-03-02" ;
        dcterms:title                  "PDF" ;
        bibo:uri                       <http://localhost:4000/handle/123456789/3> ;
        void:sparqlEndpoint            <http://localhost/fuseki/dspace/sparql> ;
        foaf:homepage                  <http://localhost:8080/> .
@prefix void:  <http://rdfs.org/ns/void#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix bibo:  <http://purl.org/ontology/bibo/> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix dspace: <http://digital-repositories.org/ontologies/dspace/0.1.0#> .

<http://localhost:8080/server/rdf/resource/123456789/2>
        a                         bibo:Collection ;
        dspace:hasItem            <http://localhost:8080/server/rdf/resource/123456789/4> , <http://localhost:8080/server/rdf/resource/123456789/3> ;
        dspace:isPartOfCommunity  <http://localhost:8080/server/rdf/resource/123456789/1> ;
        dcterms:hasPart           <http://localhost:8080/server/rdf/resource/123456789/4> , <http://localhost:8080/server/rdf/resource/123456789/3> ;
        dcterms:isPartOf          <http://localhost:8080/server/rdf/resource/123456789/1> ;
        void:sparqlEndpoint       <http://localhost/fuseki/dspace/sparql> ;
        foaf:homepage             <http://localhost:8080/> .
@prefix void:  <http://rdfs.org/ns/void#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix bibo:  <http://purl.org/ontology/bibo/> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix dspace: <http://digital-repositories.org/ontologies/dspace/0.1.0#> .

<http://localhost:8080/server/rdf/resource/123456789/1>
        a                          bibo:Collection ;
        dspace:hasCollection       <http://localhost:8080/server/rdf/resource/123456789/2> ;
        dspace:isPartOfRepository  <http://localhost:8080/server/rdf/resource/123456789/0> ;
        dcterms:hasPart            <http://localhost:8080/server/rdf/resource/123456789/2> ;
        dcterms:isPartOf           <http://localhost:8080/server/rdf/resource/123456789/0> ;
        void:sparqlEndpoint        <http://localhost/fuseki/dspace/sparql> ;
        foaf:homepage              <http://localhost:8080/> .
@prefix void:  <http://rdfs.org/ns/void#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix dspace: <http://digital-repositories.org/ontologies/dspace/0.1.0#> .

<http://localhost:8080/server/rdf/resource/123456789/0>
        dspace:hasCommunity  <http://localhost:8080/server/rdf/resource/123456789/1> ;
        dcterms:hasPart      <http://localhost:8080/server/rdf/resource/123456789/1> ;
        void:sparqlEndpoint  <http://localhost/fuseki/dspace/sparql> ;
        foaf:homepage        <http://localhost:8080/> .

Observation

  • Prefix header generated at each resource
  • No choice of output format (only turtle)
  • No eperson descriptions
  • Malformed IRI 
    • 123456789/0 → slash in ID
    • .../resource/123456789 → delimitation by a slash between the baseIRI and the identifier instead of using the # (e.g. well formed: http://localhost:8080/server/rdf/resource#id123456789_0
    • The IRIs look like are actually URLs of who is an antipattern
  • No labels