| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| |
| @base <http://ns.taverna.org.uk/2010/taverna/2.2/> . |
| @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| @prefix dc: <http://purl.org/dc/elements/1.1/> . |
| @prefix dcterms: <http://purl.org/dc/terms/> . |
| @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| @prefix ro: <http://ns.mygrid.org.uk/2010/ResearchObject/> . |
| @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| @prefix scufl2: <http://ns.taverna.org.uk/2010/scufl2#> . |
| @prefix : <http://ns.taverna.org.uk/2010/taverna/2.2/> . |
| |
| |
| <> |
| a owl:Ontology ; |
| dc:title "Taverna ontology" ; |
| owl:imports <http://ns.taverna.org.uk/2010/taverna/2.2/>; |
| |
| rdfs:comment """The ontology describing SCUFL2 components used by Taverna 2.2""" ; |
| rdfs:seeAlso |
| <http://www.mygrid.org.uk/dev/wiki/display/developer/SCUFL2>, |
| <http://www.taverna.org.uk/> . |
| |
| |
| |
| # Default dispatch stack layers |
| |
| :Parallelise |
| a owl:Class ; |
| rdfs:subClassOf scufl2:DispatchStackLayer . |
| |
| :ErrorBounce |
| a owl:Class ; |
| rdfs:subClassOf scufl2:DispatchStackLayer . |
| |
| :Failover |
| a owl:Class ; |
| rdfs:subClassOf scufl2:DispatchStackLayer . |
| |
| :Retry |
| a owl:Class ; |
| rdfs:subClassOf scufl2:DispatchStackLayer . |
| |
| :Stop |
| a owl:Class ; |
| rdfs:subClassOf scufl2:DispatchStackLayer . |
| |
| :Invoke |
| a owl:Class ; |
| rdfs:subClassOf scufl2:DispatchStackLayer . |
| |
| # Optional layers |
| |
| :Loop |
| a owl:Class ; |
| rdfs:subClassOf scufl2:DispatchStackLayer . |
| |
| |
| :DefaultDispatchStack |
| a owl:Class ; |
| rdfs:comment """The default Taverna dispatch stack of Parallelise, |
| ErrorBounce, Failover, Retry, Stop and Invoke."""; |
| rdfs:subClassOf scufl2:DispatchStack, [ |
| a owl:Restriction; |
| owl:someValuesFrom :Parallelise; |
| owl:onProperty rdf:first |
| ], [ |
| a owl:Restriction; |
| owl:onProperty rdf:rest; |
| owl:someValuesFrom [ |
| a owl:Restriction; |
| owl:onProperty rdf:first; |
| owl:someValuesFrom :ErrorBounce |
| ## TODO: And so on.. Is this even correct syntax? |
| ], [ |
| a owl:Restriction; |
| owl:onProperty rdf:rest; |
| owl:someValuesFrom [ |
| a owl:Restriction; |
| owl:onProperty rdf:first; |
| owl:someValuesFrom :Failover |
| ], [ |
| a owl:Restriction; |
| owl:onProperty rdf:rest; |
| owl:someValuesFrom [ |
| a owl:Restriction; |
| owl:onProperty rdf:first; |
| owl:someValuesFrom :Retry |
| ], [ |
| a owl:Restriction; |
| owl:onProperty rdf:rest; |
| owl:someValuesFrom [ |
| a owl:Restriction; |
| owl:onProperty rdf:first; |
| owl:someValuesFrom :Stop |
| ], [ |
| a owl:Restriction; |
| owl:onProperty rdf:rest; |
| owl:someValuesFrom [ |
| a owl:Restriction; |
| owl:onProperty rdf:first; |
| owl:someValuesFrom :Invoke |
| ], [ |
| a owl:Restriction; |
| owl:onProperty rdf:rest; |
| owl:hasValue rdf:nil; |
| ] |
| ] |
| ] |
| ] |
| ] |
| ]. |
| |
| |
| |
| # Common activity properties |
| |
| |
| :ActivityConfiguration |
| a owl:Class ; |
| rdfs:subClassOf scufl2:Configuration, [ |
| a owl:Restriction; |
| owl:onProperty scufl2:configures; |
| owl:allValuesFrom scufl2:Activitity |
| ] . |
| |
| :script |
| a owl:DatatypeProperty ; |
| rdfs:domain :ActivityConfiguration; |
| rdfs:label "script" ; |
| rdfs:range xsd:string . |
| |
| |
| |
| |
| |
| |
| |
| |