terms.pl -- The occurs predicate.

author
- Daniel Beßler
license
- BSD
 occurs(?Event) is nondet
True for all occurences (events).
Arguments:
Event- an event instance.
 +Resource is_a ?Type is nondet
Wrapper around instance_of, subclass_of, and subproperty_of. Using this is a bit slower as an additional type check is needed. For example: Cat is_a Animal and Nibbler is_a Cat.

Note that contrary to wrapped predicates, is_a/2 requires the Resource to be ground.

Arguments:
Resource- a RDF resource
Type- the type of the resource