[sc34wg3] TMCL: 4.4.3 AssociationRoleTypeConstraint

Graham Moore gra at networkedplanet.com
Thu Feb 14 06:07:00 EST 2008


>> The TMQL query would be
>>  uniq ( // tm:association >> roles ) -- // tmcl:roleTypes == null
>> All roles which appear in any association must be mentioned in the
>> list, not more.

Not quite, all topics used as role types must be an instance of the
topic tmcl:role-type.

Graham

--------------------------------------------
Graham Moore, Director, Networked Planet Limited
Editor XTM 1.0, ISO13250 (TopicMaps) -2,-3, TMCL
e: graham.moore at networkedplanet.com
w: www.networkedplanet.com
t: +44 1865 811131 
m: +44 7769658611 (UK)
m: +47 45271713   (Norway)

Networked Planet Limited is registered in England and Wales, no. 5273377
 

-----Original Message-----
From: sc34wg3-bounces at isotopicmaps.org
[mailto:sc34wg3-bounces at isotopicmaps.org] On Behalf Of Robert Barta
Sent: 14 February 2008 10:00
To: Discussion of ISO/IEC 13250 Topic Maps
Subject: [sc34wg3] TMCL: 4.4.3 AssociationRoleTypeConstraint

Relative to

   http://kill.devc.at/system/files/tmcl.pdf

The TMQL query would be

  uniq ( // tm:association >> roles ) -- // tmcl:roleTypes == null

All roles which appear in any association must be mentioned in the
list, not more. 

Again, the template uses ? and * for the wildcard.

And the usage example is not really one.

\rho
--
Austrian Research Centers, Environmental Monitoring Systems
http://www.smart-systems.at/rd/rd_environment_en.html

_______________________________________________
sc34wg3 mailing list
sc34wg3 at isotopicmaps.org
http://www.isotopicmaps.org/mailman/listinfo/sc34wg3


More information about the sc34wg3 mailing list