question

Upvotes
Accepted
75 1 4 5

Feeding data directly into DataFusion

Suppose I create a new context / data source for RDFs.

Then I use the APIs to feed in a RDF file. Had I gone through the TRIT, the uris for the predicate and entities are automatically created.

In this case, how do I generate ‘appropriate’ uris for new predicates/ entities if not going through the TRIT ? Do i generate any random guid to suffice?

data-fusion
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvote
Accepted
1.2k 8 11 8

Correct, any valid IRI according to the RDF spec will do. For more details see

https://www.w3.org/TR/rdf11-primer/

To properly visualize the relationships in DE/Analyze the system expects CamelCase in IRI fragment, e.g.,

http://rdf.thomsonreuters.com/relationship/IsSupplierOf

becomes

is supplier of

When using a JDBC connector or delimited import these are automatically created in the data source context based on the ID selected by the user. Context + ID form the subject IRI.

One caveat here is that if you use a subject IRI that already uniquely identifies another entity in the system, e.g.,

http://permid.org/1-4295905573

the system will automatically treat all entities using this subject IRI as one entity, even if they were loaded into different data sources.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.