owlprime entailment with OLS
jjengelFeb 28 2011 — edited Mar 9 2011Is 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