- From: <jos.deroo@agfa.com>
- Date: Tue, 23 Aug 2005 22:57:04 +0200
- To: hans.teijgeler@quicknet.nl
- Cc: semantic-web@w3.org, semantic-web-request@w3.org, "Christiansen Thore" <tore.r.christiansen@dnv.com>
for your second example, I guess you mean @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix : <http://www.tc184-sc4.org/iso15926/part2/2003-12#> . :Phase owl:intersectionOf ( :ClassOfActivity :ClassOfFeature :ClassOfInformationObject :ClassOfOrganization [ owl:unionOf ( :ClassOfInanimatePhysicalObject :ClassOfOrganism ) ] [ owl:unionOf ( :ClassOfAtom :ClassOfBiologicalMatter :ClassOfCompound :ClassOfCompositeMaterial :ClassOfFunctionalObject :ClassOfInformationPresentation :ClassOfInformationRepresentation :ClassOfMolecule :ClassOfParticulateMaterial :ClassOfSubAtomicParticle :CrystallineStructure ) ] ). which I believe is OWL Full For the RDF/XML encoding, one safe way is to use rdf:first and rdf:rest properties <rdf:RDF xmlns="http://www.w3.org/2002/07/owl#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="http://www.tc184-sc4.org/iso15926/part2/2003-12#Phase"> <intersectionOf rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfActivity"/> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfFeature"/> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfInformationObject"/> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfOrganization"/> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:parseType="Resource"> <unionOf rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfInanimatePhysicalObject"/> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfOrganism"/> <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> </rdf:rest> </unionOf> </rdf:first> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:parseType="Resource"> <unionOf rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfAtom"/> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfBiologicalMatter"/> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfCompound"/> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfCompositeMaterial"/> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfFunctionalObject"/> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfInformationPresentation"/> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfInformationRepresentation"/> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfMolecule"/> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfParticulateMaterial"/> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#ClassOfSubAtomicParticle"/> <rdf:rest rdf:parseType="Resource"> <rdf:first rdf:resource="http://www.tc184-sc4.org/iso15926/part2/2003-12#CrystallineStructure"/> <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> </rdf:rest> </rdf:rest> </rdf:rest> </rdf:rest> </rdf:rest> </rdf:rest> </rdf:rest> </rdf:rest> </rdf:rest> </rdf:rest> </unionOf> </rdf:first> <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> </rdf:rest> </rdf:rest> </rdf:rest> </rdf:rest> </rdf:rest> </intersectionOf> </rdf:Description> </rdf:RDF> -- Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/ "Hans Teijgeler" <hans.teijgeler@quicknet.nl> Sent by: semantic-web-request@w3.org 23/08/2005 22:06 To: <semantic-web@w3.org> cc: "Christiansen Thore" <tore.r.christiansen@dnv.com>, (bcc: Jos De_Roo/AMDUS/MOR/Agfa-NV/BE/BAYER) Subject: Nesting of intersectionOf and unionOf Hi, I need your help on a syntactical problem (if it is one at all). In mapping the data model of ISO 15926-2 to OWL I stumbled over a situation that I had to solve with a nesting of a unionOf inside an intersectionOf, and I would like to know whether or not that is allowed. If not, what is the solution? An example is: <owl:intersectionOf rdf:parseType="Collection"> <owl:Class rdf:about="#ParticipatingRoleAndDomain"/> <owl:unionOf rdf:parseType="Collection"> <owl:Class rdf:about="#ClassOfArrangedIndividual"/> <owl:Class rdf:about="#ClassOfEvent"/> <owl:Class rdf:about="#ClassOfPeriodInTime"/> <owl:Class rdf:about="#IndividualDimension"/> <owl:Class rdf:about="#Property"/> <owl:Class rdf:about="#Status"/> </owl:unionOf> </owl:intersectionOf> and another, even more complex: <owl:intersectionOf rdf:parseType="Collection"> <owl:Class rdf:about="#ClassOfActivity"/> <owl:Class rdf:about="#ClassOfFeature"/> <owl:Class rdf:about="#ClassOfInformationObject"/> <owl:Class rdf:about="#ClassOfOrganization"/> <owl:unionOf rdf:parseType="Collection"> <owl:Class rdf:about="#ClassOfInanimatePhysicalObject"/> <owl:Class rdf:about="#ClassOfOrganism"/> </owl:unionOf> <owl:unionOf rdf:parseType="Collection"> <owl:Class rdf:about="#ClassOfAtom"/> <owl:Class rdf:about="#ClassOfBiologicalMatter"/> <owl:Class rdf:about="#ClassOfCompound"/> <owl:Class rdf:about="#ClassOfCompositeMaterial"/> <owl:Class rdf:about="#ClassOfFunctionalObject"/> <owl:Class rdf:about="#ClassOfInformationPresentation"/> <owl:Class rdf:about="#ClassOfInformationRepresentation"/> <owl:Class rdf:about="#ClassOfMolecule"/> <owl:Class rdf:about="#ClassOfParticulateMaterial"/> <owl:Class rdf:about="#ClassOfSubAtomicParticle"/> <owl:Class rdf:about="#CrystallineStructure"/> <owl:Class rdf:about="#Phase"/> </owl:unionOf> </owl:intersectionOf> Please don't bother with the details, I only need confirmation that this is legal OWL Full. Can you help? Kind regards, Hans _______________________ Hans Teijgeler ISO 15926 specialist www.InfowebML.ws hans.teijgeler@quicknet.nl phone +31-72-509 2005
Received on Tuesday, 23 August 2005 20:57:27 UTC