researchgraph / ANDS

ANDS records and related scripts
0 stars 0 forks source link

Graph key should be a valid URI #1

Closed aaryani closed 6 years ago

aaryani commented 6 years ago

Some RIF-CS keys hold the full URL value starting with http:// or https://. This can cause problems in the graph inference engine in regards to graph key. The key is expected to be a valid URI and traditionally built using local_id as follows researchgrapg.org/{namespace}/{local_id}

so for an ANDS record with local_id=http://nla.gov.au/nla.party-542098 the key is assembled as researchgraph.org/ands/http://nla.gov.au/nla.party-542098.

The recommended methods to fix this issues are:

I think option 2 is preferable as it enables easily tracing the graph nodes to RIF-CS content, and also avoid the loss of data when we do not capture the RIF-CS key in any other node property.