Re: [Virtuoso-users] Support for Describe sparql

2008-01-23 Thread Rajeev J Sebastian
Hello Ivan, Thank you for that deep analysis and presentation of Virtuoso internals :) It was very useful for me and I look forward to more of such explorations with you and other developers. Regards Rajeev J Sebastian On Jan 23, 2008 10:23 PM, Ivan Mikhailov wrote: > Rajeev, > > > What actual

Re: [Virtuoso-users] Support for Describe sparql

2008-01-23 Thread Ivan Mikhailov
Rajeev, > What actually should have worked was "1"^^xsd:int ... since that was > the value in my sample data. I see. I'll check one more time. > Also, in Virtuoso, will there be equivalence between typed values ? > For e.g., in python, 1 == 1.0 works even thought first is integer and > second is

Re: [Virtuoso-users] Support for Describe sparql

2008-01-23 Thread Rajeev J Sebastian
Hello Ivan, On Jan 23, 2008 2:30 PM, Ivan Mikhailov wrote: > Rajeev, > > As far as I understand, you've intended to find out subject with > property equal to an integer 1. Yes that was what I was trying. > But "1" and 1 are two different things, > 1^^xsd:int is also differs in type and { ?x urn

Re: [Virtuoso-users] Support for Describe sparql

2008-01-23 Thread Ivan Mikhailov
Rajeev, As far as I understand, you've intended to find out subject with property equal to an integer 1. But "1" and 1 are two different things, 1^^xsd:int is also differs in type and { ?x urn:prop1 1. } contains a subtle error -- dot immediately after "1" become decimal point of double precision

Re: [Virtuoso-users] Support for Describe sparql

2008-01-22 Thread Rajeev J Sebastian
Hello all, After spending many frustrating hours trying to fix the below attached problems, finally I figured out from the DAWG test cases that I should be doing something like describe ?s where {?s urn:prop1 ?o . FILTER(?o = 1). } However. that *still* didnt work, though the test cases were wor

Re: [Virtuoso-users] Support for Describe sparql

2008-01-22 Thread Rajeev J Sebastian
Hello Ivan, Thanks for your response. The reason I asked about it was that a particular query was not working for me. Sample graph: urn:foo1 urn:prop1 "1"^^xsd:integer. urn:foo2 rdf:label "bar". Queries: describe ?x where {?x rdf:label "bar". } <- works, returns all the triples with urn:foo2

Re: [Virtuoso-users] Support for Describe sparql

2008-01-21 Thread Ivan Mikhailov
Hello Rajeev, Yes, Virtuoso supports DESCRIBE for everything that can be SELECTed. Internally, DESCRIBE, CONSTRUCT, INSERT, DELETE and MODIFY are implemented as user-defined aggregates applied to the output of appropriate SELECT statement so they do not bring any additional restrictions to SELECT

[Virtuoso-users] Support for Describe sparql

2008-01-21 Thread Rajeev J Sebastian
Hello all, Does Virtuoso 5.0.3 support queries of the form: describe ?x where { ?x foaf:name "foo" } ? Regards Rajeev J Sebastian