[tbc-users] child derivation advanced

2010-01-20 Thread Michel Bohms
Hi Holger, Your solution for 'child' derivation worked perfect: PREFIX bim: http://www.bimtoolset.org/ontologies/IntUBE-EnergyBIM.owl# PREFIX product: http://www.bimtoolset.org/ontologies/pmo-lite.owl# PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema# PREFIX owl: http://www.w3.org/2002/07/owl#

Re: [tbc-users] child derivation advanced

2010-01-20 Thread Holger Knublauch
Try ?whole rdfs:subClassOf* ?restriction The star operator will walk up the superclass hierarchy, transitively. Cheers, Holger On Jan 20, 2010, at 1:38 AM, Michel Bohms wrote: Hi Holger, Your solution for 'child' derivation worked perfect: PREFIX bim:

[tbc-users] need to determine order of xml attributes after creating semantic xml.

2010-01-20 Thread Helm, P.W. (Pim) van den
I have an gbXML file that I opened as semantic xml via topbraid composer and stored as OWL (so I call this the owl result). Within gbXML cartesianpoints are descibed as: CartesianPoint Coordinate480.0/Coordinate Coordinate1320.0/Coordinate Coordinate0.0/Coordinate /CartesianPoint

[tbc-users] Re: Hierarchical Aggregation using SPIN - Question

2010-01-20 Thread Scott Henninger
Arthur; I've done some preliminary investigation on this. Generally the approach should work as stated, so the devil may be in the details of your query chain. In particular make sure that the OR:clusterPerforatedArea generated in query 2 is available to the right resource being accessed in

[tbc-users] Re: need to determine order of xml attributes after creating semantic xml.

2010-01-20 Thread Scott Henninger
Pim; Yes, element ordering is build into Semantic XML through composite:index. See Help Import and Export Creating, Importing, Querying, Saving XML documents with Semantic XML -- Scott On Jan 20, 11:25 am, Helm, P.W. (Pim) van den pim.vandenh...@tno.nl wrote: I have an gbXML file that I

[tbc-users] simple string replace

2010-01-20 Thread AndrewB
i'm trying to remove multiple periods from a string. Why doesn't this work? smf:regex(?String, ., ) Thanks, -Andrew -- You received this message because you are subscribed to the Google Groups TopBraid Composer Users group. To post to this group, send email to

[tbc-users] Re: simple string replace

2010-01-20 Thread Scott Henninger
Andrew, the '.' matches anything, so your expression will replace all characters with (try z instead for fun). So you need to escape the '.' as in: SELECT * WHERE { LET (?String := Something with... ellipses...) LET (?x := smf:regex(?String, \\., )) } smf:regex uses the XQuery

[tbc-users] Re: simple string replace

2010-01-20 Thread AndrewB
HAHA Thankyou :) On Jan 20, 4:14 pm, Scott Henninger shennin...@topquadrant.com wrote: Andrew, the '.' matches anything, so your expression will replace all characters with (try z instead for fun). So you need to escape the '.' as in:   SELECT *   WHERE   {  LET (?String := Something

[tbc-users] Re: simple string replace

2010-01-20 Thread AndrewB
HAHA Thankyou :) On Jan 20, 4:14 pm, Scott Henninger shennin...@topquadrant.com wrote: Andrew, the '.' matches anything, so your expression will replace all characters with (try z instead for fun). So you need to escape the '.' as in:   SELECT *   WHERE   {  LET (?String := Something