- From: Ashok Malhotra <ashok.malhotra@oracle.com>
- Date: Tue, 17 Sep 2013 16:56:21 -0400
- To: vladimir.alexiev@ontotext.com
- CC: public-rdb2rdf-comments@w3.org, "'Gregg Garcia'" <GGarcia@getty.edu>
Thank you for your comment, Vladimir! The WG is now closed. We have received a few minor comments and suggested improvements. I'm keeping track of them and if we ever reopen the WG to address them we will certainly consider your suggestion. If you are working on an implementation, you can add this feature as a vendor extension. If you do, please send a comment to the list. All the best, Ashok On 9/17/2013 3:58 PM, Vladimir Alexiev wrote: > Hi everyone! > > We'd like to propose a simple extension to RDB2RDF called rrx:languageColumn to specify the language of a literal dynamically. > > @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. > @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. > @prefix owl: <http://www.w3.org/2002/07/owl#>. > @prefix rr: <http://www.w3.org/ns/r2rml#>. > @prefix rrx: <http://purl.org/r2rml-ext/>. > > rrx:languageColumn a owl:DatatypeProperty; > rdfs:domain rr:TermMap; > rdfs:range rdf:Literal; > rdfs:comment "Specifies the language of a literal, to be retrieved from a column (whereas rr:language is a constant string)". > > This can be used in R2RML scripts like so: > > rr:predicateObjectMap [ > rr:predicate dc:title; > rr:objectMap [ > rr:column "TITLE"; > rrx:languageColumn "TITLE_LANG"; > ]. > > We've implemented it as a patch to the perl module RDF::RDB2RDF, and I've spoken to Juan whether it'd be possible to add it to Ultrawrap. > Your feedback on whether there's a better way will be appreciated. > > Cheers! > -- > Vladimir Alexiev, PhD, PMP > Lead, Data and Ontology Management Group > Ontotext Corp, www.ontotext.com > Sirma Group Holding, www.sirma.com > Email: vladimir.alexiev@ontotext.com, skype:valexiev1 > Mobile: +359 888 568 132, SMS: 359888568132@sms.mtel.net > Landline: +359 (988) 106 084, Fax: +359 (2) 975 3226 > Calendar: https://www.google.com/calendar/embed?src=vladimir%40sirma.bg > > > > >
Received on Tuesday, 17 September 2013 20:57:26 UTC