The predicate used to indicate the domain of a property.
The predicate used to indicate the range of a property.
ReadonlystoreThe RDF triple store.
Get all sub classes of a given class, including indirect sub classes.
URIs of the graphs to search, undefined for the default graph.
URI of a class.
Optionaloptions: DefinitionQueryOptionsOptional query parameters.
An iterator of all sub classes of the given class.
Get all broader concepts of a concept scheme.
URIs of the graphs to search for concepts.
URI of a concept scheme.
Get the SHACL cardinality constraints of a given property.
URIs of the graphs to search, undefined for the default graph.
The URI of the subject.
Optionaloptions: DefinitionQueryOptionsOptional query parameters.
An object with the minimum and maximum cardinalities; values are -1 if not found.
Get all classes in the repository.
URIs of the graphs to search, undefined for the default graph.
Optionaloptions: DefinitionQueryOptionsOptional query parameters.
An iterator of all classes in the repository.
Get the members of a collection. This includes both skos:member and skos:memberList properties.
URI of the graphs to search for collections.
URI of a collection.
An array of URIs of the members of the collection.
Get all collections.
URI of the graphs to search for collections.
An iterator of URIs of all collections.
Get all concepts.
URIs of the graphs to search for concepts.
An iterator of URIs of all concepts.
Get all broader concepts up to and including a concept scheme.
URIs of the graphs to search for concepts.
URI of a concept.
Get all concept schemes in the repository.
URIs of the graphs to search.
An iterator of all concept schemes in the repository.
Get the SHACL datatype of a given property.
URIs of the graphs to search, undefined for the default graph.
The URI of the subject.
Optionaloptions: DefinitionQueryOptionsOptional query parameters.
A datatype URI on success, xsd:anyURI otherwise.
Get the sources of definitions for a given graph. These are ontology definitions
or the objects of rdfs:isDefinedBy triples. If the rdfs:isDefinedBy object can be
matched with an ontology definition, the ontology URI is returned.
URIs of the graphs to search.
An iterator of sources of definitions for the given graph.
Get the domain of a given property.
URI of a property.
The URI of the domain of the given property. If no domain is specified, rdfs:Resource is returned.
Get all individuals in the repository.
OptionaltypeUri: stringThe type of the individuals to get.
Optionaloptions: DefinitionQueryOptionsOptions for retrieving the individuals.
An iterator of all individuals in the repository.
Get all classes that have instances or all types of a specific individual.
The graph URIs to search.
OptionalsubjectUri: stringThe URI of a subject for which to get the types (optional).
Optionaloptions: DefinitionQueryOptionsOptions for retrieving the individuals.
An iterator of all individual types, or all types of a specific individual.
Get the language tags used in the object of triples with a given set of predicates.
URIs of the graphs to search.
An array of language tag statistics, sorted by the number of occurrences in descending order.
Get the most frequently used language tag in the object of triples with a given set of predicates.
URIs of the graphs to search.
Get all narrower concepts of a concept or top concepts of a concept scheme.
URIs of the graphs to search for concepts.
OptionalsubjectUri: stringURI of a concept or concept scheme.
Get all ontologies in the repository.
URIs of the graphs to search.
An iterator of all ontologies in the repository.
Get the version (owl:versionInfo) of an ontology. If the version is a date, it is returned as a string in the format "YYYY-MM-DD".
URIs of the graphs to search.
URI of the ontology.
The version of the ontology, or undefined if it is not found.
Get information about the usage of predicates in the document such as the frequency of use and the use of language tags.
URIs of the graphs to search.
URIs of the predicates to match.
Get all properties in the repository.
Optionaloptions: DefinitionQueryOptionsOptional options for retrieving properties.
A list of all properties in the repository.
Get the RDF property path representation of the given SHACL property path. This method parses the SHACL property path and returns the RDF property path as a combination of nodes and strings.
URIs of the graphs to search, undefined for the default graph.
The URI or blank id of the node referred to by sh:path.
A flattened list of all path components, either as URIs or as strings.
Get all asserted and inferred property types.
The URI of the graph or an array of graphs to search for property types.
Optionaloptions: DefinitionQueryOptionsOptional options for retrieving properties.
An iterator of all property types in the repository.
Get the range of a given property.
URI of a property.
The URI of the range of the given property. If no range is specified, undefined is returned.
Get all classes from the repository that have no super classes.
URIs of the graphs to search, undefined for the default graph.
Optionaloptions: DefinitionQueryOptionsOptional query parameters.
An iterator of root classes in the repository.
Get the first discovered path from a given class to a root class.
URI of a class.
Optionaloptions: DefinitionQueryOptionsAn iterator containing the first path that is found from the given class to a root class.
Get all properties from the repository that have no super properties.
Optionaloptions: DefinitionQueryOptionsOptional options for retrieving properties.
An iterator of root properties in the repository.
Get properties of a given type.
URI of a property type.
Optionaloptions: DefinitionQueryOptionsAn iterator of properties of the given type.
Get the first discovered path from a given property to a root property.
URI of a property.
Optionaloptions: DefinitionQueryOptionsOptional options for retrieving properties.
A string array containing the first path that is found from the given property to a root property.
Get all rules in the repository.
URIs of the graphs to search, undefined for the default graph.
Optionaloptions: DefinitionQueryOptions & TypedInstanceQueryOptionsOptional query parameters.
A list of all rules in the repository.
Get all shapes in the repository.
URIs of the graphs to search, undefined for the default graph.
OptionalsubjectUri: stringOptionaloptions: DefinitionQueryOptionsOptional query parameters.
An iterable of all shapes in the repository.
Get all target classes, nodes or properties of a given shape in the repository.
URIs of the graphs to search, undefined for the default graph.
The URI or blank id of the shape.
Optionaloptions: DefinitionQueryOptionsOptional query parameters.
An iterable of all targeted resources in the repository.
Get all shape types in the repository.
URIs of the graphs to search, undefined for the default graph.
Optionaloptions: DefinitionQueryOptionsOptional query parameters.
A list of all shape types in the repository.
Get the sub classes of a given class or all root classes.
OptionalsubjectUri: stringURI of a class or undefined to get all root classes.
Optionaloptions: DefinitionQueryOptionsAn iterator of sub classes of the given class, or root classes if no subject is provided.
Get all subjects of a given class in the repository.
URIs of the graphs to search, undefined for the default graph.
URI of the class.
Optionaloptions: DefinitionQueryOptions & TypedInstanceQueryOptionsOptional query parameters.
An iterator of all subjects of the given class.
Get the sub properties of a given property or all root properties.
OptionalsubjectUri: stringURI of a property or undefined to get all root properties.
Optionaloptions: DefinitionQueryOptionsOptional options for retrieving properties.
An array of sub properties of the given property, an empty array if the property has no sub properties.
Get the super classes of a given class.
URIs of the graphs to search, undefined for the default graph.
URI of a class.
Optionaloptions: DefinitionQueryOptionsOptional query parameters.
An iterator of super classes of the given class.
Get the super properties of a given property.
URI of a property.
Optionaloptions: DefinitionQueryOptionsOptional options for retrieving properties.
An array of super properties of the given property, an empty array if the property has no super properties.
Get all validators in the repository.
URIs of the graphs to search, undefined for the default graph.
Optionaloptions: DefinitionQueryOptions & TypedInstanceQueryOptionsOptional query parameters.
A list of all validators in the repository.
Get all validator types in the repository.
URIs of the graphs to search, undefined for the default graph.
Optionaloptions: DefinitionQueryOptionsOptional query parameters.
An iterable of all shape types in the repository.
Indicates whether a concept has broader concepts.
URIs of the graphs to search for concepts.
URI of a concept.
Get the members of a collection. This includes both skos:member and skos:memberList properties.
URI of the graphs to search for collections.
URI of a collection.
An array of URIs of the members of the collection.
Indicates whether the repository contains any concept schemes.
URIs of the graphs to search.
true if the repository contains any concept schemes, false otherwise.
Indicate if there is an equivalent class of a given class.
URIs of the graphs to search, undefined for the default graph.
URI of a class.
Optionaloptions: QueryOptionsOptional query parameters.
true if the class has an equivalent class, false otherwise.
Indicate if there is an equivalent property of a given property.
URI of a property.
true if the property has an equivalent property, false otherwise.
Indicate if a given class has at least one individual defined for it or for one of its sub classes.
Graph URIs to search in, undefined for the default graph.
URI of a class.
Optionaloptions: DefinitionQueryOptionsOptional query parameters.
true if the class has individuals, false otherwise.
Indicates whether a concept has narrower concepts.
URIs of the graphs to search for concepts.
URI of a concept.
Indicates whether the repository contains any ontology headers.
URIs of the graphs to search.
true if the repository contains any ontology headers, false otherwise.
Indicate if there are rules in the repository.
URIs of the graphs to search, undefined for the default graph.
Optionaloptions: DefinitionQueryOptions & TypedInstanceQueryOptionsOptional query parameters.
true if there are rules for the subject, false otherwise.
Indicate if there are shapes for a subject in the repository.
URIs of the graphs to search, undefined for the default graph.
The URI of the subject.
Optionaloptions: DefinitionQueryOptionsOptional query parameters.
true if there are shapes for the subject, false otherwise.
Indicate if there are sub classes of a given class.
URI of a class.
Optionaloptions: DefinitionQueryOptionstrue if the class has sub classes, false otherwise.
Indicate if a given URI exists as the subject of a triple in the graph.
URIs of the graphs to search.
URI of the subject to search for.
true if the URI is a subject, false otherwise.
Indicate if there are instances of a given class or any of its sub classes.
URIs of the graphs to search, undefined for the default graph.
URI of the class.
Optionaloptions: DefinitionQueryOptions & TypedInstanceQueryOptionsOptional query parameters.
true if the class has instances, false otherwise.
Indicate if there are sub properties of a given property.
URI of a property.
Optionaloptions: DefinitionQueryOptionsOptional options for retrieving properties.
true if the property has sub properties, false otherwise.
Indicate if a resource has a given type in the graph.
URIs of the graphs to search.
URI or blank node id of the subject to match.
URI of the type to match.
Optionaloptions: QueryOptionsOptional query parameters.
true if the resource has the type, false otherwise.
Indicate if there validators defined in the vocabulary.
URIs of the graphs to search, undefined for the default graph.
Optionaloptions: DefinitionQueryOptions & TypedInstanceQueryOptionsOptional query parameters.
A list of all validators in the repository.
Indicates whether a subject is a concept scheme.
URIs of the graphs to search for concepts.
URI of a subject.
true if the subject is a concept scheme, false otherwise.
Indicate if a node is explicitly defined by the given URI using the rdfs:isDefinedBy property, or implicitly by sharing the same namespace.
URIs of the graphs to search.
A named node to check if it is defined by the given URI.
URI of the vocabulary that defines the resource (rdfs:isDefinedBy). Provide null to only return resources that have no rdfs:isDefinedBy property.
true if the node is defined by the given URI, false otherwise.
Indicate if the subject is an instance of the type, or of one of its super types.
URI of the subject.
URI of the type to check.
true if the subject is an instance of the type, or of one of its super types.
Indicate if a given class is the intersection of classes.
URIs of the graphs to search, undefined for the default graph.
URI of a class.
true if the class is the intersection of classes, false otherwise.
Indicates whether a concept is a narrower concept of another concept.
URIs of the graphs to search for concepts.
URI of a concept.
URI of a broader concept.
true if the concept is a narrower concept of the broader concept, false otherwise.
Indicates whether a collection is an ordered collection.
URI of the graphs to search for collections.
URI of a collection.
true if the collection is an ordered collection, false otherwise.
Indicate if a given class is direct or indirect (inferred) sub class of another class.
URIs of the graphs to search, undefined for the default graph.
URI of the sub class.
URI of the super class.
Optionaloptions: DefinitionQueryOptionsOptional query parameters.
true if the class is a sub class of the other class, false otherwise.
Indicate if a given property is direct or indirect (inferred) sub property of another property.
URIs of the graphs to search, undefined for the default graph.
URI of the sub property.
URI of the super property.
Optionaloptions: DefinitionQueryOptionsOptional query parameters.
true if the property is a sub property of the other property, false otherwise.
Indicate if a given class is a (disjoint) union of classes.
URIs of the graphs to search, undefined for the default graph.
URI of a class.
true if the class is a (disjoint) union of classes, false otherwise.
A repository for retrieving ontologies and ontology concepts from graphs.