Skip to content

Commit

Permalink
breakpoint to show doug DSpace conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
timrdf committed Oct 18, 2011
1 parent fdefe3d commit d6259b8
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ ASK
WHERE {
GRAPH ?g {
?item e1:in_collection <http://hdl.handle.net/123456789_3> # should be http://hdl.handle.net/123456789/3
# see https://github.com/timrdf/csv2rdf4lod-automation/issues/246
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix void: <http://rdfs.org/ns/void#>
prefix conversion: <http://purl.org/twc/vocab/conversion/>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix e1: <http://localhost/source/iodp-org/dataset/scientific-ocean-drilling-repository-dspace/vocab/enhancement/1/>
PREFIX dcterms: <http://purl.org/dc/terms/>

ASK
WHERE {
GRAPH ?g {
<http://hdl.handle.net/123456789/4> e1:dc_identifier_uri <http://hdl.handle.net/123456789/4>
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,106 +50,115 @@
conversion:dataset_identifier "scientific-ocean-drilling-repository-dspace";
conversion:version_identifier "2011-Oct-17";

rdfs:seeAlso <http://data.oceandrilling.org/xmlui>;

conversion:conversion_process [
a conversion:EnhancementConversionProcess;
conversion:enhancement_identifier "1";

dcterms:creator <http://purl.org/twc/id/machine/lebot/MacBookPro6_2#lebot>;
dcterms:created "2011-10-17T09:26:35-04:00"^^xsd:dateTime;
dcterms:created "2011-10-17T09:10:06-04:00"^^xsd:dateTime;

conversion:delimits_cell ",";
#conversion:delimits_cell " "; # tab
#conversion:delimits_cell "|"; # pipe
#conversion:delimits_cell ","; # comma

#conversion:interpret [
# conversion:symbol "";
# conversion:interpretation conversion:null;
#];
#conversion:enhance [
# conversion:domain_template "tool_[r]";
# conversion:domain_name "Tool";
#];
#conversion:enhance [
# conversion:class_name "Tool";
# conversion:subclass_of <http://purl.org/...>;
#];
conversion:interpret [
conversion:symbol "";
conversion:interpretation conversion:null;
];
conversion:enhance [
# conversion:domain_template "[r]";
conversion:domain_name "DougDSpaceItem";
];
conversion:enhance [
conversion:class_name "DougDSpaceItem";
conversion:subclass_of owl:Thing;
];
conversion:enhance [
ov:csvCol 1;
ov:csvHeader "id";
#conversion:label "id";
conversion:equivalent_property dcterms:identifier;
conversion:comment "";
conversion:range todo:Literal;
conversion:range rdfs:Literal;
];
conversion:enhance [
ov:csvCol 2;
ov:csvHeader "collection";
#conversion:label "collection";
conversion:comment "";
conversion:range todo:Literal;
conversion:label "in collection";
conversion:comment "A collection of items that this item belongs to.";
conversion:range_template "http://hdl.handle.net/[.]";
conversion:range rdfs:Resource;
];
conversion:enhance [
ov:csvCol 3;
ov:csvHeader "dc.contributor.author[en_US]";
#conversion:label "dc.contributor.author[en_US]";
conversion:subproperty_of dcterms:author;
conversion:comment "";
conversion:range todo:Literal;
conversion:range rdfs:Literal;
];
conversion:enhance [
ov:csvCol 4;
ov:csvHeader "dc.date.accessioned";
#conversion:label "dc.date.accessioned";
conversion:comment "";
conversion:range todo:Literal;
conversion:eg "2011-09-22T11:46:08Z";
conversion:range xsd:dateTime;
];
conversion:enhance [
ov:csvCol 5;
ov:csvHeader "dc.date.accessioned[]";
#conversion:label "dc.date.accessioned[]";
conversion:comment "";
conversion:range todo:Literal;
conversion:range xsd:dateTime;
];
conversion:enhance [
ov:csvCol 6;
ov:csvHeader "dc.date.available";
#conversion:label "dc.date.available";
conversion:comment "";
conversion:range todo:Literal;
conversion:range xsd:dateTime;
];
conversion:enhance [
ov:csvCol 7;
ov:csvHeader "dc.date.available[]";
#conversion:label "dc.date.available[]";
conversion:comment "";
conversion:range todo:Literal;
conversion:range xsd:dateTime;
];
conversion:enhance [
ov:csvCol 8;
ov:csvHeader "dc.date.issued";
#conversion:label "dc.date.issued";
conversion:comment "";
conversion:range todo:Literal;
conversion:eg "2011-09-22";
conversion:pattern "yyyy-MM-dd";
conversion:range xsd:date;
];
conversion:enhance [
ov:csvCol 9;
ov:csvHeader "dc.date.issued[]";
#conversion:label "dc.date.issued[]";
conversion:comment "";
conversion:range todo:Literal;
conversion:eg "2011-09-22";
conversion:pattern "yyyy-MM-dd";
conversion:range xsd:date;
];
conversion:enhance [
ov:csvCol 10;
ov:csvHeader "dc.description.abstract[en_US]";
#conversion:label "dc.description.abstract[en_US]";
conversion:comment "";
conversion:range todo:Literal;
conversion:range rdfs:Literal;
];
conversion:enhance [
ov:csvCol 11;
ov:csvHeader "dc.description.provenance[en]";
#conversion:label "dc.description.provenance[en]";
conversion:comment "";
conversion:range todo:Literal;
conversion:range rdfs:Literal;
];
conversion:enhance [
ov:csvCol 12;
Expand All @@ -163,14 +172,14 @@
ov:csvHeader "dc.identifier.uri";
#conversion:label "dc.identifier.uri";
conversion:comment "";
conversion:range todo:Literal;
conversion:range rdfs:Resource;
];
conversion:enhance [
ov:csvCol 14;
ov:csvHeader "dc.identifier.uri[]";
#conversion:label "dc.identifier.uri[]";
conversion:comment "";
conversion:range todo:Literal;
conversion:range rdfs:Resource;
];
conversion:enhance [
ov:csvCol 15;
Expand All @@ -183,22 +192,25 @@
ov:csvCol 16;
ov:csvHeader "dc.subject[en_US]";
#conversion:label "dc.subject[en_US]";
conversion:subproperty_of dcterms:subject;
conversion:comment "";
conversion:range todo:Literal;
conversion:range rdfs:Literal;
];
conversion:enhance [
ov:csvCol 17;
ov:csvHeader "dc.title[en_US]";
#conversion:label "dc.title[en_US]";
conversion:comment "";
conversion:range todo:Literal;
conversion:subproperty_of dcterms:title;
conversion:range rdfs:Literal;
];
conversion:enhance [
ov:csvCol 18;
ov:csvHeader "dc.type[en_US]";
#conversion:label "dc.type[en_US]";
conversion:subproperty_of dcterms:type;
conversion:comment "";
conversion:range todo:Literal;
conversion:range rdfs:Literal;
];
#conversion:enhance [
# ov:csvRow 3,4,5;
Expand Down

0 comments on commit d6259b8

Please sign in to comment.