Hi Joshua,
On 31/07/14 18:54, Joshua Dunham wrote:
I think I hastily typed a minimal working example. My real case was converted
via rapper from ttl to rdfxml which checks out OK. What I’m seeing is, after
import using the admin UI, the main record goes in a ‘linuxserver’ type which
has three linked records (RAM, HD, and ‘runs’). No matter what I try I can’t
get Marmotta to generate a URI for ‘runs’. My terminology is off, but the
behavior I’d like is that the value for the runs (which seems like a randomly
generated string?) be a typical link to the record which has the values for the
Marmotta installation. Currently it looks like it’s just a string with no link
to the sub-records.
Because that the definition of a blank node in rdf: a node which does
not get a name (URI). The bnode identifier is just an internal system
identifier, never a proper identifier.
I'd suggest you to read a bit more about the blank nodes concept in RDF:
http://www.w3.org/TR/rdf11-concepts/#section-blank-nodes
Is this possible? If so, what could be the issue that it doesn’t create a link
to the record? When I’m using the data viewer and choose the test namespace I
assigned this record to I see 50% of the records are in the linuxserver type
and 50% are in a ‘no-type’. When I click on no-type in the admin UI I see that
it actually made three copies of the records in the ‘runs’ array. I’m not sure
why this happened either.
Well, I'm not sure how the Data Views handles navigation from bnodes.
For that it's much better that you use directly the resource view:
http://localhost:8080/marmotta/resource?uri=http%3A%2F%2Fmy.marmottaDB.domain%2Fmarmotta%2Fresource%2Fserver
If you really have Marmotta accessible at my.marmottaDB.domain/marmotta,
then you can directly access the resource:
http://my.marmottaDB.domain/marmotta/resource/server
I'd recommend you to use a visualization tool, such as
http://dev.redlink.io/demos/rdfdot , to see the actual graph your are
generating from that RDF source.
So my question is threefold.
- Why is Marmotta not making the anonymous node a link from the linuxserver
record to the node.
Because the Data Views does not support bnodes navigation, as I told you
above.
- Why is Marmotta making three copies of the hasResourceName/Version/Type
records?
I saw it. It might be a bug in the Data Views. Such functionally it was
never meant to be an inspector tool. Please, file in issue in case you
think it's important.
- Is it possible to define how the UUID for the anonymous node is created? Its
difficult to traverse the linked data path if I’m not sure of the names that
are in each record.
No, internal system identifier. Use a proper resource identifier with a
uri if you want a meaningful identifier.
Hope that helps.
Cheers,
--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 660 2747 925
e: sergio.fernan...@redlink.co
w: http://redlink.co