Re: [topbraid-users] Re: Working with Arbitrary XML to convert to RDF, also local server

2011-09-09 Thread Gokhan Soydan
Bruce, Again, I am sorry for my delayed reply. Replies below: Hello, I see one problem that I had. I had to open with TopBraid (Semantic XML Documents) instead of just opening with XML Editor. Ok, so I did that. I'm watching the video on youtube.com that has the same title, open

[topbraid-users] Re: summing values using a spin:rule

2011-09-09 Thread Scott Henninger
Alison; I'd suggest writing a SPIN function for this. The function would be a subclass of spin:Functions, let's call it :mySum. It would define one argument (spin:constraint). Let's call that ?arg1 for now. The body of the query would be: SELECT (SUM(?value) AS ?return) WHERE { ?arg1 example:

[topbraid-users] summing values using a spin:rule

2011-09-09 Thread Alison Callahan
Hello all, I would like to write a spin:rule that sums integers connected with a resource and then connects the sum to the resource. For example, if a resource exists such that example:resource example:has_part "1"^^xsd:integer example:resource example:has_part "2"^^xsd:integer Is it possible to

[topbraid-users] Re: Error on valorization of enumerated datatype property in TB 3.5

2011-09-09 Thread Scott Henninger
Well, there's no need to wait. The method I suggested has precisely the same semantics as you method of defining the enumerated datatype in the rdfs:range property. In fact, of you look at the source, it will define an owl:oneOf. It is exactly the same solution. The **only** difference is that

[topbraid-users] Re: Error on valorization of enumerated datatype property in TB 3.5

2011-09-09 Thread Busa
ok I'll wait for the 3.6. Thanx again! -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to topbraid-users@g

[topbraid-users] Re: flushing inferencing results

2011-09-09 Thread Scott Henninger
Alison; Ah, didn't realize you were using INSERT. This also explains your infinite loop. See below. First. let's be clear that SPIN is build on SPARQL, including SPARQL 1.1 as it stands today. DELETE is a SPARQL 1.1 Update operation. For more on SPARQL Update syntax, please see http://www.w3.o

[topbraid-users] Re: Error on valorization of enumerated datatype property in TB 3.5

2011-09-09 Thread Scott Henninger
Busa/Matteo; As stated before, this is a known defect that has been fixed for our next release to TopBraid suite. We plan to have a beta version of 3.6 soon and release 3.6 in a couple of months. In the meantime, you can get the same effect by naming your enumerated datatype. This has an advanta

[topbraid-users] Re: Explore/import this namespace

2011-09-09 Thread Scott Henninger
Specifically, if I click on the link in your post on theGoogle forum Web page, I always get a "Error: the free servers are currently overloaded with requests." message. -- Scott On Sep 9, 9:27 am, Scott Henninger wrote: > Hello Paul; What exactly are you doing when you say "Asking then to > expl

[topbraid-users] Re: Explore/import this namespace

2011-09-09 Thread Scott Henninger
Hello Paul; What exactly are you doing when you say "Asking then to explore/import this namespace." Asking what? How? Somewhere in TopBraid Composer or TopBraid Live I expect? When I try that address, I get a "server too busy" error about half of the time. -- Scott On Sep 9, 7:55 am, PaulZH wr

Re: [topbraid-users] Re: flushing inferencing results

2011-09-09 Thread Alison Callahan
Thanks, Scott. I was indeed using an INSERT statement in a spin:rule ... this leads me to another question: Is there an equivalent to a SPARQL DELETE which would remove a triple from an inferred graph? (I realize that I can use CONSTRUCT instead of INSERT, but I don't know if there is a similar alt

[topbraid-users] Explore/import this namespace

2011-09-09 Thread PaulZH
Having in the form interface as value. Asking then to explore/import this namespace. Operation failed. Reason: java.io.IOException: Failed to load: http://sws.geonames.org/1726705/ at org.topbraid.core.registry.URLGraphSource.openInputStream(URLGraphSou