Author: lgiessmann Date: Tue Nov 24 10:56:09 2009 New Revision: 149
Log: added an xtm2.0-reification test file
Added: trunk/src/unit_tests/reification_xtm2.0.xtm (contents, props changed) Modified: trunk/src/isidorus.asd
Modified: trunk/src/isidorus.asd ============================================================================== --- trunk/src/isidorus.asd (original) +++ trunk/src/isidorus.asd Tue Nov 24 10:56:09 2009 @@ -112,6 +112,7 @@ (:static-file "poems_light.xtm") (:static-file "full_mapping.rdf") (:static-file "reification_xtm1.0.xtm") + (:static-file "reification_xtm2.0.xtm") (:file "atom-conf") (:file "unittests-constants" :depends-on ("dangling_topicref.xtm"
Added: trunk/src/unit_tests/reification_xtm2.0.xtm ============================================================================== --- (empty file) +++ trunk/src/unit_tests/reification_xtm2.0.xtm Tue Nov 24 10:56:09 2009 @@ -0,0 +1,94 @@ +<?xml version="1.0"?> +<!-- ======================================================================= --> +<!-- Isidorus --> +<!-- (c) 2008-2009 Marc Kuester, Christoph Ludwig, Lukas Giessmann --> +<!-- --> +<!-- Isidorus is freely distributable under the LGPL license. --> +<!-- You can find a detailed description in trunk/docs/LGPL-LICENSE.txt. --> +<!-- ======================================================================= --> + +<tm:topicMap xmlns:tm="http://www.topicmaps.org/xtm/" version="2.0"> + <tm:topic id="homer"> + <tm:subjectIdentifier href="http://simpsons.tv/homer%22/%3E + <tm:name reifier="http://simpsons.tv/homer-name%22%3E + tm:valueHomer Simpson</tm:value> + <tm:variant reifier="http://simpsons.tv/homer-name-variant%22%3E + tm:scope<tm:topicRef href="#fullName"/></tm:scope> + tm:resourceDataHomer Jay Simpson</tm:resourceData> + </tm:variant> + </tm:name> + <tm:occurrence reifier="http://simpsons.tv/homer-occurrence%22%3E + tm:type<tm:topicRef href="#profession"/></tm:type> + tm:resourceDataSafety Inspector</tm:resourceData> + </tm:occurrence> + </tm:topic> + + <tm:topic id="marge"> + <tm:subjectIdentifier href="http://simpsons.tv/marge%22/%3E + tm:name + tm:valueMarge Simpson</tm:value> + tm:variant + tm:scope<tm:topicRef href="#fullName"/></tm:scope> + tm:resourceDataMarjorie Simpson</tm:resourceData> + </tm:variant> + </tm:name> + tm:occurrence + tm:type<tm:topicRef href="#profession"/></tm:type> + tm:resourceDataHousewife</tm:resourceData> + </tm:occurrence> + </tm:topic> + + <tm:topic id="fullName"> + <tm:subjectIdentiifer href="http://simpsons.tv/fullName%22/%3E + </tm:topic> + + <tm:topic id="profession"> + <tm:subjectIdentiifer href="http://simpsons.tv/profession%22/%3E + </tm:topic> + + <tm:topic id="married"> + <tm:subjectIdentiifer href="http://simpsons.tv/married%22/%3E + </tm:topic> + + <tm:topic id="husband"> + <tm:subjectIdentiifer href="http://simpsons.tv/husband%22/%3E + </tm:topic> + + <tm:topic id="wife"> + <tm:subjectIdentiifer href="http://simpsons.tv/wife%22/%3E + </tm:topic> + + <tm:association reifier="http://simpsons.tv/married-association%22%3E + tm:type<tm:topicRef href="#married"/></tm:type> + <tm:role reifier="http://simpsons.tv/married-husband-role%22%3E + tm:type<tm:topicRef href="#husband"/></tm:type> + <tm:topicRef href="#homer"/> + </tm:role> + tm:role + tm:type<tm:topicRef href="#wife"/></tm:type> + <tm:topicRef href="#marge"/> + </tm:role> + </tm:association> + + + <!-- === reifier-topics ================================================== --> + <tm:topic id="homer-name-reifier"> + <tm:itemIdentity href="http://simpsons.tv/homer-name%22/%3E + </tm:topic> + + <tm:topic id="homer-name-variant-reifier"> + <tm:itemIdentity href="http://simpsons.tv/homer-name-variant%22/%3E + </tm:topic> + + <tm:topic id="homer-occurrence-reifier"> + <tm:itemIdentity href="http://simpsons.tv/homer-occurrence%22/%3E + </tm:topic> + + <tm:topic id="married-reifier"> + <tm:itemIdentity href="http://simpsons.tv/married-association%22/%3E + </tm:topic> + + <tm:topic id="married-husband-reifier"> + <tm:itemIdentity href="http://simpsons.tv/married-husband-role%22/%3E + </tm:topic> +</tm:topicMap>