blob: 1e4c0ef7270e58d9a0bbe5c372103fd319eaf563 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
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.
-->
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:skos="http://www.w3.org/2008/05/skos#"
>
<!-- Ontology -->
<owl:Ontology rdf:about="http://clerezza.org/2009/07/script#">
<owl:versionInfo>Revision: 0.1</owl:versionInfo>
<dc:title xml:lang="en">
Clerezza Script Ontology
</dc:title>
</owl:Ontology>
<!-- Classes -->
<rdfs:Class rdf:about="http://clerezza.org/2009/07/script#Script">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
<rdfs:label xml:lang="en">Script</rdfs:label>
<skos:definition xml:lang="en">
A resource that can be executed as a script.
</skos:definition>
<rdfs:isDefinedBy rdf:resource="http://clerezza.org/2009/07/script#" />
</rdfs:Class>
<rdfs:Class rdf:about="http://clerezza.org/2009/07/script#ScriptGeneratedResource">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
<rdfs:label xml:lang="en">ScriptGeneratedResource</rdfs:label>
<skos:definition xml:lang="en">
A resource that is generated by a script.
</skos:definition>
<rdfs:isDefinedBy rdf:resource="http://clerezza.org/2009/07/script#" />
</rdfs:Class>
<!-- Properties -->
<rdf:Property rdf:about="http://clerezza.org/2009/07/script#scriptSource">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty" />
<rdfs:label xml:lang="en">scriptSource</rdfs:label>
<skos:definition xml:lang="en">
Points to the script resource that is used to generate this resource.
</skos:definition>
<rdfs:isDefinedBy rdf:resource="http://clerezza.org/2009/07/script#" />
<rdfs:domain rdf:resource="http://clerezza.org/2009/07/script#ScriptGeneratedResource" />
<rdfs:range rdf:resource="http://clerezza.org/2009/07/script#Script"/>
</rdf:Property>
<rdf:Property rdf:about="http://clerezza.org/2009/07/script#scriptLanguage">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty" />
<rdfs:label xml:lang="en">scriptLanguage</rdfs:label>
<skos:definition xml:lang="en">
Points to the name of the scripting language the resource is written in.
</skos:definition>
<rdfs:isDefinedBy rdf:resource="http://clerezza.org/2009/07/script#" />
<rdfs:domain rdf:resource="http://clerezza.org/2009/07/script#Script" />
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</rdf:Property>
<rdf:Property rdf:about="http://clerezza.org/2009/07/script#scriptLanguageVersion">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty" />
<rdfs:label xml:lang="en">scriptLanguageVersion</rdfs:label>
<skos:definition xml:lang="en">
Points to the version of the scripting language the resource is written in.
</skos:definition>
<rdfs:isDefinedBy rdf:resource="http://clerezza.org/2009/07/script#" />
<rdfs:domain rdf:resource="http://clerezza.org/2009/07/script#Script" />
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</rdf:Property>
<rdf:Property rdf:about="http://clerezza.org/2009/07/script#producedType">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty" />
<rdfs:label xml:lang="en">producedType</rdfs:label>
<skos:definition xml:lang="en">Points to media type the resource produces.</skos:definition>
<rdfs:isDefinedBy rdf:resource="http://clerezza.org/2009/07/script#" />
<rdfs:domain rdf:resource="http://clerezza.org/2009/07/script#Script" />
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
<rdfs:subPropertyOf rdf:resource="http://discobits.org/ontology#mediaType"/>
</rdf:Property>
</rdf:RDF>