Nuevo correo: ggesteb...@gmail.com
Actualiza tu libreta de direcciones, gracias :)
Hi all,
I'm working with R2RML in VOS to map some data into RDF. The database I'm
working with have a column with the language information of the other rows,
so basically we have to use that information to label the language using
rr:language.
I don't know if I can map the language using column data, so I first tried
to do a simple map using a rr:language with a constant. This first try is
not working and I think the error is caused only when using this
rr:language feature.
My data is simple. Just one table with 3 columns:
- PRODUCT_ID (DECIMAL)
- PRODUCT_NAME (VARCHAR)
- PRODUCT_NAME_LANG (VARCHAR) //not used in this first try
The R2RML looks like this:
...
rr:subjectMap [
rr:termType rr:IRI;
rr:template "http://example.org/product-{PRODUCT_ID}";
rr:class ex:Product;
rr:graph <http://example.org/>
];
rr:predicateObjectMap [
rr:predicate ex:productName;
rr:objectMap [
rr:column "PRODUCT_NAME";
rr:language "en-us"
];
];
...
I don't know if this R2RML feature is still to be implemented into VOS or
if I'm using it incorrectly.
I'm using the R2RML tab from VOS Conductor to do it. Validation has no
errors or warnings, but execution brings me this message:
- "RDFXX. Empty string is not a valid argument to iri_to_id (), type 217"
Removing the use of rr:language from the R2RML file avoids the error and
maps the information correctly.
Many thanks for any information or hints,
Guillermo
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users