|
|
|
|
|
@base <http: |
|
|
|
|
|
@prefix : <#> . |
|
|
@prefix sp: <http: |
|
|
@prefix owl: <http: |
|
|
@prefix rdf: <http: |
|
|
@prefix xsd: <http: |
|
|
@prefix rdfs: <http: |
|
|
@prefix http: <http: |
|
|
@prefix list: <http: |
|
|
@prefix foaf: <http: |
|
|
|
|
|
<> |
|
|
a owl:Ontology ; |
|
|
rdfs:label "WiLD ontology" ; |
|
|
rdfs:comment "Ontology to describe Workflows in Linked Data" ; |
|
|
foaf:maker <http: |
|
|
rdfs:seeAlso <semantics> . |
|
|
|
|
|
<http: |
|
|
rdfs:label "Tobias Käfer" . |
|
|
|
|
|
################################################################# |
|
|
# |
|
|
# Object Properties |
|
|
# |
|
|
################################################################# |
|
|
|
|
|
|
|
|
:hasHttpRequest |
|
|
a rdf:Property ; |
|
|
rdfs:domain :AtomicActivity ; |
|
|
rdfs:range http:Request . |
|
|
|
|
|
:hasChildActivities |
|
|
a rdf:Property ; |
|
|
rdfs:domain :CompositeActivity ; |
|
|
rdfs:range rdf:List . |
|
|
|
|
|
:hasChildActivity |
|
|
a rdf:Property , list:ListMembershipProperty ; |
|
|
list:accompanying :hasChildActivities ; |
|
|
rdfs:subPropertyOf :hasDescendantActivity ; |
|
|
rdfs:domain :CompositeActivity ; |
|
|
rdfs:range :Activity . |
|
|
|
|
|
:hasAtomicActivity |
|
|
a rdf:Property ; |
|
|
rdfs:domain :CompositeActivity ; |
|
|
rdfs:range :AtomicActivity . |
|
|
|
|
|
:hasBehaviour |
|
|
a rdf:Property ; |
|
|
rdfs:domain :WorkflowModel ; |
|
|
rdfs:range :Activity . |
|
|
|
|
|
#:hasCondition a rdf:Property ; |
|
|
# rdfs:domain :Activity ; |
|
|
# rdfs:range sp:Ask . |
|
|
|
|
|
:hasPostcondition |
|
|
a rdf:Property ; |
|
|
# rdfs:subPropertyOf :hasCondition ; |
|
|
rdfs:domain :Activity ; |
|
|
rdfs:range sp:Ask . |
|
|
|
|
|
:hasPrecondition |
|
|
a rdf:Property ; |
|
|
# rdfs:subPropertyOf :hasCondition ; |
|
|
rdfs:domain :Activity ; |
|
|
rdfs:range sp:Ask . |
|
|
|
|
|
:hasState |
|
|
a rdf:Property ; |
|
|
rdfs:domain :Instance ; |
|
|
rdfs:range :State . |
|
|
|
|
|
:inWorkflowInstance |
|
|
a rdf:Property ; |
|
|
rdfs:domain :ActivityInstance ; |
|
|
rdfs:range :WorkflowInstance . |
|
|
|
|
|
:activityInstanceOf |
|
|
a rdf:Property ; |
|
|
rdfs:domain :ActivityInstance ; |
|
|
rdfs:range :Activity . |
|
|
|
|
|
:workflowInstanceOf |
|
|
a rdf:Property ; |
|
|
rdfs:domain :WorkflowInstance ; |
|
|
rdfs:range :WorkflowModel . |
|
|
|
|
|
# 2022-03-02: Invented for DigiBatMat, where we also have inputs and outputs: |
|
|
:instanceOf |
|
|
a rdf:Property . |
|
|
:workflowInstanceOf rdfs:subPropertyOf :instanceOf . |
|
|
:activityInstanceOf rdfs:subPropertyOf :instanceOf . |
|
|
|
|
|
:hasDescendantActivity |
|
|
a rdf:Property , owl:TransitiveProperty ; |
|
|
rdfs:domain :CompositeActivity ; |
|
|
rdfs:range :Activity . |
|
|
|
|
|
:containsActivity |
|
|
a rdf:Property ; |
|
|
rdfs:domain :WorkflowModel ; |
|
|
rdfs:range :Activity . |
|
|
|
|
|
|
|
|
################################################################# |
|
|
# |
|
|
# Data properties |
|
|
# |
|
|
################################################################# |
|
|
|
|
|
|
|
|
### http: |
|
|
|
|
|
<http: |
|
|
a rdfs:Property ; |
|
|
rdfs:range xsd:dateTime . |
|
|
|
|
|
|
|
|
################################################################# |
|
|
# |
|
|
# Classes |
|
|
# |
|
|
################################################################# |
|
|
|
|
|
|
|
|
### http: |
|
|
|
|
|
sp:Ask |
|
|
a rdfs:Class . |
|
|
|
|
|
rdf:List |
|
|
a rdfs:Class . |
|
|
|
|
|
:ActiveOrInitialisedInstanceState a rdfs:Class ; |
|
|
# rdfs:subClassOf :InstanceState . |
|
|
rdfs:subClassOf :State . |
|
|
|
|
|
:Activity |
|
|
a rdfs:Class . |
|
|
|
|
|
:ActivityInstance |
|
|
a rdfs:Class ; |
|
|
rdfs:subClassOf :Instance . |
|
|
|
|
|
:AtomicActivity |
|
|
a rdfs:Class ; |
|
|
rdfs:subClassOf :Activity ; |
|
|
owl:disjointWith :CompositeActivity . |
|
|
|
|
|
:CompositeActivity |
|
|
a rdfs:Class ; |
|
|
rdfs:subClassOf :Activity . |
|
|
|
|
|
:ConditionalActivity |
|
|
a rdfs:Class ; |
|
|
rdfs:subClassOf :CompositeActivity . |
|
|
|
|
|
:Instance |
|
|
a rdfs:Class . |
|
|
|
|
|
# :InstanceState a rdfs:Class ; |
|
|
# rdfs:subClassOf :State . |
|
|
|
|
|
:ParallelActivity |
|
|
a rdfs:Class ; |
|
|
rdfs:subClassOf :CompositeActivity . |
|
|
|
|
|
:SequentialActivity |
|
|
a rdfs:Class ; |
|
|
rdfs:subClassOf :CompositeActivity . |
|
|
|
|
|
:State |
|
|
a rdfs:Class . |
|
|
|
|
|
:VirtualInstanceState a rdfs:Class ; |
|
|
# rdfs:subClassOf :InstanceState . |
|
|
rdfs:subClassOf :State . |
|
|
|
|
|
:WorkflowInstance |
|
|
a rdfs:Class ; |
|
|
rdfs:subClassOf :Instance . |
|
|
|
|
|
:WorkflowModel |
|
|
a rdfs:Class . |
|
|
|
|
|
http:Request |
|
|
a rdfs:Class . |
|
|
|
|
|
# For documentation purposes: |
|
|
:ConditionalActivity owl:disjointWith :ParallelActivity , :SequentialActivity . |
|
|
:ParallelActivity owl:disjointWith :SequentialActivity . |
|
|
|
|
|
################################################################# |
|
|
# |
|
|
# Individuals |
|
|
# |
|
|
################################################################# |
|
|
|
|
|
:active |
|
|
a :ActiveOrInitialisedInstanceState . |
|
|
|
|
|
:done |
|
|
a :InstanceState . |
|
|
|
|
|
:initialised |
|
|
a :ActiveOrInitialisedInstanceState . |
|
|
|
|
|
:doneFromListItemOne |
|
|
a :VirtualInstanceState . |
|
|
|
|
|
:initialisedFromListItemOne |
|
|
a :VirtualInstanceState . |
|
|
|
|
|
:paused |
|
|
a :InstanceState . |
|
|
|
|
|
:skipped |
|
|
a :InstanceState . |
|
|
|
|
|
:uninitialised |
|
|
a :InstanceState . |
|
|
|
|
|
|