Re: p7tpl file generation
Posted: Thu Dec 06, 2012 2:43 pm
**deleted, see reply further on***
Code: Select all
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE rdf:RDF [
<!ENTITY owl "http://www.w3.org/2002/07/owl#" >
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
<!ENTITY owl2xml "http://www.w3.org/2006/12/owl2-xml#" >
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
<!ENTITY p7tm "http://standards.iso.org/iso/15926/tm#" >
<!ENTITY p7tpl "http://standards.iso.org/iso/15926/tpl#" >
<!ENTITY dm "http://standards.iso.org/iso/15926/dm#" >
<!ENTITY meta "http://standards.iso.org/iso/15926/meta#" >
<!ENTITY rdl "http://rdl.example.org/sampleReferenceData#" >
]>
<rdf:RDF xmlns="http://15926.org/templates-test/templates#"
xml:base="http://15926.org/templates-test/templates"
xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#"
xmlns:rdl="http://rdl.example.org/sampleReferenceData##"
xmlns:p7tm="http://standards.iso.org/iso/15926/tm#"
xmlns:p7tpl="http://standards.iso.org/iso/15926/tpl#"
xmlns:dm="http://standards.iso.org/iso/15926/dm#"
xmlns:meta="http://standards.iso.org/iso/15926/meta#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#">
<owl:Ontology rdf:about="">
<rdfs:comment
>This ontology provides signatures for ISO 15926-7 templates, as developed from http://15926.org Program version 20121205 by O.Paap
</rdfs:comment>
</owl:Ontology>
<owl:ObjectProperty rdf:about="hasUrClass"/>
<owl:ObjectProperty rdf:about="hasIdentified"/>
<owl:DatatypeProperty rdf:about="valIdentifier"/>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// IdentificationOfClass
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<owl:Class rdf:ID="IdentificationOfClass">
<rdfs:label>IdentificationOfClass</rdfs:label>
<rdfs:subClassOf rdf:resource="&p7tm;BaseTemplateStatement"/>
<owl:versionInfo></owl:versionInfo>
<owl:priorVersion></owl:priorVersion>
<rdfs:subClassOf>
<owl:Class>
<owl:intersectionOf rdf:parseType="Collection">
<owl:Restriction>
<owl:onProperty rdf:resource="hasUrClass"/>
<owl:allValuesFrom rdf:resource="&dm;Class"/>
</owl:Restriction>
<owl:Restriction>
<owl:onProperty rdf:resource="hasUrClass"/>
<owl:onClass rdf:resource="&dm;Class"/>
<owl:qualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:qualifiedCardinality>
</owl:Restriction>
</owl:intersectionOf>
</owl:Class>
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Class>
<owl:intersectionOf rdf:parseType="Collection">
<owl:Restriction>
<owl:onProperty rdf:resource="hasIdentified"/>
<owl:allValuesFrom rdf:resource="&dm;Class"/>
</owl:Restriction>
<owl:Restriction>
<owl:onProperty rdf:resource="hasIdentified"/>
<owl:onClass rdf:resource="&dm;Class"/>
<owl:qualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:qualifiedCardinality>
</owl:Restriction>
</owl:intersectionOf>
</owl:Class>
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Class>
<owl:intersectionOf rdf:parseType="Collection">
<owl:Restriction>
<owl:onProperty rdf:resource="valIdentifier"/>
<owl:allValuesFrom rdf:resource="&xsd;string"/>
</owl:Restriction>
<owl:Restriction>
<owl:onProperty rdf:resource="valIdentifier"/>
<owl:onClass rdf:resource="&xsd;string"/>
<owl:qualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:qualifiedCardinality>
</owl:Restriction>
</owl:intersectionOf>
</owl:Class>
</rdfs:subClassOf>
</owl:Class>
<owl:Thing rdf:ID="TemplateDescription_of_IdentificationOfClass">
<rdf:type rdf:resource="&p7tm;TemplateDescription"/>
<rdfs:label>TemplateDescription_of_IdentificationOfClass</rdfs:label>
<p7tm:valNumberOfRoles rdf:datatype="&xsd;integer">3</p7tm:valNumberOfRoles>
<p7tm:hasTemplate rdf:resource="#IdentificationOfClass"/>
<p7tpl:valFOLCode>
<script>
<![CDATA[
IdentificationOfClass(x1, x2, x3) <->
Class(x1) &
Class(x2) &
ExpressString(x3) &
SpecializationTemplate(x2, x1) &
ClassOfIdentificationTemplate(x3, x2) .
]]>
</script>
</p7tpl:valFOLCode>
</owl:Thing>
<owl:Thing rdf:ID="TemplateRoleDescription_of_IdentificationOfClass_1">
<rdf:type rdf:resource="&p7tm;TemplateRoleDescription"/>
<rdfs:label>(1) hasUrClass </rdfs:label>
<p7tm:valRoleIndex rdf:datatype="&xsd;integer">1</p7tm:valRoleIndex>
<p7tm:hasRole rdf:resource="#hasUrClass"/>
<p7tm:hasRoleFillerType rdf:resource="&dm;Class"/>
<p7tm:hasTemplate rdf:resource="#IdentificationOfClass"/>
</owl:Thing>
<owl:Thing rdf:ID="TemplateRoleDescription_of_IdentificationOfClass_2">
<rdf:type rdf:resource="&p7tm;TemplateRoleDescription"/>
<rdfs:label>(2) hasIdentified ID to be generated automatically</rdfs:label>
<p7tm:valRoleIndex rdf:datatype="&xsd;integer">2</p7tm:valRoleIndex>
<p7tm:hasRole rdf:resource="#hasIdentified"/>
<p7tm:hasRoleFillerType rdf:resource="&dm;Class"/>
<p7tm:hasTemplate rdf:resource="#IdentificationOfClass"/>
</owl:Thing>
<owl:Thing rdf:ID="TemplateRoleDescription_of_IdentificationOfClass_3">
<rdf:type rdf:resource="&p7tm;TemplateRoleDescription"/>
<rdfs:label>(3) valIdentifier </rdfs:label>
<p7tm:valRoleIndex rdf:datatype="&xsd;integer">3</p7tm:valRoleIndex>
<p7tm:hasRole rdf:resource="#valIdentifier"/>
<p7tm:hasRoleFillerType rdf:resource="&xsd;string"/>
<p7tm:hasTemplate rdf:resource="#IdentificationOfClass"/>
</owl:Thing>
</rdf:RDF>
OLD LINKS - absolete wrote: If you want to download owl files of an older format I have kept those programs available.
Try http://15926.org/15926_template_specs.org4.php?mode=owl http://15926.org/15926_template_specs.org3.php?mode=owl http://15926.org/15926_template_specs.org2.php?mode=owl http://15926.org/15926_template_specs.org1.php?mode=owl