timrdf / csv2rdf4lod-automation

Shell script automation to support csv2rdf4lod converter
https://github.com/timrdf/csv2rdf4lod-automation/wiki
Apache License 2.0
109 stars 36 forks source link

Bundled SubjectAnnotations do not work #390

Open jpmccu opened 9 years ago

jpmccu commented 9 years ago

I would like to create a resource if a column is filled and add a SubjectAnnotation to it based on that column. The following should work, where I create a SubjectAnnotation that's bundled to a column, but it does nothing:

      conversion:enhance [
         ov:csvCol          5;
         ov:csvHeader       "Preferred Defn Text";
         conversion:equivalent_property hbgd:prefDefinition;
         conversion:range_template "[/]definition/[r]";
         conversion:comment "";
         conversion:range   rdfs:Resource;
      ];
      conversion:enhance [
         a conversion:SubjectAnnotation;
         conversion:bundled_by [ ov:csvCol 5];
         conversion:predicate prov:value;
         conversion:object "[5]";
      ];
timrdf commented 9 years ago

@jimmccusker , Do you have a repo that has the necessary elements to reproduce the problem? I'd like to clone it and work from the problem from that.

Thanks, Tim

jpmccu commented 9 years ago

I can try to set up an example, but right now no, it's from a private repo.

Jim

On Tue, Aug 18, 2015 at 8:46 AM Tim L notifications@github.com wrote:

@jimmccusker https://github.com/jimmccusker , Do you have a repo that has the necessary elements to reproduce the problem? I'd like to clone it and work from the problem from that.

Thanks, Tim

— Reply to this email directly or view it on GitHub https://github.com/timrdf/csv2rdf4lod-automation/issues/390#issuecomment-132195704 .

James P. McCusker III, Ph.D. http://tw.rpi.edu/web/JamesMcCusker

olyerickson commented 9 years ago

Jim, is there a way we could create a "faux" version of the data that Tim could hammer away at?

On Tue, Aug 18, 2015 at 8:53 AM, Jim McCusker notifications@github.com wrote:

I can try to set up an example, but right now no, it's from a private repo.

Jim

On Tue, Aug 18, 2015 at 8:46 AM Tim L notifications@github.com wrote:

@jimmccusker https://github.com/jimmccusker , Do you have a repo that has the necessary elements to reproduce the problem? I'd like to clone it and work from the problem from that.

Thanks, Tim

— Reply to this email directly or view it on GitHub < https://github.com/timrdf/csv2rdf4lod-automation/issues/390#issuecomment-132195704

.

James P. McCusker III, Ph.D. http://tw.rpi.edu/web/JamesMcCusker

— Reply to this email directly or view it on GitHub https://github.com/timrdf/csv2rdf4lod-automation/issues/390#issuecomment-132197370 .

John S. Erickson, Ph.D. Director of Operations, The Rensselaer IDEA Deputy Director, Web Science Research Center (RPI) http://tw.rpi.edu olyerickson@gmail.com Twitter & Skype: olyerickson

timrdf commented 9 years ago

You could fork https://github.com/timrdf/csv2rdf4lod-automation/tree/master/doc/examples/source and plop the faux into there...

jpmccu commented 9 years ago

Here's an example of what I want to do, with an input and output tab: https://docs.google.com/a/5amsolutions.com/spreadsheets/d/1DyQmZyHEXQqrgCbgyHI2LprTkgYwxXhEjwzOh1yZjOA/edit?usp=sharing

On Wed, Aug 19, 2015 at 9:38 AM Tim L notifications@github.com wrote:

You could fork https://github.com/timrdf/csv2rdf4lod-automation/tree/master/doc/examples/source and plop the faux into there...

— Reply to this email directly or view it on GitHub https://github.com/timrdf/csv2rdf4lod-automation/issues/390#issuecomment-132601663 .

James P. McCusker III, Ph.D. http://tw.rpi.edu/web/JamesMcCusker

timrdf commented 9 years ago

Requested permission to the spreadsheet, but probably won't be able to view any gdoc from within my firewall...