instances
Description
instances
returns all the instances of the type(s) specified. It should be used in combination with count
or get_properties_from_instances
. Like other declarations, an optional where clause is also supported.
Example: Ontology and Role
This will give you all instances that are of the type Person and have the role AccountHolder.
Example: Ontology and Where-Clause
This will give you all instances that are of the type Person that have the first_name
Thorben.
Last updated