Wrapper to easily handle all OWL functions
Wrapper to easily handle all OWL functions
(!=individuals & args)
DifferentIndividuals := 'DifferentIndividuals' '(' axiomAnnotations Individual Individual { Individual } ')'
DifferentIndividuals := 'DifferentIndividuals' '(' axiomAnnotations Individual Individual { Individual } ')'
(!=individualsAtom iarg1 iarg2)
DifferentIndividualsAtom := ‘DifferentIndividualsAtom’ ‘(’ IArg IArg ‘)’
DifferentIndividualsAtom := ‘DifferentIndividualsAtom’ ‘(’ IArg IArg ‘)’
(<=dataExists naturalNumber dataRole)
(<=dataExists naturalNumber dataRole dataRange)
DataMaxCardinality := 'DataMaxCardinality' '(' nonNegativeInteger DataPropertyExpression [ DataRange ] ')'
DataMaxCardinality := 'DataMaxCardinality' '(' nonNegativeInteger DataPropertyExpression [ DataRange ] ')'
(<=exists naturalNumber role)
(<=exists naturalNumber role class)
ObjectMaxCardinality := 'ObjectMaxCardinality' '(' nonNegativeInteger ObjectPropertyExpression [ ClassExpression ] ')'
ObjectMaxCardinality := 'ObjectMaxCardinality' '(' nonNegativeInteger ObjectPropertyExpression [ ClassExpression ] ')'
(=classes & args)
EquivalentClasses := 'EquivalentClasses' '(' axiomAnnotations ClassExpression ClassExpression { ClassExpression } ')'
EquivalentClasses := 'EquivalentClasses' '(' axiomAnnotations ClassExpression ClassExpression { ClassExpression } ')'
(=dataExists naturalNumber dataRole)
(=dataExists naturalNumber dataRole dataRange)
DataExactCardinality := 'DataExactCardinality' '(' nonNegativeInteger DataPropertyExpression [ DataRange ] ')'
DataExactCardinality := 'DataExactCardinality' '(' nonNegativeInteger DataPropertyExpression [ DataRange ] ')'
(=dataRoles & args)
EquivalentDataProperties := 'EquivalentDataProperties' '(' axiomAnnotations DataPropertyExpression DataPropertyExpression { DataPropertyExpression } ')'
EquivalentDataProperties := 'EquivalentDataProperties' '(' axiomAnnotations DataPropertyExpression DataPropertyExpression { DataPropertyExpression } ')'
(=exists naturalNumber r)
(=exists naturalNumber r c)
ObjectExactCardinality := 'ObjectExactCardinality' '(' nonNegativeInteger ObjectPropertyExpression [ ClassExpression ] ')'
ObjectExactCardinality := 'ObjectExactCardinality' '(' nonNegativeInteger ObjectPropertyExpression [ ClassExpression ] ')'
(=individuals & args)
SameIndividual := 'SameIndividual' '(' axiomAnnotations Individual Individual { Individual } ')'
SameIndividual := 'SameIndividual' '(' axiomAnnotations Individual Individual { Individual } ')'
(=individualsAtom iarg1 iarg2)
SameIndividualAtom := ‘SameIndividualAtom’ ‘(’ IArg IArg ‘)’
SameIndividualAtom := ‘SameIndividualAtom’ ‘(’ IArg IArg ‘)’
(=roles & args)
EquivalentObjectProperties := 'EquivalentObjectProperties' '(' axiomAnnotations ObjectPropertyExpression ObjectPropertyExpression { ObjectPropertyExpression } ')'
EquivalentObjectProperties := 'EquivalentObjectProperties' '(' axiomAnnotations ObjectPropertyExpression ObjectPropertyExpression { ObjectPropertyExpression } ')'
(>=dataExists naturalNumber dataRole)
(>=dataExists naturalNumber dataRole dataRange)
DataMinCardinality := 'DataMinCardinality' '(' nonNegativeInteger DataPropertyExpression [ DataRange ] ')'
DataMinCardinality := 'DataMinCardinality' '(' nonNegativeInteger DataPropertyExpression [ DataRange ] ')'
(>=exists naturalNumber role)
(>=exists naturalNumber role class)
ObjectMinCardinality := 'ObjectMinCardinality' '(' nonNegativeInteger ObjectPropertyExpression [ ClassExpression ] ')'
ObjectMinCardinality := 'ObjectMinCardinality' '(' nonNegativeInteger ObjectPropertyExpression [ ClassExpression ] ')'
(addAnnotation ontology annotation)
Adds an annotation to an ontology. If it contains prefixes already in the ontology, they are automatically adjusted to match the ontology prefixes.
Adds an annotation to an ontology. If it contains prefixes already in the ontology, they are automatically adjusted to match the ontology prefixes.
(addAnnotations ontology & annotations)
Adds a set of annotations to an ontology
Adds a set of annotations to an ontology
(addAxiom ontology axiom)
Adds an axiom to an ontology. If it contains prefixes already in the ontology, they are automatically adjusted to match the ontology prefixes.
Adds an axiom to an ontology. If it contains prefixes already in the ontology, they are automatically adjusted to match the ontology prefixes.
(addAxioms ontology & axioms)
Adds a set of axioms to an ontology
Adds a set of axioms to an ontology
(addDeclarationsForAllIRIs ontology)
Adds a Declaration axiom for any IRI in the ontology that is not currently declared
Adds a Declaration axiom for any IRI in the ontology that is not currently declared
(addDefaultPrefixes ontology)
Adds the default OWL prefixes to the ontology
Adds the default OWL prefixes to the ontology
(addImport ontology import)
Adds an import to an ontology
Adds an import to an ontology
(addImports ontology & imports)
Adds a set of imports to an ontology
Adds a set of imports to an ontology
(addPrefix ontology prefix)
Adds a prefix to an ontology. If it is already in use it is overwritten. Any IRIs in the ontology that have this prefix are adjusted. If the ontology is not an ontology file, it will be converted to suppot prefixes.
Adds a prefix to an ontology. If it is already in use it is overwritten. Any IRIs in the ontology that have this prefix are adjusted. If the ontology is not an ontology file, it will be converted to suppot prefixes.
(addPrefixes ontology & prefixes)
Adds a set of prefixes to an ontology
Adds a set of prefixes to an ontology
(all role class)
ObjectAllValuesFrom := 'ObjectAllValuesFrom' '(' ObjectPropertyExpression ClassExpression ')'
ObjectAllValuesFrom := 'ObjectAllValuesFrom' '(' ObjectPropertyExpression ClassExpression ')'
(and class1 class2)
(and class1 class2 & classes)
ObjectIntersectionOf := 'ObjectIntersectionOf' '(' ClassExpression ClassExpression { ClassExpression } ')'
ObjectIntersectionOf := 'ObjectIntersectionOf' '(' ClassExpression ClassExpression { ClassExpression } ')'
(annotation & args)
Annotation := 'Annotation' '(' annotationAnnotations AnnotationProperty AnnotationValue ')'
Annotation := 'Annotation' '(' annotationAnnotations AnnotationProperty AnnotationValue ')'
(annotationDataType iri)
(annotationDataType prefix name)
(annotationDataType prefix name namespace)
Datatype := IRI
Datatype := IRI
(annotationDomain & args)
AnnotationPropertyDomain := 'AnnotationPropertyDomain' '(' axiomAnnotations AnnotationProperty IRI ')'
AnnotationPropertyDomain := 'AnnotationPropertyDomain' '(' axiomAnnotations AnnotationProperty IRI ')'
(annotationFact & args)
AnnotationAssertion := 'AnnotationAssertion' '(' axiomAnnotations AnnotationProperty AnnotationSubject AnnotationValue ')'
AnnotationAssertion := 'AnnotationAssertion' '(' axiomAnnotations AnnotationProperty AnnotationSubject AnnotationValue ')'
(annotationImplication & args)
SubAnnotationPropertyOf := 'SubAnnotationPropertyOf' '(' axiomAnnotations subAnnotationProperty superAnnotationProperty ')'
SubAnnotationPropertyOf := 'SubAnnotationPropertyOf' '(' axiomAnnotations subAnnotationProperty superAnnotationProperty ')'
(annotationRange & args)
AnnotationPropertyRange := 'AnnotationPropertyRange' '(' axiomAnnotations AnnotationProperty IRI ')'
AnnotationPropertyRange := 'AnnotationPropertyRange' '(' axiomAnnotations AnnotationProperty IRI ')'
(annotationRole iri)
(annotationRole prefix name)
(annotationRole prefix name namespace)
AnnotationProperty := IRI
AnnotationProperty := IRI
(annotationSubject subject)
AnnotationSubject := IRI | AnonymousIndividual
AnnotationSubject := IRI | AnonymousIndividual
(annotationValue value)
AnnotationValue := AnonymousIndividual | IRI | Literal
AnnotationValue := AnonymousIndividual | IRI | Literal
(asymmetricRole & args)
AsymmetricObjectProperty := 'AsymmetricObjectProperty' '(' axiomAnnotations ObjectPropertyExpression ')'
AsymmetricObjectProperty := 'AsymmetricObjectProperty' '(' axiomAnnotations ObjectPropertyExpression ')'
(axiomAnnotations annotations)
axiomAnnotations := { Annotation }
axiomAnnotations := { Annotation }
(body & atoms)
The body of a SWRL or dg rule.
The body of a SWRL or dg rule.
(builtInAtom iri dargs)
BuiltInAtom := ‘BuiltInAtom’ ‘(’ IRI DArg { DArg } ‘)’
BuiltInAtom := ‘BuiltInAtom’ ‘(’ IRI DArg { DArg } ‘)’
(class iri)
(class prefix name)
(class prefix name namespace)
ClassExpression := Class | ObjectIntersectionOf | ObjectUnionOf | ObjectComplementOf | ObjectOneOf | ObjectSomeValuesFrom | ObjectAllValuesFrom | ObjectHasValue | ObjectHasSelf | ObjectMinCardinality | ObjectMaxCardinality | ObjectExactCardinality | DataSomeValuesFrom | DataAllValuesFrom | DataHasValue | DataMinCardinality | DataMaxCardinality | DataExactCardinality
ClassExpression := Class | ObjectIntersectionOf | ObjectUnionOf | ObjectComplementOf | ObjectOneOf | ObjectSomeValuesFrom | ObjectAllValuesFrom | ObjectHasValue | ObjectHasSelf | ObjectMinCardinality | ObjectMaxCardinality | ObjectExactCardinality | DataSomeValuesFrom | DataAllValuesFrom | DataHasValue | DataMinCardinality | DataMaxCardinality | DataExactCardinality
(classAtom class iarg)
ClassAtom := ‘ClassAtom’ ‘(’ ClassExpression IArg ‘)’
ClassAtom := ‘ClassAtom’ ‘(’ ClassExpression IArg ‘)’
(classFact & args)
ClassAssertion := 'ClassAssertion' '(' axiomAnnotations ClassExpression Individual ')'
ClassAssertion := 'ClassAssertion' '(' axiomAnnotations ClassExpression Individual ')'
(classImplication & args)
SubClassOf := 'SubClassOf' '(' axiomAnnotations subClassExpression superClassExpression ')'
SubClassOf := 'SubClassOf' '(' axiomAnnotations subClassExpression superClassExpression ')'
(className iri)
(className prefix name)
(className prefix name namespace)
Class := IRI
Class := IRI
(dataAll dataRoles dataRange)
DataAllValuesFrom := 'DataAllValuesFrom' '(' DataPropertyExpression { DataPropertyExpression } DataRange ')'
DataAllValuesFrom := 'DataAllValuesFrom' '(' DataPropertyExpression { DataPropertyExpression } DataRange ')'
(dataAnd datarange1 datarange2)
(dataAnd datarange1 datarange2 & dataranges)
DataIntersectionOf := 'DataIntersectionOf' '(' DataRange DataRange { DataRange } ')'
DataIntersectionOf := 'DataIntersectionOf' '(' DataRange DataRange { DataRange } ')'
(dataExists dataRoles dataRange)
DataSomeValuesFrom := 'DataSomeValuesFrom' '(' DataPropertyExpression { DataPropertyExpression } DataRange ')'
DataSomeValuesFrom := 'DataSomeValuesFrom' '(' DataPropertyExpression { DataPropertyExpression } DataRange ')'
(dataNot datarange)
DataComplementOf := 'DataComplementOf' '(' DataRange ')'
DataComplementOf := 'DataComplementOf' '(' DataRange ')'
(dataOneOf literal)
(dataOneOf literal & literals)
DataOneOf := 'DataOneOf' '(' Literal { Literal } ')'
DataOneOf := 'DataOneOf' '(' Literal { Literal } ')'
(dataOr datarange1 datarange2)
(dataOr datarange1 datarange2 & dataranges)
DataUnionOf := 'DataUnionOf' '(' DataRange DataRange { DataRange } ')'
DataUnionOf := 'DataUnionOf' '(' DataRange DataRange { DataRange } ')'
(dataRange dataRange)
DataRange := Datatype | DataIntersectionOf | DataUnionOf | DataComplementOf | DataOneOf | DatatypeRestriction
DataRange := Datatype | DataIntersectionOf | DataUnionOf | DataComplementOf | DataOneOf | DatatypeRestriction
(dataRangeAtom dataRange darg)
DataRangeAtom := ‘DataRangeAtom’ ‘(’ DataRange DArg ‘)’
DataRangeAtom := ‘DataRangeAtom’ ‘(’ DataRange DArg ‘)’
(dataRole iri)
(dataRole prefix name)
(dataRole prefix name namespace)
DataPropertyExpression := DataProperty
DataPropertyExpression := DataProperty
(dataRoleAtom dataRole iarg darg)
DataPropertyAtom := ‘DataPropertyAtom’ ‘(’ DataProperty IArg DArg ‘)’
DataPropertyAtom := ‘DataPropertyAtom’ ‘(’ DataProperty IArg DArg ‘)’
(dataRoleDomain & args)
DataPropertyDomain := 'DataPropertyDomain' '(' axiomAnnotations DataPropertyExpression ClassExpression ')'
DataPropertyDomain := 'DataPropertyDomain' '(' axiomAnnotations DataPropertyExpression ClassExpression ')'
(dataRoleFact & args)
DataPropertyAssertion := 'DataPropertyAssertion' '(' axiomAnnotations DataPropertyExpression sourceIndividual targetValue ')'
DataPropertyAssertion := 'DataPropertyAssertion' '(' axiomAnnotations DataPropertyExpression sourceIndividual targetValue ')'
(dataRoleImplication & args)
SubDataPropertyOf := 'SubDataPropertyOf' '(' axiomAnnotations subDataPropertyExpression superDataPropertyExpression ')'
SubDataPropertyOf := 'SubDataPropertyOf' '(' axiomAnnotations subDataPropertyExpression superDataPropertyExpression ')'
(dataRoleName iri)
(dataRoleName prefix name)
(dataRoleName prefix name namespace)
DataProperty := IRI
DataProperty := IRI
(dataRoleRange & args)
DataPropertyRange := 'DataPropertyRange' '(' axiomAnnotations DataPropertyExpression DataRange ')'
DataPropertyRange := 'DataPropertyRange' '(' axiomAnnotations DataPropertyExpression DataRange ')'
(dataType iri)
(dataType prefix name)
(dataType prefix name namespace)
Datatype := IRI
Datatype := IRI
(dataTypeDefinition & args)
DatatypeDefinition := 'DatatypeDefinition' '(' axiomAnnotations Datatype DataRange ')'
DatatypeDefinition := 'DatatypeDefinition' '(' axiomAnnotations Datatype DataRange ')'
(datatypeRestriction & args)
DatatypeRestriction := 'DatatypeRestriction' '(' Datatype constrainingFacet restrictionValue { constrainingFacet restrictionValue } ')'
DatatypeRestriction := 'DatatypeRestriction' '(' Datatype constrainingFacet restrictionValue { constrainingFacet restrictionValue } ')'
(declaration & args)
Declaration := 'Declaration' '(' axiomAnnotations Entity ')'
Declaration := 'Declaration' '(' axiomAnnotations Entity ')'
(dgAxiom & args)
DGAxiom ::= ‘DescriptionGraph’ ‘(’ {Annotation} DGName DGNodes DGEdges MainClasses ‘)’
DGAxiom ::= ‘DescriptionGraph’ ‘(’ {Annotation} DGName DGNodes DGEdges MainClasses ‘)’
(dgEdges edge)
(dgEdges edge & edges)
EdgeAssertion ::= ‘EdgeAssertion’ ‘(’ ObjectProperty DGNode DGNode ‘)’
EdgeAssertion ::= ‘EdgeAssertion’ ‘(’ ObjectProperty DGNode DGNode ‘)’
(dgNodes node)
(dgNodes node & nodes)
DGNodes ::= ‘Nodes’‘(’ NodeAssertion { NodeAssertion } ‘)’
DGNodes ::= ‘Nodes’‘(’ NodeAssertion { NodeAssertion } ‘)’
(dgRule & args)
DGRule ::= DescriptionGraphRule ‘(’ {Annotation} ‘Body’ ‘(’ {DGAtom} ‘)’ ‘Head’ ‘(’ {DGAtom} ‘)’ ‘)'
DGRule ::= DescriptionGraphRule ‘(’ {Annotation} ‘Body’ ‘(’ {DGAtom} ‘)’ ‘Head’ ‘(’ {DGAtom} ‘)’ ‘)'
(directImports & imports)
directlyImportsDocuments := { 'Import' '(' IRI ')' }
directlyImportsDocuments := { 'Import' '(' IRI ')' }
(disjClasses & args)
DisjointClasses := 'DisjointClasses' '(' axiomAnnotations ClassExpression ClassExpression { ClassExpression } ')'
DisjointClasses := 'DisjointClasses' '(' axiomAnnotations ClassExpression ClassExpression { ClassExpression } ')'
(disjDataRoles & args)
DisjointDataProperties := 'DisjointDataProperties' '(' axiomAnnotations DataPropertyExpression DataPropertyExpression { DataPropertyExpression } ')'
DisjointDataProperties := 'DisjointDataProperties' '(' axiomAnnotations DataPropertyExpression DataPropertyExpression { DataPropertyExpression } ')'
(disjOr & args)
DisjointUnion := 'DisjointUnion' '(' axiomAnnotations Class disjointClassExpressions ')'
DisjointUnion := 'DisjointUnion' '(' axiomAnnotations Class disjointClassExpressions ')'
(disjRoles & args)
DisjointObjectProperties := 'DisjointObjectProperties' '(' axiomAnnotations ObjectPropertyExpression ObjectPropertyExpression { ObjectPropertyExpression } ')'
DisjointObjectProperties := 'DisjointObjectProperties' '(' axiomAnnotations ObjectPropertyExpression ObjectPropertyExpression { ObjectPropertyExpression } ')'
(dlSafeRule & args)
DLSafeRule ::= DLSafeRule ‘(’ axiomAnnotations ‘Body’ ‘(’ {Atom} ‘)’ ‘Head’ ‘(’ {Atom} ‘)’ ‘)’
DLSafeRule ::= DLSafeRule ‘(’ axiomAnnotations ‘Body’ ‘(’ {Atom} ‘)’ ‘Head’ ‘(’ {Atom} ‘)’ ‘)’
(dropAnnotation ontology annotation)
Drops the annotation from the ontology
Drops the annotation from the ontology
(dropAnnotations ontology & annotations)
Drops all annotations in the set from the ontology
Drops all annotations in the set from the ontology
(dropAxiom ontology axiom)
Drops the axiom from the ontology
Drops the axiom from the ontology
(dropAxioms ontology & axioms)
Drops all axioms in the set from the ontology
Drops all axioms in the set from the ontology
(dropImport ontology import)
Drops the import from the ontology
Drops the import from the ontology
(dropImports ontology & imports)
Drops all imports in the set from the ontology
Drops all imports in the set from the ontology
(dropPrefix ontology prefix)
Drops the prefix from the ontology. Removes it from any IRI in the ontology
Drops the prefix from the ontology. Removes it from any IRI in the ontology
(dropPrefixes ontology & prefixes)
Drops all prefixes in the set from the ontology
Drops all prefixes in the set from the ontology
(edgeFact role node1 node2)
EdgeAssertion ::= ‘EdgeAssertion’ ‘(’ ObjectProperty DGNode DGNode ‘)’
EdgeAssertion ::= ‘EdgeAssertion’ ‘(’ ObjectProperty DGNode DGNode ‘)’
Returns an empty ontology with no prefixes
Returns an empty ontology with no prefixes
Returns an empty ontology file with the default OWL prefixes.
Returns an empty ontology file with the default OWL prefixes.
(entity thing)
Entity := 'Class' '(' Class ')' | 'Datatype' '(' Datatype ')' | 'ObjectProperty' '(' ObjectProperty ')' | 'DataProperty' '(' DataProperty ')' | 'AnnotationProperty' '(' AnnotationProperty ')' | 'NamedIndividual' '(' NamedIndividual ')'
Entity := 'Class' '(' Class ')' | 'Datatype' '(' Datatype ')' | 'ObjectProperty' '(' ObjectProperty ')' | 'DataProperty' '(' DataProperty ')' | 'AnnotationProperty' '(' AnnotationProperty ')' | 'NamedIndividual' '(' NamedIndividual ')'
(exists role class)
ObjectSomeValuesFrom := 'ObjectSomeValuesFrom' '(' ObjectPropertyExpression ClassExpression ')'
ObjectSomeValuesFrom := 'ObjectSomeValuesFrom' '(' ObjectPropertyExpression ClassExpression ')'
(fact & args)
Will attempt to infer a valid fact based on the arguments supplied. If the first argument is string, it will create a class fact when there are 2, role fact when 3.
Will attempt to infer a valid fact based on the arguments supplied. If the first argument is string, it will create a class fact when there are 2, role fact when 3.
(functionalDataRole & args)
FunctionalDataProperty := 'FunctionalDataProperty' '(' axiomAnnotations DataPropertyExpression ')'
FunctionalDataProperty := 'FunctionalDataProperty' '(' axiomAnnotations DataPropertyExpression ')'
(functionalInverseRole & args)
InverseFunctionalObjectProperty := 'InverseFunctionalObjectProperty' '(' axiomAnnotations ObjectPropertyExpression ')'
InverseFunctionalObjectProperty := 'InverseFunctionalObjectProperty' '(' axiomAnnotations ObjectPropertyExpression ')'
(functionalRole & args)
FunctionalObjectProperty := 'FunctionalObjectProperty' '(' axiomAnnotations ObjectPropertyExpression ')'
FunctionalObjectProperty := 'FunctionalObjectProperty' '(' axiomAnnotations ObjectPropertyExpression ')'
(getAnnotations ontology)
Returns the annotations from an ontology in a lazy sequence
Returns the annotations from an ontology in a lazy sequence
(getAxioms ontology)
Returns the axioms from an ontology in a lazy sequence
Returns the axioms from an ontology in a lazy sequence
(getAxiomsNoAnnotations ontology)
Returns the axioms from an ontology without annotations in a lazy sequence
Returns the axioms from an ontology without annotations in a lazy sequence
(getClassAxioms ontology)
Returns the class axioms from an ontology in a lazy sequence
Returns the class axioms from an ontology in a lazy sequence
(getClassAxiomsNoAnnotations ontology)
Returns the class axioms from an ontology without annotations in a lazy sequence
Returns the class axioms from an ontology without annotations in a lazy sequence
(getClasses object)
Gets a set of all the classes used in this object
Gets a set of all the classes used in this object
(getClassNames object)
Gets a set of all the class names used in this object
Gets a set of all the class names used in this object
(getDataRoleAxioms ontology)
Returns the data role axioms from an ontology in a lazy sequence
Returns the data role axioms from an ontology in a lazy sequence
(getDataRoleAxiomsNoAnnotations ontology)
Returns the data role axioms from an ontology without annotations in a lazy sequence
Returns the data role axioms from an ontology without annotations in a lazy sequence
(getDataRoleNames object)
Gets a set of all the data role names used in this object
Gets a set of all the data role names used in this object
(getDataTypes object)
Gets a set of all the data types used in this object
Gets a set of all the data types used in this object
(getFacts ontology)
Returns the facts from an ontology in a lazy sequence
Returns the facts from an ontology in a lazy sequence
(getFactsNoAnnotations ontology)
Returns the facts from an ontology without annotations in a lazy sequence
Returns the facts from an ontology without annotations in a lazy sequence
(getImports ontology)
Returns the imports from an ontology in a lazy sequence
Returns the imports from an ontology in a lazy sequence
(getIRIs object)
Gets a set of all the iris used in this object
Gets a set of all the iris used in this object
(getNames object)
Gets the set of all the class, role, and dataRole, individual, dataType, and annotationRole names used in this object. This is identical with the 'Entity' definition in the OWL specification
Gets the set of all the class, role, and dataRole, individual, dataType, and annotationRole names used in this object. This is identical with the 'Entity' definition in the OWL specification
(getNNF object)
Gets the NNF of any object that is a class axiom or a class. Any non-class axiom or non-class is returned, since NNF is undefined.
Gets the NNF of any object that is a class axiom or a class. Any non-class axiom or non-class is returned, since NNF is undefined.
(getOntologyIRI ontology)
Returns the ontology IRI from an ontology
Returns the ontology IRI from an ontology
(getPredicateNames object)
Gets the set of all the class, role, and dataRole names used in this object. Predicate means anything that can contain an individual (not a datatype).
Gets the set of all the class, role, and dataRole names used in this object. Predicate means anything that can contain an individual (not a datatype).
(getPrefixes ontology)
Returns the prefixes from an ontology in a lazy sequence
Returns the prefixes from an ontology in a lazy sequence
(getRoleAxioms ontology)
Returns the role axioms from an ontology in a lazy sequence
Returns the role axioms from an ontology in a lazy sequence
(getRoleAxiomsNoAnnotations ontology)
Returns the role axioms from an ontology without annotations in a lazy sequence
Returns the role axioms from an ontology without annotations in a lazy sequence
(getRoleChains object)
Gets a set of all the roles chains used in this object
Gets a set of all the roles chains used in this object
(getRoleNames object)
Gets a set of all the role names used in this object
Gets a set of all the role names used in this object
(getRoles object)
Gets a set of all the roles used in this object
Gets a set of all the roles used in this object
(getVersionIRI ontology)
Returns the version IRI from an ontology
Returns the version IRI from an ontology
(hasKey & args)
HasKey := 'HasKey' '(' axiomAnnotations ClassExpression '(' { ObjectPropertyExpression } ')' '(' { DataPropertyExpression } ')' ')'
HasKey := 'HasKey' '(' axiomAnnotations ClassExpression '(' { ObjectPropertyExpression } ')' '(' { DataPropertyExpression } ')' ')'
(head & atoms)
The head of a SWRL or dg Rule
The head of a SWRL or dg Rule
(implies & args)
Will attempt to infer a valid implication based on the arguments supplied. If all arguments are string or IRI, it will create a class implication.
Will attempt to infer a valid implication based on the arguments supplied. If all arguments are string or IRI, it will create a class implication.
(individual iri)
(individual prefix name)
(individual prefix name namespace)
Individual := IRI | nodeID
Individual := IRI | nodeID
(inverseRole iri)
(inverseRole prefix name)
(inverseRole prefix name namespace)
InverseObjectProperty := 'ObjectInverseOf' '(' ObjectProperty ')'
InverseObjectProperty := 'ObjectInverseOf' '(' ObjectProperty ')'
(inverseRoleName iri)
(inverseRoleName prefix name)
(inverseRoleName prefix name namespace)
InverseObjectProperty := 'ObjectInverseOf' '(' ObjectProperty ')'
InverseObjectProperty := 'ObjectInverseOf' '(' ObjectProperty ')'
(inverseRoles & args)
InverseObjectProperties := 'InverseObjectProperties' '(' axiomAnnotations ObjectPropertyExpression ObjectPropertyExpression ')'
InverseObjectProperties := 'InverseObjectProperties' '(' axiomAnnotations ObjectPropertyExpression ObjectPropertyExpression ')'
(IRI iri)
(IRI prefix name)
(IRI prefix name namespace)
IRI := String
IRI := String
(irreflexiveRole & args)
IrreflexiveObjectProperty := 'IrreflexiveObjectProperty' '(' axiomAnnotations ObjectPropertyExpression ')'
IrreflexiveObjectProperty := 'IrreflexiveObjectProperty' '(' axiomAnnotations ObjectPropertyExpression ')'
(literal literalString)
literal := stringLiteral | typedLiteral
literal := stringLiteral | typedLiteral
(mainClasses class)
(mainClasses class & classes)
MainClasses ::= ‘MainClasses’ ‘(’ Class { Class } ‘)’
MainClasses ::= ‘MainClasses’ ‘(’ Class { Class } ‘)’
(makeOWLFile ontology filename & fileType)
Writes an owl file of the ontology with the supplied file name. Optional argument allows choice of file type. No option defaults to functional syntax. (Currently only functional syntax defined)
Writes an owl file of the ontology with the supplied file name. Optional argument allows choice of file type. No option defaults to functional syntax. (Currently only functional syntax defined)
(metaAnnotations annotations)
annotationAnnotations := { Annotation }
annotationAnnotations := { Annotation }
(negate class)
same as not, but doesn't make double negations
same as not, but doesn't make double negations
(nodeFact class node)
NodeAssertion ::= ‘NodeAssertion’‘(’ Class DGNode ‘)’
NodeAssertion ::= ‘NodeAssertion’‘(’ Class DGNode ‘)’
(nominal individual)
(nominal individual & individuals)
ObjectOneOf := 'ObjectOneOf' '(' Individual { Individual }')'
ObjectOneOf := 'ObjectOneOf' '(' Individual { Individual }')'
(not class)
ObjectComplementOf := 'ObjectComplementOf' '(' ClassExpression ')'
ObjectComplementOf := 'ObjectComplementOf' '(' ClassExpression ')'
(notDataRoleFact & args)
NegativeDataPropertyAssertion := 'NegativeDataPropertyAssertion' '(' axiomAnnotations DataPropertyExpression sourceIndividual targetValue ')'
NegativeDataPropertyAssertion := 'NegativeDataPropertyAssertion' '(' axiomAnnotations DataPropertyExpression sourceIndividual targetValue ')'
(notFact & args)
Will attempt to infer a valid negative fact based on the arguments supplied. If the first argument is string, it will create a negative role fact.
Will attempt to infer a valid negative fact based on the arguments supplied. If the first argument is string, it will create a negative role fact.
(notRoleFact & args)
NegativeObjectPropertyAssertion := 'NegativeObjectPropertyAssertion' '(' axiomAnnotations ObjectPropertyExpression sourceIndividual targetIndividual ')'
NegativeObjectPropertyAssertion := 'NegativeObjectPropertyAssertion' '(' axiomAnnotations ObjectPropertyExpression sourceIndividual targetIndividual ')'
(ontology)
(ontology imports annotations axioms)
(ontology ontologyIRI imports annotations axioms)
(ontology ontologyIRI versionIRI imports annotations axioms)
Ontology := 'Ontology' '(' [ ontologyIRI [ versionIRI ] ] directlyImportsDocuments ontologyAnnotations axioms ')' Returns an Ontology without any prefixes. No arguments returns an empty ontology.
Ontology := 'Ontology' '(' [ ontologyIRI [ versionIRI ] ] directlyImportsDocuments ontologyAnnotations axioms ')' Returns an Ontology without any prefixes. No arguments returns an empty ontology.
(ontologyAnnotations annotations)
ontologyAnnotations := { Annotation }
ontologyAnnotations := { Annotation }
(ontologyFile)
(ontologyFile ontology)
(ontologyFile prefixes ontology)
ontologyDocument := { prefixDeclaration } Ontology Returns an Ontology File with the default OWL prefixes and any additional prefixes supplied. No arguments returns an empty ontology file.
ontologyDocument := { prefixDeclaration } Ontology Returns an Ontology File with the default OWL prefixes and any additional prefixes supplied. No arguments returns an empty ontology file.
(or class1 class2)
(or class1 class2 & classes)
ObjectUnionOf := 'ObjectUnionOf' '(' ClassExpression ClassExpression { ClassExpression } ')'
ObjectUnionOf := 'ObjectUnionOf' '(' ClassExpression ClassExpression { ClassExpression } ')'
(partialDataRole dataRole literal)
DataHasValue := 'DataHasValue' '(' DataPropertyExpression Literal ')'
DataHasValue := 'DataHasValue' '(' DataPropertyExpression Literal ')'
(partialRole role individual)
ObjectHasValue := 'ObjectHasValue' '(' ObjectPropertyExpression Individual ')'
ObjectHasValue := 'ObjectHasValue' '(' ObjectPropertyExpression Individual ')'
(prefix prefixName longIRI)
prefixDeclaration := 'Prefix' '(' prefixName '=' fullIRI ')'
prefixDeclaration := 'Prefix' '(' prefixName '=' fullIRI ')'
(prefixes & prefixes)
prefixes := { prefixDeclaration }
prefixes := { prefixDeclaration }
Change printStyle to modify how the terminal output looks (files will still output in functional syntax)
toString - standard Functional syntax
toDLString - DL instead of functional
Change printStyle to modify how the terminal output looks (files will still output in functional syntax) toString - standard Functional syntax toDLString - DL instead of functional
(readOWLFile file & fileType)
Reads an OWL file to obtain an ontology. Optional argument allows choice of file type. No option defaults to functional syntax. (Currently only functional syntax defined)
Reads an OWL file to obtain an ontology. Optional argument allows choice of file type. No option defaults to functional syntax. (Currently only functional syntax defined)
(reflexiveRole & args)
ReflexiveObjectProperty := 'ReflexiveObjectProperty' '(' axiomAnnotations ObjectPropertyExpression ')'
ReflexiveObjectProperty := 'ReflexiveObjectProperty' '(' axiomAnnotations ObjectPropertyExpression ')'
(restrictedValue facet restriction)
RestrictedFacet := constrainingFacet restrictionValue
RestrictedFacet := constrainingFacet restrictionValue
(role iri)
(role prefix name)
(role prefix name namespace)
ObjectPropertyExpression := ObjectProperty | InverseObjectProperty
ObjectPropertyExpression := ObjectProperty | InverseObjectProperty
(roleAtom role iarg1 iarg2)
ObjectPropertyAtom := ‘ObjectPropertyAtom’ ‘(’ ObjectPropertyExpression IArg IArg ‘)’
ObjectPropertyAtom := ‘ObjectPropertyAtom’ ‘(’ ObjectPropertyExpression IArg IArg ‘)’
(roleChain role1 role2)
(roleChain role1 role2 & roles)
propertyExpressionChain := 'ObjectPropertyChain' '(' ObjectPropertyExpression ObjectPropertyExpression { ObjectPropertyExpression } ')'
propertyExpressionChain := 'ObjectPropertyChain' '(' ObjectPropertyExpression ObjectPropertyExpression { ObjectPropertyExpression } ')'
(roleDomain & args)
ObjectPropertyDomain := 'ObjectPropertyDomain' '(' axiomAnnotations ObjectPropertyExpression ClassExpression ')'
ObjectPropertyDomain := 'ObjectPropertyDomain' '(' axiomAnnotations ObjectPropertyExpression ClassExpression ')'
(roleFact & args)
ObjectPropertyAssertion := 'ObjectPropertyAssertion' '(' axiomAnnotations ObjectPropertyExpression sourceIndividual targetIndividual ')'
ObjectPropertyAssertion := 'ObjectPropertyAssertion' '(' axiomAnnotations ObjectPropertyExpression sourceIndividual targetIndividual ')'
(roleImplication & args)
SubObjectPropertyOf := 'SubObjectPropertyOf' '(' axiomAnnotations subObjectPropertyExpression superObjectPropertyExpression ')'
SubObjectPropertyOf := 'SubObjectPropertyOf' '(' axiomAnnotations subObjectPropertyExpression superObjectPropertyExpression ')'
(roleName iri)
(roleName prefix name)
(roleName prefix name namespace)
ObjectProperty := IRI
ObjectProperty := IRI
(roleRange & args)
ObjectPropertyRange := 'ObjectPropertyRange' '(' axiomAnnotations ObjectPropertyExpression ClassExpression ')'
ObjectPropertyRange := 'ObjectPropertyRange' '(' axiomAnnotations ObjectPropertyExpression ClassExpression ')'
(Self iri)
(Self prefix name)
(Self prefix name namespace)
ObjectHasSelf := 'ObjectHasSelf' '(' ObjectPropertyExpression ')'
ObjectHasSelf := 'ObjectHasSelf' '(' ObjectPropertyExpression ')'
(setOntologyIRI ontology iri)
Sets the Ontology IRI of he ontology to the input IRI
Sets the Ontology IRI of he ontology to the input IRI
(setVersionIRI ontology iri)
Sets the Version IRI of the ontology to the input IRI. Throws an exception if there is no Ontology IRI for the ontology.
Sets the Version IRI of the ontology to the input IRI. Throws an exception if there is no Ontology IRI for the ontology.
(stringLiteral string)
(stringLiteral string lang)
stringLiteral := quotedString | quotedString languageTag
stringLiteral := quotedString | quotedString languageTag
(symmetricRole & args)
SymmetricObjectProperty := 'SymmetricObjectProperty' '(' axiomAnnotations ObjectPropertyExpression ')'
SymmetricObjectProperty := 'SymmetricObjectProperty' '(' axiomAnnotations ObjectPropertyExpression ')'
(toClassImplications classaxiom)
Converts a class axiom to an equivalent axiom or set of axioms that are class implications
Converts a class axiom to an equivalent axiom or set of axioms that are class implications
(toDLString thing)
Returns a DL syntax string representation of the map object used to store the OWL object, or the default representation if there is no OWL type contained in the map.
Returns a DL syntax string representation of the map object used to store the OWL object, or the default representation if there is no OWL type contained in the map.
(toString thing)
Returns a functional syntax string representation of the map object used to store the OWL data, or the default representation if there is no OWL type contained in the map. Note that this is not the same as java toString.
Returns a functional syntax string representation of the map object used to store the OWL data, or the default representation if there is no OWL type contained in the map. Note that this is __*not*__ the same as java toString.
(toSyntacticEquivalent axiom)
Converts an axiom to an equivalent axiom or set of axioms that are class, role, or dataRole implications if such an equivalence exists. Corresponds to the definitions of syntactic shortcuts in the OWL 2 Specification.
Converts an axiom to an equivalent axiom or set of axioms that are class, role, or dataRole implications if such an equivalence exists. Corresponds to the definitions of syntactic shortcuts in the OWL 2 Specification.
(transitiveRole & args)
TransitiveObjectProperty := 'TransitiveObjectProperty' '(' axiomAnnotations ObjectPropertyExpression ')'
TransitiveObjectProperty := 'TransitiveObjectProperty' '(' axiomAnnotations ObjectPropertyExpression ')'
(typedLiteral lexicalForm datatype)
typedLiteral := lexicalForm '^^' Datatype
typedLiteral := lexicalForm '^^' Datatype
(variable iri)
An IRI that represents a SWRL variable
An IRI that represents a SWRL variable
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close