[Pellet-users] SPARQL query involving Bnodes

Krishna pkrsar at yahoo.com
Fri Jun 15 16:13:42 UTC 2007


Hi,
  I  tried to use the BnodeQueryexample in the pellet distribution.
  part of the query is as follows:
  String sqtr5 =
              queryBegin + 
            " jobs:job234 owl:equivalentClass _:abc .\r\n" + 
          //    " _:abc owl:OnProperty jobs:hasMinSalary .\r\n" +
          " _:abc rdf:type owl:Restriction .\r\n" + 
              " _:abc owl:hasValue ?y"+
              queryEnd;
  
  if I use remove the second line ( one with comment) it works and get:
  |  y                                                |
  ===================================================
  | "67000"^^<http://www.w3.org/2001/XMLSchema#int>
  
  but if I include it I get blank answer. 
  | y |
  =====
  -----
  
  I am wondering about what is wrong with this line. 
  I have attached the owl file.
  
  regards
  Krishna
  

       
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20070615/4a58b5d3/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test222.owl
Type: application/octet-stream
Size: 2175 bytes
Desc: 3631574350-test222.owl
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20070615/4a58b5d3/attachment.obj 


More information about the Pellet-users mailing list