Yes, have a look at list:member as described here:
http://jena.sourceforge.net/ARQ/extension.html#propertyFunctions
You will need to add the prefix for the list namespace to make those queries
readable.
Regards,
Holger
On Jan 19, 2010, at 4:34 AM, Bohms, H.M. (Michel) wrote:
> Anyone an idea how to modify:
>
> CONSTRUCT {
>
> ?parentClass product:child ?childClass .
>
> }
>
> WHERE {
>
> ?parentClass rdfs:subClassOf ?restriction .
>
> ?restriction owl:allValuesFrom ?unionclass .
>
> ?restriction owl:onProperty product:hasPart_directly .
>
> ?unionclass rdf:type owl:Class .
>
> ?unionclass owl:unionOf ?unionset .
>
> ?unionset rdf:first ?childClass
>
> }
>
> so that I get also all second, third ,.... any part; now I get obviously only
> the first one ...
> in other words is there some smart shortcut to say ?x isanelement in
> first/rest/firstrestetc.
>
> thx a lot, Michel
>
> ps
> Holger, this is has to become a modified version of your earlier proposed
> child-derivation based on hasPart cardinality constraints. In case there is
> no min or max constraint info is missed and since I also always define a
> closure via all potential parts (including those having no min/or max card
> constraint) I'dd rather use this closure as source of information.
>
>
>
> TNO.NL
>
> Michel Böhms
> Consultant Building Innovation
>
> TNO Built Environment and Geosciences
> Van Mourik Broekmanweg 6 | PO Box 49
> 2600 AA | Delft | The Netherlands
>
>
> Tel +31 15 2763107
> E-mail [email protected]
> Web http://www.linkedin.com/in/michelbohms
> Skype name michelbohms
>
>
> Disclaimer
>
>
>
>
>
>
>
>
> This e-mail and its contents are subject to the DISCLAIMER at
> http://www.tno.nl/disclaimer/email.html
> --
> You received this message because you are subscribed to the Google Groups
> "TopBraid Composer Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/topbraid-composer-users?hl=en.
-- You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/topbraid-composer-users?hl=en.
