Scott, Yes, that is what I am trying to do but the SPARQL query never finshes executing.
On Sep 22, 4:43 pm, Scott Henninger <[email protected]> wrote: > OK, so forget about inferencing. SPARQL queries are independent of > inferencing, and is not necessary for this example > > If you reproduce exactly the exact graph shown in the Help file, > including the :gender link between :AlinaMojica and :female, I get > the query: SELECT ?person1 ?person3 ?person33 ?person31 ?person35 ?person4 ? person32 ?person15 ?person29 ?person26 ?person14 ?person24 ?person30 ? person5 ?person16 ?person25 ?person11 ?person19 ?person28 ?person13 ? person2 ?matriarch ?person ?person17 ?person8 ?person12 ?person9 ? person34 ?person18 ?person10 ?person22 ?person7 ?person23 ?person21 ? person27 ?person6 ?person20 WHERE { ?person1 :gender :female . ?person3 :gender :female . ?person33 :gender :female . ?person31 :gender :female . ?person35 :gender :female . ?person4 :gender :female . ?person32 :gender :female . ?person15 :gender :female . ?person29 :gender :female . ?person26 :gender :female . ?person14 :gender :female . ?person24 :gender :female . ?person30 :gender :female . ?person5 :gender :female . ?person16 :gender :female . ?person25 :gender :female . ?person11 :gender :female . ?person19 :gender :female . ?person28 :gender :female . ?person13 :gender :female . ?person2 :gender :female . ?matriarch :gender :female . ?person :gender :female . ?person17 :gender :female . ?person8 :gender :female . ?person12 :gender :female . ?person9 :gender :female . ?person34 :gender :female . ?person18 :gender :female . ?person10 :gender :female . ?person22 :gender :female . ?person7 :gender :female . ?person23 :gender :female . ?person21 :gender :female . ?person27 :gender :female . ?person6 :gender :female . ?person20 :gender :female . ?person4 :birthYear 1965 . }Your thoughts on what is going on? I only had a checkbox on Female and brith year 1965 for Jeannie Ripp > > SELECT ?person > WHERE { > ?person kennedys:gender kennedys:female . > ?person kennedys:birthYear 1965 . > > } > > Running this gets all matches with the properties :birthYear = 1965 > and :gender = female. (Clicking twice on "Generate SPARQL Query from > current Graph" - the orange star **in the Graph View** - will generate > and execute the query.) > > -- Scott > > On Sep 22, 1:59 pm, bradleys <[email protected]> wrote: > > > > > OK TB is version 3.1.1. > > I am creating a SPARQL Queries by Example from you TopBraid Composer > > > How To? files. I am in the Graph Panel and as per the Kennedy example, > > I select the instance of female and check it, the click on the left > > side arro to get "has gender" to appear with a list of all the > > femails. I go to Alina Mojica and check 1965. Then I click twice the > > SPARQL button on the Graphs tool bar. When this didn't work. I added > > TopSpin to my File Settings Inferences Configuration as an expereiment > > thinking that perhaps my Inferencing hasd to be inline with my SPARQL > > query. No lunk running a query. I tried for the mailes, an no luck. > > Went back to the females and configured TOPSPIN inferecnign for > > Workspace settings. No luck with my query. > > > I just removed TopSpin from my Inferences configuration for File and > > Workspaces and re-ran the SAPRQL query on the Graph panel toolbar. No > > luck after 5 minutes. > > > I can go to a Centra netmeeting session here if you have time to > > troubleshoot:http://142.166.163.54/main/User/GuestAttend.jhtml?s_guid=0000009b777a... > > > On Sep 22, 3:37 pm, Scott Henninger <[email protected]> > > wrote: > > > > Bradley; There seem to be a number of things going on here. First is > > > that the version you gave is the Eclipse version. To find the > > > Composer version, go to Help > Software Update > Installed Software. > > > > I'm not sure what example you refer to. By "SPARQL graphical query", > > > I assume you mean a SPARQL query on a graph structure? There is also > > > a way to create queries from the Graph view, so this can cause > > > confusion. > > > > SPARQL queries can be executed independent of whether inference is > > > turned on or off. > > > > If you turn the inference mode on in the SPARQL View, inferences will > > > be executed first and the SPARQL query is applied to the union of the > > > asserted and inferred graphs (i.e. original data + inferences). > > > Therefore, the SPARQL query will not be able to execute until > > > inferences have completed. I suspect this is what you are > > > experiencing. > > > > Perhaps some details on the example you are trying will help explain > > > this more. > > > > -- Scott > > > > On Sep 22, 1:12 pm, bradleys <[email protected]> wrote: > > > > > In preparation of testing my OWL ontology, I ahve been using the Graph > > > > feature in TB Maestro and using the Kennedy example OWL to try to > > > > generate a SPARQL graphical query. I tried to reporduce the example > > > > (female, 1965 and male 1965) but had no luck. The query engine runs > > > > for 30 minutes but gives no instance results ie Alina Mojica and > > > > Jeannie Ripp. > > > > I am running Meastro with the 3.4.2 M20090211-1700 update. My File > > > > Inferences has SWIFTOWLIM (owl-max) and TopSPIN (SPARQL Rules). I > > > > discovered my Workspace did not have TopSPIN (SPARQL Rules), so I > > > > configured that na dran inferences before doing the SPARQL Query. > > > > Still no luck getting any results. > > > > > Am I missing anything obvious?- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
