Hi everyone,
I experienced strange behavior during query answering, but Im not sure where 
can be problem.
This query is not working(no results returned) : 

SELECT DISTINCT ?key ?value ?label ?score FROM NAMED 
<http://www.ontotext.com/explicit> { ?value luc:sestateIndex 
"word*"^^xsd:string . ?value luc:score ?score . ?value rdfs:label ?label .  
GRAPH <http://www.ontotext.com/explicit> { ?value rdf:type ?key } .  } 


but if I remove one of these (no matter which one)

?value rdfs:label ?label . OR GRAPH <http://www.ontotext.com/explicit> { ?value 
rdf:type ?key} OR ?value luc:score ?score 
suddelny all is perfectly working as I expect. Lucene index is properly created 
by this query :

INSERT DATA 
            {
                  luc:index luc:setParam "uris" . 
                  luc:include luc:setParam "literals" . 
                  luc:moleculeSize luc:setParam "1" .
                  luc:includePredicates luc:setParam 
"http://www.w3.org/2000/01/rdf-schema#label 
http://www.w3.org/2004/02/skos/core#altLabel"; .
                  luc:analyzer luc:setParam "my.own.analyzer" .
                  luc:sestateIndex luc:createIndex "true" . 
            }


Could you guide me to possible solution for this?

Best regards,

Marek
_______________________________________________
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion

Reply via email to