Say I have a table from a relational database.
What is the preferred method for mapping these into triples/RDF in MarkLogic 8?
So instead of:
<orders>
<order>
<number>1</number>
<name>Sam Smith</name>
</order>
....
</orders>
I end up with:
<triples>
<triple>
<subject>http://example.com/order</subject>
<predicate>http://example.com/order/number</predicate>
<object datatype="http://www.w3.org/2001/XMLSchema#integer">1</object>
</triple>
<triple>
<subject>http://example.com/order</subject>
<predicate>http://example.com/order/name</predicate>
<object datatype="http://www.w3.org/2001/XMLSchema#string">Sam Smith</object>
</triple>
....
</triples>
I need to know if this is something that we just need to manually develop or are there tools to provide mappings and namespaces and generate these?