- From: Juan Sequeda <juanfederico@gmail.com>
- Date: Thu, 9 Feb 2012 18:56:28 -0600
- To: Richard Cyganiak <richard@cyganiak.de>
- Cc: public-rdb2rdf-wg@w3.org
- Message-ID: <CAMVTWDza2WeKHwx+g2-PL5ormtT0vOjXeEVW7ncmMk2OtaPgxQ@mail.gmail.com>
Let me clarify The following mapping is correct: <TriplesMap1> a rr:TriplesMap; rr:logicalTable [ rr:tableName "Employees" ]; rr:subjectMap [ rr:column "FirstName"; rr:termType rr:BlankNode ]; rr:predicateObjectMap [ rr:predicate foaf:name; rr:objectMap [ rr:column "FirstName" ] ] . The following mapping should fail: <TriplesMap1> a rr:TriplesMap; rr:logicalTable [ rr:tableName "Employees" ]; rr:subjectMap [ rr:column "FirstName" ]; rr:predicateObjectMap [ rr:predicate foaf:name; rr:objectMap [ rr:column "FirstName" ] ] . right? Juan Sequeda +1-575-SEQ-UEDA www.juansequeda.com On Thu, Feb 9, 2012 at 6:33 PM, Richard Cyganiak <richard@cyganiak.de>wrote: > Juan, > > On 9 Feb 2012, at 23:51, Juan Sequeda wrote: > > I'm coming up with r2rml mappings that should fail. > > > > The following is correct: > > > > <TriplesMap1> > > a rr:TriplesMap; > > rr:logicalTable [ rr:tableName "Employees" ]; > > rr:subjectMap [ rr:column "FirstName"; rr:termType rr:BlankNode ]; > > rr:predicateObjectMap > > [ > > rr:predicate foaf:name; > > rr:objectMap [ rr:column "FirstName" ] > > ] > > . > > > > > > If I take the rr:TermType rr:BlankNode, that should fail, right? > > I'm not sure what you mean. Do you mean, if you add “rr:termType > rr:BlankNode” to the object map, then it should fail? > > Why do you think so? > > Richard
Received on Friday, 10 February 2012 00:57:16 UTC