Hi All,

When I set the datatype of a property to a 'string' value, I get no results.

<query timeout='2000' xmlns='http://openlinksw.com/services/facets/1.0'>
> <text property='http://www.w3.org/2000/01/rdf-schema#label'>dog
> breeds</text>
> <property iri='http://www.w3.org/1999/02/22-rdf-syntax-ns#type
> '></property>
> <value datatype='uri'>http://dbpedia.org/resource/Category:Dog_breeds
> </value>
> <property-of iri='http://www.w3.org/2004/02/skos/core#subject'>
> <property iri='http://dbpedia.org/property/lifeSpan'>
> <value datatype='string'>12-14 years</value>
> </property>
> <view offset='0' limit='25' type='list'></view>
> </property-of>
> <value datatype='uri'>http://dbpedia.org/resource/Category:Dog_breeds
> </value>
> </query>
>


Response:

<fct:facets xmlns:fct="http://openlinksw.com/services/facets/1.0/";>
>
> <fct:sparql>    select distinct ?s3 as ?c1  where { ?s1 &lt;
> http://www.w3.org/2000/01/rdf-schema#label&gt; ?o1 . ?o1 bif:contains
> &#39;(DOG AND BREEDS)&#39;  . ?s1 &lt;
> http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; ?s2 . filter (?s1 =
> &lt;http://dbpedia.org/resource/Category:Dog_breeds&gt;) .  ?s3 &lt;
> http://www.w3.org/2004/02/skos/core#subject&gt; ?s1 . ?s3 &lt;
> http://dbpedia.org/property/lifeSpan&gt; ?s4 . filter (?s4 =
> &quot;&quot;&quot;8-15 years&quot;&quot;&quot;) .  filter (?s1 = &lt;
> http://dbpedia.org/resource/Category:Dog_breeds&gt;) .  } order by desc
> (&lt;LONG::IRI_RANK&gt; (?s3))  limit 25  offset 0 </fct:sparql>
>
> <fct:time>11</fct:time>
>
> <fct:complete>yes</fct:complete>
>
> <fct:timeout>2000</fct:timeout>
>
> <fct:db-activity>     1R rnd      0R seq      0P disk    128B /      2
> messages</fct:db-activity>
>
> <fct:result type="" />
>
> </fct:facets>
>

-- 

Thanks,
-sherman

I pray that you may prosper in all things and be healthy, even as your soul
prospers
(3 John 1:2)

Reply via email to