I have been working on some blank node mappings for the sp2 database. My
mappings are below. As best I can tell d2r seems to be ignoring the
table.column I specified for the relevant d2rq:bNodeIdColumns property. The
values for the Person.stringid column are values such as Paul_Edroes.
When I run, SELECT ?resourceid WHERE { ?resourceid a <
http://xmlns.com/foaf/0.1/Person> } limit 10, to test the below mapping, I
am getting results back in that look like
_:b0, _:b1, etc. Based on the mapping, I was expecting the blank nodes to
look something like _:Paul_Edroes, etc.
Is the column specified in the d2rq:bNodeIdColumns used to create the blank
nodes? If so, is there something incorrect with my mapping that is causing
my blank nodes to be formed incorrectly?
Thanks.
*Mapping:*
:Person_BlankNode_Map
a d2rq:ClassMap ;
d2rq:bNodeIdColumns "Person.stringid" ;
d2rq:class foaf:Person ;
d2rq:dataStorage :SP2_Database ;
.
--
Zach
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel