Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

owlprime entailment with OLS

jjengelFeb 28 2011 — edited Mar 9 2011
Is there a recommended approach for generating labels for inferred triples when using triple-level ols?

The triples on my table are:

'http://example.com/name/John', 'http://example.com/rel/fatherOf','http://example.com/name/Mary'
'http://example.com/name/Jack', 'http://example.com/rel/brotherOf','http://example.com/name/John'
'http://example.com/name/John', 'http://www.w3.org/2002/07/owl#sameAs','http://example.com/name/JohnQ'
'http://example.com/name/JohnQ','http://www.w3.org/2002/07/owl#sameAs','http://example.com/name/Omar'

When I create my entailment using this statement

EXECUTE sem_apis.create_entailment('owltst_idx', sem_models('owltst'), sem_rulebases('OWLPRIME'));

I can see 4 rows created in semi_owltst_idx

However when I have triple level ols policy applied to the semantic data, no rows get created when running the above
entailment create. I am assuming there needs to be some value for label_gen parameter in the
create_entailment procedure. Since I have triple level ols I believe I cannot use labelgen_subject,
labelgen_object or labelgen_predicate.

I have tried to create the customSPORA label function from the documentation however I cannot get it to
compile yet.

With triple level OLS do you have to create a function to generate the labels for inferred triples? Otherwise how can I get
SEMI_OWLTEST_IDX to populate with values when OLS is enabled on semantic data?

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 6 2011
Added on Feb 28 2011
9 comments
131 views