I am trying to deploy my application, which works within Topbraid
Composer 3.1, to Topbraid Live 3.2.0.  I'm having problems with
certain web services contained within my application when I run them
within TBL and I need to figure out a way to get more debugging
information.

The webservices in my application which query an ontology stored in an
SDB database work fine.  However, the webservices which try to run
inferences on the SDB database, then query the results, do not work.
They fail to return any results, and they execute extremely quickly.
It's almost as if the triples generated by the TopSpin rules are not
being stored in memory, and that is preventing the proper results from
returning.

When I take the same application and run it within TBC, everything
works fine.  In fact, I have connected both TBL and TBC to the same
SDB database, and TBC works, while TBL does not.

When I look at the log for TBL, I can see it running the CONSTRUCT
statements contained within my TopSpin rules.  However, that is all
the information it outputs.  If the rules are run, they should
generate triples that get returned, since that is what happens in
TBC.

Below is part of the log from TBL.  Is there any way I can turn on a
"verbose" mode?  Is there any configuration steps I can take to change
the way rules are run?  Basically, I'm at a loss over what to do
next.

INFO: Starting CalculateResults
[TopBraid Info] org.topbraid.topspin: TopSPIN took 176 ms for 62
queries.
Jan 7, 2010 12:04:13 PM org.topbraid.core.log.CommonsLogger logInfo
INFO: TopSPIN took 176 ms for 62 queries.
[TopBraid Info] org.topbraid.topspin: Slowest queries:
Jan 7, 2010 12:04:13 PM org.topbraid.core.log.CommonsLogger logInfo
INFO: Slowest queries:
[TopBraid Info] org.topbraid.topspin:  - 14 ms: PREFIX  afn:  <http://
jena.hpl.hp.com/ARQ/function#>
PREFIX  p1:   <http://www.owl-ontologies.com/Ontology1229034104.owl#>
PREFIX  CIEDETS: <http://www.ares-sg.com/CIEDETS#>
PREFIX  abox: <http://swrl.stanford.edu/ontologies/built-ins/3.3/
abox.owl#>
PREFIX  sqwrl: <http://sqwrl.stanford.edu/ontologies/built-ins/3.4/
sqwrl.owl#>
PREFIX  dbs:  <http://www.dbs.cs.uni-duesseldorf.de/RDF/
relational.owl#>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  swrl: <http://www.w3.org/2003/11/swrl#>
PREFIX  spl:  <http://spinrdf.org/spl#>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  spin: <http://spinrdf.org/spin#>
PREFIX  fn:   <http://www.w3.org/2005/xpath-functions#>
PREFIX  db:   <http://biostorm.stanford.edu/db_table_classes/
DSN_jdbc.nilostep.excel.C./recover/ARES/ontology/dataTables#>
PREFIX  protege: <http://protege.stanford.edu/plugins/owl/protege#>
PREFIX  tops: <http://www.topbraid.org/tops#>
PREFIX  sp:   <http://spinrdf.org/sp#>
PREFIX  CIEDETS_BuiltIns: <http://www.ares-sg.com/
CIEDETS_BuiltIns.owl#>
PREFIX  xsp:  <http://www.owl-ontologies.com/2005/08/07/xsp.owl#>
PREFIX  swrlx: <http://swrl.stanford.edu/ontologies/built-ins/3.3/
swrlx.owl#>
PREFIX  sml:  <http://topbraid.org/sparqlmotionlib#>
PREFIX  pf:   <http://jena.hpl.hp.com/ARQ/property#>
PREFIX  swrlm: <http://swrl.stanford.edu/ontologies/built-ins/3.4/
swrlm.owl#>
PREFIX  jfn:  <java:com.hp.hpl.jena.sparql.function.library.>
PREFIX  spinx: <http://spinrdf.org/spinx#>
PREFIX  temporal: <http://swrl.stanford.edu/ontologies/built-ins/3.3/
temporal.owl#>
PREFIX  swrlb: <http://www.w3.org/2003/11/swrlb#>
PREFIX  smf:  <http://topbraid.org/sparqlmotionfunctions#>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  tbox: <http://swrl.stanford.edu/ontologies/built-ins/3.3/
tbox.owl#>
PREFIX  ciedets_functions: <http://www.ares-sg.com/ciedets_functions#>
PREFIX  swrla: <http://swrl.stanford.edu/ontologies/3.3/swrla.owl#>

CONSTRUCT *
WHERE
  { ?STType (rdfs:subClassOf)* CIEDETS:SUT .
    ?ST rdf:type ?STType .
    ?ST CIEDETS:hasMission ?M .
    ?M CIEDETS:hasSlantRange ?SR .
    ?M CIEDETS:hasMissionOperationalCondition ?OC .
    ?OC CIEDETS:hasTurbulenceJitter ?Seeing .
    ?OC CIEDETS:hasLOSJitter ?LOSJitter .
    ?ST CIEDETS:hasComponent ?SM .
    ?SMType (rdfs:subClassOf)* CIEDETS:Sensing_Modality .
    ?SM rdf:type ?SMType .
    ?SM CIEDETS:hasEO_IR_SensorSpecification ?WB .
    ?WBType (rdfs:subClassOf)* CIEDETS:EO_IR_SensorSpecification .
    ?WB rdf:type ?WBType .
    ?WB CIEDETS:hasIFOV_Horizontal ?IFOV_H .
    ?WB CIEDETS:hasDiffSize ?DiffSize
    LET (?GSDa := CIEDETS:calculateGSDa(?SR, ?IFOV_H, ?Seeing, ?
LOSJitter, ?DiffSize))
    LET (?SUT_Mission_SensorInstance := smf:buildURI("{?ST}+{?M}+{?
WB}"))
  }

Jan 7, 2010 12:04:13 PM org.topbraid.core.log.CommonsLogger logInfo
INFO:  - 14 ms: PREFIX  afn:  <http://jena.hpl.hp.com/ARQ/function#>
PREFIX  p1:   <http://www.owl-ontologies.com/Ontology1229034104.owl#>
PREFIX  CIEDETS: <http://www.ares-sg.com/CIEDETS#>
PREFIX  abox: <http://swrl.stanford.edu/ontologies/built-ins/3.3/
abox.owl#>
PREFIX  sqwrl: <http://sqwrl.stanford.edu/ontologies/built-ins/3.4/
sqwrl.owl#>
PREFIX  dbs:  <http://www.dbs.cs.uni-duesseldorf.de/RDF/
relational.owl#>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  swrl: <http://www.w3.org/2003/11/swrl#>
PREFIX  spl:  <http://spinrdf.org/spl#>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  spin: <http://spinrdf.org/spin#>
PREFIX  fn:   <http://www.w3.org/2005/xpath-functions#>
PREFIX  db:   <http://biostorm.stanford.edu/db_table_classes/
DSN_jdbc.nilostep.excel.C./recover/ARES/ontology/dataTables#>
PREFIX  protege: <http://protege.stanford.edu/plugins/owl/protege#>
PREFIX  tops: <http://www.topbraid.org/tops#>
PREFIX  sp:   <http://spinrdf.org/sp#>
PREFIX  CIEDETS_BuiltIns: <http://www.ares-sg.com/
CIEDETS_BuiltIns.owl#>
PREFIX  xsp:  <http://www.owl-ontologies.com/2005/08/07/xsp.owl#>
PREFIX  swrlx: <http://swrl.stanford.edu/ontologies/built-ins/3.3/
swrlx.owl#>
PREFIX  sml:  <http://topbraid.org/sparqlmotionlib#>
PREFIX  pf:   <http://jena.hpl.hp.com/ARQ/property#>
PREFIX  swrlm: <http://swrl.stanford.edu/ontologies/built-ins/3.4/
swrlm.owl#>
PREFIX  jfn:  <java:com.hp.hpl.jena.sparql.function.library.>
PREFIX  spinx: <http://spinrdf.org/spinx#>
PREFIX  temporal: <http://swrl.stanford.edu/ontologies/built-ins/3.3/
temporal.owl#>
PREFIX  swrlb: <http://www.w3.org/2003/11/swrlb#>
PREFIX  smf:  <http://topbraid.org/sparqlmotionfunctions#>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  tbox: <http://swrl.stanford.edu/ontologies/built-ins/3.3/
tbox.owl#>
PREFIX  ciedets_functions: <http://www.ares-sg.com/ciedets_functions#>
PREFIX  swrla: <http://swrl.stanford.edu/ontologies/3.3/swrla.owl#>

CONSTRUCT *
WHERE
  { ?STType (rdfs:subClassOf)* CIEDETS:SUT .
    ?ST rdf:type ?STType .
    ?ST CIEDETS:hasMission ?M .
    ?M CIEDETS:hasSlantRange ?SR .
    ?M CIEDETS:hasMissionOperationalCondition ?OC .
    ?OC CIEDETS:hasTurbulenceJitter ?Seeing .
    ?OC CIEDETS:hasLOSJitter ?LOSJitter .
    ?ST CIEDETS:hasComponent ?SM .
    ?SMType (rdfs:subClassOf)* CIEDETS:Sensing_Modality .
    ?SM rdf:type ?SMType .
    ?SM CIEDETS:hasEO_IR_SensorSpecification ?WB .
    ?WBType (rdfs:subClassOf)* CIEDETS:EO_IR_SensorSpecification .
    ?WB rdf:type ?WBType .
    ?WB CIEDETS:hasIFOV_Horizontal ?IFOV_H .
    ?WB CIEDETS:hasDiffSize ?DiffSize
    LET (?GSDa := CIEDETS:calculateGSDa(?SR, ?IFOV_H, ?Seeing, ?
LOSJitter, ?DiffSize))
    LET (?SUT_Mission_SensorInstance := smf:buildURI("{?ST}+{?M}+{?
WB}"))
  }
........
..........more rules.....
[TopBraid Info] org.topbraidlive.sparqlmotion: Finished SM script
http://www.ares-sg.com/CIEDETS/CalculateResults
Jan 7, 2010 12:04:13 PM org.topbraid.core.log.CommonsLogger logInfo
INFO: Finished SM script http://www.ares-sg.com/CIEDETS/CalculateResults



Thanks,


Kev

-- 
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.


Reply via email to