Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Using SWRL to Add to a list

Martin O'Connor martin.oconnor at stanford.edu
Wed Oct 22 03:33:53 PDT 2008


Can you post a non RDF/XML representation of the ontologies. I don't  
understand the question.

Martin

Quoting "Kormann, Joseph" <joseph.kormann at lmco.com>:

> I have a target Ontology, Target, with a Class that has a Key-Value pair
> for internal attributes. I have a more defined Ontology, Fix, with a
> Class with fixed Properties. I want to use SWRL to move (or associate)
> the information in the Properties from Fix to the Attribute class and
> attributes Property in Target.
>
> Any suggestions?
>
> Target Ontology:
> <?xml version="1.0"?>
> <!DOCTYPE rdf:RDF [
>     <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
>     <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
>     <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
>     <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
> ]>
> <rdf:RDF xmlns="http://www.owl-ontologies.com/Ontology1224599798.owl#"
>      xml:base="http://www.owl-ontologies.com/Ontology1224599798.owl"
>      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=""/>
>     <owl:Class rdf:ID="Attribute"/>
>     <owl:ObjectProperty rdf:ID="attributeFor">
>         <rdf:type rdf:resource="&owl;FunctionalProperty"/>
>         <rdfs:domain rdf:resource="#Attribute"/>
>         <rdfs:range rdf:resource="#MasterClass"/>
>         <owl:inverseOf rdf:resource="#attributes"/>
>     </owl:ObjectProperty>
>     <owl:ObjectProperty rdf:ID="attributes">
>         <rdf:type rdf:resource="&owl;InverseFunctionalProperty"/>
>         <rdfs:domain rdf:resource="#MasterClass"/>
>         <rdfs:range rdf:resource="#Attribute"/>
>         <owl:inverseOf rdf:resource="#attributeFor"/>
>     </owl:ObjectProperty>
>     <owl:DatatypeProperty rdf:ID="attrKey">
>         <rdf:type rdf:resource="&owl;FunctionalProperty"/>
>         <rdfs:domain rdf:resource="#Attribute"/>
>         <rdfs:range rdf:resource="&xsd;string"/>
>     </owl:DatatypeProperty>
>     <owl:DatatypeProperty rdf:ID="attrValue">
>         <rdf:type rdf:resource="&owl;FunctionalProperty"/>
>         <rdfs:domain rdf:resource="#Attribute"/>
>         <rdfs:range rdf:resource="&xsd;string"/>
>     </owl:DatatypeProperty>
>     <owl:Class rdf:ID="MasterClass"/>
> </rdf:RDF>
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing:   
> http://protege.stanford.edu/doc/faq.html#01a.03
>





More information about the protege-owl mailing list