Luca Di Liello
Luca Di Liello

Reputation: 1643

How to create semantic-web URIs for entities from different databases

I'm using Karma to map the tables of my databases to a well known ontology (the MusicOntology). Some tables refer to other through the id. I'm not sure about the way I should create URIs:

Upvotes: 0

Views: 59

Answers (1)

Koenig Lear
Koenig Lear

Reputation: 2436

Keep every entity from every database in a single URI e.g.

da1:entityX 
da2:entityY

however use the ids from the main ontology to tag them

da1:entityX ref:hasId ref:id1 .
da2:entityY ref:hasId ref:id1 .

if the ref:hasId (object) property is marked as inverse functional and you're using a reasoner it would be able to infer that da:entityX is the same as da:entityY.

Upvotes: 1

Related Questions