| Did you know ... | Search Documentation: |
| rdf11_containers.pl -- RDF 1.1 Containers |
Implementation of the conventional human interpretation of RDF 1.1 containers.
RDF containers are open enumeration structures as opposed to RDF collections or RDF lists which are closed enumeration structures. The same resource may appear in a container more than once. A container may be contained in itself.
rdf_alt(+Alt, ?Default, ?Others) is nondetrdf:Alt with first member
Default and remaining members Others.
Notice that this construct adds no machine-processable semantics but is conventionally used to indicate to a human reader that the numerical ordering of the container membership properties of Container is intended to only be relevant in distinguishing between the first and all non-first members.
Default denotes the default option to take when choosing one of the alternatives container in Container. Others denotes the non-default options that can be chosen from.
rdf_assert_alt(?Alt, +Default, +Others:list) is det
rdf_assert_alt(?Alt, +Default, +Others:list, +Graph) is det
rdf_bag(+Bag, -List:list) is nondetNotice that this construct adds no machine-processable semantics but is conventionally used to indicate to a human reader that the numerical ordering of the container membership properties of Container is intended to not be significant.
rdf_assert_bag(?Bag, +Set:list) is det
rdf_assert_bag(?Bag, +Set:list, +Graph) is det
rdf_seq(+Seq, -List:list) is nondetNotice that this construct adds no machine-processable semantics but is conventionally used to indicate to a human reader that the numerical ordering of the container membership properties of Container is intended to be significant.
rdf_assert_seq(?Seq, +List) is det
rdf_assert_seq(?Seq, +List, +Graph) is det
rdfs_container(+Container, -List) is nondet
rdfs_container_membership_property(?Property) is nondet
rdfs_container_membership_property(?Property, ?Number:nonneg) is nondetSuccess of this goal does not imply that Property is present in the database.
rdfs_member(?Elem, ?Container) is nondetrdf(Container, P, Elem) is true and P is a container
membership property.
rdfs_nth0(?N, ?Container, ?Elem) is nondetrdf(Container, P, Elem) is true and P is the N-th
(0-based) container membership property.The following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.
rdf_assert_alt(?Alt, +Default, +Others:list) is det
rdf_assert_alt(?Alt, +Default, +Others:list, +Graph) is det
rdf_assert_bag(?Bag, +Set:list) is det
rdf_assert_bag(?Bag, +Set:list, +Graph) is det
rdf_assert_seq(?Seq, +List) is det
rdf_assert_seq(?Seq, +List, +Graph) is det