rdf

OCaml library to manipulate RDF graphs; implements SPARQL
IN THIS PACKAGE
Module Rdf . Prov
val prov : Iri.t

http://www.w3.org/ns/prov#

val prov_ : string -> Iri.t
val c_Accept : Iri.t
val c_Activity : Iri.t
val c_ActivityInfluence : Iri.t

It is not recommended that the type ActivityInfluence be asserted without also asserting one of its more specific subclasses.

val c_Agent : Iri.t
val c_AgentInfluence : Iri.t

It is not recommended that the type AgentInfluence be asserted without also asserting one of its more specific subclasses.

val c_Association : Iri.t

An instance of prov:Association provides additional descriptions about the binary prov:wasAssociatedWith relation from an prov:Activity to some prov:Agent that had some responsiblity for it. For example, :baking prov:wasAssociatedWith :baker; prov:qualifiedAssociation a prov:Association; prov:agent :baker; :foo :bar .

val c_Attribution : Iri.t

An instance of prov:Attribution provides additional descriptions about the binary prov:wasAttributedTo relation from an prov:Entity to some prov:Agent that had some responsible for it. For example, :cake prov:wasAttributedTo :baker; prov:qualifiedAttribution a prov:Attribution; prov:entity :baker; :foo :bar .

val c_Bundle : Iri.t

Note that there are kinds of bundles (e.g. handwritten letters, audio recordings, etc.) that are not expressed in PROV-O, but can be still be described by PROV-O.

val c_Collection : Iri.t
val c_Communication : Iri.t

An instance of prov:Communication provides additional descriptions about the binary prov:wasInformedBy relation from an informed prov:Activity to the prov:Activity that informed it. For example, :you_jumping_off_bridge prov:wasInformedBy :everyone_else_jumping_off_bridge; prov:qualifiedCommunication a prov:Communication; prov:activity :everyone_else_jumping_off_bridge; :foo :bar .

val c_Contribute : Iri.t
val c_Contributor : Iri.t
val c_Create : Iri.t
val c_Creator : Iri.t
val c_Delegation : Iri.t

An instance of prov:Delegation provides additional descriptions about the binary prov:actedOnBehalfOf relation from a performing prov:Agent to some prov:Agent for whom it was performed. For example, :mixing prov:wasAssociatedWith :toddler . :toddler prov:actedOnBehalfOf :mother; prov:qualifiedDelegation a prov:Delegation; prov:entity :mother; :foo :bar .

val c_Derivation : Iri.t

The more specific forms of prov:Derivation (i.e., prov:Revision, prov:Quotation, prov:PrimarySource) should be asserted if they apply.

val c_Dictionary : Iri.t

This concept allows for the provenance of the dictionary, but also of its constituents to be expressed. Such a notion of dictionary corresponds to a wide variety of concrete data structures, such as a maps or associative arrays.

val c_DirectQueryService : Iri.t

Type for a generic provenance query service. Mainly for use in RDF provenance query service descriptions, to facilitate discovery in linked data environments.

val c_EmptyCollection : Iri.t
val c_EmptyDictionary : Iri.t
val c_End : Iri.t

An instance of prov:End provides additional descriptions about the binary prov:wasEndedBy relation from some ended prov:Activity to an prov:Entity that ended it. For example, :ball_game prov:wasEndedBy :buzzer; prov:qualifiedEnd a prov:End; prov:entity :buzzer; :foo :bar; prov:atTime '2012-03-09T08:05:08-05:00'^^xsd:dateTime .

val c_Entity : Iri.t
val c_EntityInfluence : Iri.t

It is not recommended that the type EntityInfluence be asserted without also asserting one of its more specific subclasses.

val c_Generation : Iri.t

An instance of prov:Generation provides additional descriptions about the binary prov:wasGeneratedBy relation from a generated prov:Entity to the prov:Activity that generated it. For example, :cake prov:wasGeneratedBy :baking; prov:qualifiedGeneration a prov:Generation; prov:activity :baking; :foo :bar .

val c_Influence : Iri.t

Because prov:Influence is a broad relation, its most specific subclasses (e.g. prov:Communication, prov:Delegation, prov:End, prov:Revision, etc.) should be used when applicable.

val c_Insertion : Iri.t
val c_InstantaneousEvent : Iri.t

An instantaneous event, or event for short, happens in the world and marks a change in the world, in its activities and in its entities. The term 'event' is commonly used in process algebra with a similar meaning. Events represent communications or interactions; they are assumed to be atomic and instantaneous.

val c_Invalidation : Iri.t

An instance of prov:Invalidation provides additional descriptions about the binary prov:wasInvalidatedBy relation from an invalidated prov:Entity to the prov:Activity that invalidated it. For example, :uncracked_egg prov:wasInvalidatedBy :baking; prov:qualifiedInvalidation a prov:Invalidation; prov:activity :baking; :foo :bar .

val c_KeyEntityPair : Iri.t
val c_Location : Iri.t
val c_Modify : Iri.t
val c_Organization : Iri.t
val c_Person : Iri.t
val c_Plan : Iri.t

There exist no prescriptive requirement on the nature of plans, their representation, the actions or steps they consist of, or their intended goals. Since plans may evolve over time, it may become necessary to track their provenance, so plans themselves are entities. Representing the plan explicitly in the provenance can be useful for various tasks: for example, to validate the execution as represented in the provenance record, to manage expectation failures, or to provide explanations.

val c_PrimarySource : Iri.t

An instance of prov:PrimarySource provides additional descriptions about the binary prov:hadPrimarySource relation from some secondary prov:Entity to an earlier, primary prov:Entity. For example, :blog prov:hadPrimarySource :newsArticle; prov:qualifiedPrimarySource a prov:PrimarySource; prov:entity :newsArticle; :foo :bar .

val c_Publish : Iri.t
val c_Publisher : Iri.t
val c_Quotation : Iri.t

An instance of prov:Quotation provides additional descriptions about the binary prov:wasQuotedFrom relation from some taken prov:Entity from an earlier, larger prov:Entity. For example, :here_is_looking_at_you_kid prov:wasQuotedFrom :casablanca_script; prov:qualifiedQuotation a prov:Quotation; prov:entity :casablanca_script; :foo :bar .

val c_Removal : Iri.t
val c_Replace : Iri.t
val c_Revision : Iri.t

An instance of prov:Revision provides additional descriptions about the binary prov:wasRevisionOf relation from some newer prov:Entity to an earlier prov:Entity. For example, :draft_2 prov:wasRevisionOf :draft_1; prov:qualifiedRevision a prov:Revision; prov:entity :draft_1; :foo :bar .

val c_RightsAssignment : Iri.t
val c_RightsHolder : Iri.t
val c_Role : Iri.t
val c_ServiceDescription : Iri.t

Type for a generic provenance query service. Mainly for use in RDF provenance query service descriptions, to facilitate discovery in linked data environments.

val c_SoftwareAgent : Iri.t
val c_Start : Iri.t

An instance of prov:Start provides additional descriptions about the binary prov:wasStartedBy relation from some started prov:Activity to an prov:Entity that started it. For example, :foot_race prov:wasStartedBy :bang; prov:qualifiedStart a prov:Start; prov:entity :bang; :foo :bar; prov:atTime '2012-03-09T08:05:08-05:00'^^xsd:dateTime .

val c_Submit : Iri.t
val c_Usage : Iri.t

An instance of prov:Usage provides additional descriptions about the binary prov:used relation from some prov:Activity to an prov:Entity that it used. For example, :keynote prov:used :podium; prov:qualifiedUsage a prov:Usage; prov:entity :podium; :foo :bar .

val actedOnBehalfOf : Iri.t

An object property to express the accountability of an agent towards another agent. The subordinate agent acted on behalf of the responsible agent in an actual activity.

val activity : Iri.t
val agent : Iri.t
val alternateOf : Iri.t
val aq : Iri.t
val asInBundle : Iri.t

prov:asInBundle is used to specify which bundle the general entity of a prov:mentionOf property is described.

When :x prov:mentionOf :y and :y is described in Bundle :b, the triple :x prov:asInBundle :b is also asserted to cite the Bundle in which :y was described.

val atLocation : Iri.t

The Location of any resource.

val atTime : Iri.t

The time at which an InstantaneousEvent occurred, in the form of xsd:dateTime.

val category : Iri.t

Classify prov-o terms into three categories, including 'starting-point', 'qualifed', and 'extended'. This classification is used by the prov-o html document to gently introduce prov-o terms to its users.

val component : Iri.t

Classify prov-o terms into six components according to prov-dm, including 'agents-responsibility', 'alternate', 'annotations', 'collections', 'derivations', and 'entities-activities'. This classification is used so that readers of prov-o specification can find its correspondence with the prov-dm specification.

val constraints : Iri.t

A reference to the principal section of the PROV-CONSTRAINTS document that describes this concept.

val definition : Iri.t

A definition quoted from PROV-DM or PROV-CONSTRAINTS that describes the concept expressed with this OWL term.

val derivedByInsertionFrom : Iri.t
val derivedByRemovalFrom : Iri.t
val describesService : Iri.t

relates a generic provenance query service resource (type prov:ServiceDescription) to a specific query service description (e.g. a prov:DirectQueryService or a sd:Service).

val dictionary : Iri.t
val dm : Iri.t

A reference to the principal section of the PROV-DM document that describes this concept.

val editorialNote : Iri.t

A note by the OWL development team about how this term expresses the PROV-DM concept, or how it should be used in context of semantic web or linked data.

val editorsDefinition : Iri.t

When the prov-o term does not have a definition drawn from prov-dm, and the prov-o editor provides one.

val endedAtTime : Iri.t

The time at which an activity ended. See also prov:startedAtTime.

val entity : Iri.t
val generated : Iri.t
val generatedAtTime : Iri.t

The time at which an entity was completely created and is available for use.

val hadActivity : Iri.t

The _optional_ Activity of an Influence, which used, generated, invalidated, or was the responsibility of some Entity. This property is _not_ used by ActivityInfluence (use prov:activity instead).

val hadDictionaryMember : Iri.t
val hadGeneration : Iri.t

The _optional_ Generation involved in an Entity's Derivation.

val hadMember : Iri.t
val hadPlan : Iri.t

The _optional_ Plan adopted by an Agent in Association with some Activity. Plan specifications are out of the scope of this specification.

val hadPrimarySource : Iri.t
val hadRole : Iri.t

The _optional_ Role that an Entity assumed in the context of an Activity. For example, :baking prov:used :spoon; prov:qualified a prov:Usage; prov:entity :spoon; prov:hadRole roles:mixing_implement .

val hadUsage : Iri.t

The _optional_ Usage involved in an Entity's Derivation.

val has_anchor : Iri.t

Indicates anchor URI for a potentially dynamic resource instance.

val has_provenance : Iri.t

Indicates a provenance-URI for a resource; the resource identified by this property presents a provenance record about its subject or anchor resource.

val has_query_service : Iri.t

Indicates a provenance query service that can access provenance related to its subject or anchor resource.

val influenced : Iri.t
val influencer : Iri.t

Subproperties of prov:influencer are used to cite the object of an unqualified PROV-O triple whose predicate is a subproperty of prov:wasInfluencedBy (e.g. prov:used, prov:wasGeneratedBy). prov:influencer is used much like rdf:object is used.

val insertedKeyEntityPair : Iri.t
val invalidated : Iri.t
val invalidatedAtTime : Iri.t

The time at which an entity was invalidated (i.e., no longer usable).

val inverse : Iri.t

PROV-O does not define all property inverses. The directionalities defined in PROV-O should be given preference over those not defined. However, if users wish to name the inverse of a PROV-O property, the local name given by prov:inverse should be used.

val mentionOf : Iri.t

prov:mentionOf is used to specialize an entity as described in another bundle. It is to be used in conjuction with prov:asInBundle.

prov:asInBundle is used to cite the Bundle in which the generalization was mentioned.

val n : Iri.t

A reference to the principal section of the PROV-M document that describes this concept.

val order : Iri.t

The position that this OWL term should be listed within documentation. The scope of the documentation (e.g., among all terms, among terms within a prov:category, among properties applying to a particular class, etc.) is unspecified.

val pairEntity : Iri.t
val pairKey : Iri.t
val pingback : Iri.t

Relates a resource to a provenance pingback service that may receive additional provenance links about the resource.

val provenanceUriTemplate : Iri.t

Relates a provenance service to a URI template string for constructing provenance-URIs.

val qualifiedAssociation : Iri.t

If this Activity prov:wasAssociatedWith Agent :ag, then it can qualify the Association using prov:qualifiedAssociation a prov:Association; prov:agent :ag; :foo :bar .

val qualifiedAttribution : Iri.t

If this Entity prov:wasAttributedTo Agent :ag, then it can qualify how it was influenced using prov:qualifiedAttribution a prov:Attribution; prov:agent :ag; :foo :bar .

val qualifiedCommunication : Iri.t

If this Activity prov:wasInformedBy Activity :a, then it can qualify how it was influenced using prov:qualifiedCommunication a prov:Communication; prov:activity :a; :foo :bar .

val qualifiedDelegation : Iri.t

If this Agent prov:actedOnBehalfOf Agent :ag, then it can qualify how with prov:qualifiedResponsibility a prov:Responsibility; prov:agent :ag; :foo :bar .

val qualifiedDerivation : Iri.t

If this Entity prov:wasDerivedFrom Entity :e, then it can qualify how it was derived using prov:qualifiedDerivation a prov:Derivation; prov:entity :e; :foo :bar .

val qualifiedEnd : Iri.t

If this Activity prov:wasEndedBy Entity :e1, then it can qualify how it was ended using prov:qualifiedEnd a prov:End; prov:entity :e1; :foo :bar .

val qualifiedForm : Iri.t

This annotation property links a subproperty of prov:wasInfluencedBy with the subclass of prov:Influence and the qualifying property that are used to qualify it.

Example annotation:

prov:wasGeneratedBy prov:qualifiedForm prov:qualifiedGeneration, prov:Generation .

Then this unqualified assertion:

:entity1 prov:wasGeneratedBy :activity1 .

can be qualified by adding:

:entity1 prov:qualifiedGeneration :entity1Gen . :entity1Gen a prov:Generation, prov:Influence; prov:activity :activity1; :customValue 1337 .

Note how the value of the unqualified influence (prov:wasGeneratedBy :activity1) is mirrored as the value of the prov:activity (or prov:entity, or prov:agent) property on the influence class.

val qualifiedGeneration : Iri.t

If this Activity prov:generated Entity :e, then it can qualify how it performed the Generation using prov:qualifiedGeneration a prov:Generation; prov:entity :e; :foo :bar .

val qualifiedInfluence : Iri.t

Because prov:qualifiedInfluence is a broad relation, the more specific relations (qualifiedCommunication, qualifiedDelegation, qualifiedEnd, etc.) should be used when applicable.

val qualifiedInsertion : Iri.t
val qualifiedInvalidation : Iri.t

If this Entity prov:wasInvalidatedBy Activity :a, then it can qualify how it was invalidated using prov:qualifiedInvalidation a prov:Invalidation; prov:activity :a; :foo :bar .

val qualifiedPrimarySource : Iri.t

If this Entity prov:hadPrimarySource Entity :e, then it can qualify how using prov:qualifiedPrimarySource a prov:PrimarySource; prov:entity :e; :foo :bar .

val qualifiedQuotation : Iri.t

If this Entity prov:wasQuotedFrom Entity :e, then it can qualify how using prov:qualifiedQuotation a prov:Quotation; prov:entity :e; :foo :bar .

val qualifiedRemoval : Iri.t
val qualifiedRevision : Iri.t

If this Entity prov:wasRevisionOf Entity :e, then it can qualify how it was revised using prov:qualifiedRevision a prov:Revision; prov:entity :e; :foo :bar .

val qualifiedStart : Iri.t

If this Activity prov:wasStartedBy Entity :e1, then it can qualify how it was started using prov:qualifiedStart a prov:Start; prov:entity :e1; :foo :bar .

val qualifiedUsage : Iri.t

If this Activity prov:used Entity :e, then it can qualify how it used it using prov:qualifiedUsage a prov:Usage; prov:entity :e; :foo :bar .

val removedKey : Iri.t
val sharesDefinitionWith : Iri.t
val specializationOf : Iri.t
val startedAtTime : Iri.t

The time at which an activity started. See also prov:endedAtTime.

val todo : Iri.t
val unqualifiedForm : Iri.t

Classes and properties used to qualify relationships are annotated with prov:unqualifiedForm to indicate the property used to assert an unqualified provenance relation.

val used : Iri.t

A prov:Entity that was used by this prov:Activity. For example, :baking prov:used :spoon, :egg, :oven .

val value : Iri.t
val wasAssociatedWith : Iri.t

An prov:Agent that had some (unspecified) responsibility for the occurrence of this prov:Activity.

val wasAttributedTo : Iri.t

Attribution is the ascribing of an entity to an agent.

val wasDerivedFrom : Iri.t

The more specific subproperties of prov:wasDerivedFrom (i.e., prov:wasQuotedFrom, prov:wasRevisionOf, prov:hadPrimarySource) should be used when applicable.

val wasEndedBy : Iri.t

End is when an activity is deemed to have ended. An end may refer to an entity, known as trigger, that terminated the activity.

val wasGeneratedBy : Iri.t
val wasInfluencedBy : Iri.t

Because prov:wasInfluencedBy is a broad relation, its more specific subproperties (e.g. prov:wasInformedBy, prov:actedOnBehalfOf, prov:wasEndedBy, etc.) should be used when applicable.

val wasInformedBy : Iri.t

An activity a2 is dependent on or informed by another activity a1, by way of some unspecified entity that is generated by a1 and used by a2.

val wasInvalidatedBy : Iri.t
val wasQuotedFrom : Iri.t

An entity is derived from an original entity by copying, or 'quoting', some or all of it.

val wasRevisionOf : Iri.t

A revision is a derivation that revises an entity into a revised version.

val wasStartedBy : Iri.t

Start is when an activity is deemed to have started. A start may refer to an entity, known as trigger, that initiated the activity.

module Open : sig ... end
class from : ?sub:Term.term -> Graph.graph -> object ... end