rdf - Insert data into OWL ontology -


i have custom owl ontology , uploaded model this:

    ontmodel=modelfactory.createontologymodel();      inputstream in = filemanager.get().open(urlfile);        model.read(in,""); 

i whole ontology model. don't know how add data model. data want insert must appropriate ontology uploaded.

can give hints or markups that? i'm lost here.

you might find model api tutorial useful learning how work jena model. further, jena javadocs reference.

the tutorial show how add data model.

i'm not sure mean "appropriate" ontology. can start stating facts in rdf; if state contradicts ontology, it's state merely inconsistent, things still work.

understanding means model inconsistent, have unsatisfiable classes, , other owl (dl really) specific constructs, should review dl handbook. chapter 2 particularly good.

if appropriate mean integrity constraints akin you'd have in relational system, well, doesn't work that. open world assumption makes bit tricky, can't behavior might expect without "closing" world. there's discussion of on pellet's icv page, , implementation of in stardog.

hope helps.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -