public class TPSubClassOfHandler extends TriplePredicateHandler
Handles rdfs:subClassOf triples. If handling is set to strict then the triple is only consumed if the subject and object are typed as classes.
Constructor and Description |
---|
TPSubClassOfHandler(OWLRDFConsumer consumer) |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(IRI subject,
IRI predicate,
IRI object) |
boolean |
canHandleStreaming(IRI subject,
IRI predicate,
IRI object) |
void |
handleTriple(IRI subject,
IRI predicate,
IRI object) |
getPredicateIRI
inferTypes, isSubjectAndObjectClassExpression, isSubjectAndObjectDataRange, isSubjectAndObjectMatchingClassExpressionOrMatchingDataRange, isSubjectOrObjectAnonymous
addAxiom, consumeTriple, consumeTriple, getConsumer, getDataFactory, getPendingAnnotations, isAnnotationPropertyLax, isAnnotationPropertyOnly, isAnnotationPropertyStrict, isAnonymous, isClassExpressionLax, isClassExpressionLax, isClassExpressionListStrict, isClassExpressionStrict, isClassExpressionStrict, isDataPropertyLax, isDataPropertyLax, isDataPropertyOnly, isDataPropertyStrict, isDataPropertyStrict, isDataRangeLax, isDataRangeLax, isDataRangeListStrict, isDataRangeStrict, isDataRangeStrict, isIndividualListStrict, isLiteralPresent, isNonNegativeIntegerLax, isNonNegativeIntegerStrict, isObjectPropertyLax, isObjectPropertyLax, isObjectPropertyOnly, isObjectPropertyStrict, isObjectPropertyStrict, isResourceListStrict, isResourcePresent, isRestrictionLax, isRestrictionStrict, isStrict, translateClassExpression, translateDataProperty, translateDataRange, translateIndividual, translateInteger, translateObjectProperty
public TPSubClassOfHandler(OWLRDFConsumer consumer)
public boolean canHandle(IRI subject, IRI predicate, IRI object)
canHandle
in class TriplePredicateHandler
public boolean canHandleStreaming(IRI subject, IRI predicate, IRI object)
canHandleStreaming
in class AbstractResourceTripleHandler
public void handleTriple(IRI subject, IRI predicate, IRI object) throws UnloadableImportException
handleTriple
in class AbstractResourceTripleHandler
UnloadableImportException