On 12/11/15 10:32, Kamble, Ajay, Crest wrote:
Hello Andy,
I did not completely understand your feedback.
Is there any advantage if I use different fields for different predicates,
given my intention is to find matches on any predicate. So, if I search for
“foo”, I want matches from bio, qualification and everything in single query.
If that is your intention then it's the thing to do. I'm guessing here
because the description is abstract. Searching on addresses seemed to
me unlikely to mix with searching on names.
Andy
Here is my sample query,
PREFIX text: <http://jena.apache.org/text#>
PREFIX no: <http://nano.springer.com/ns/nanoobjects#>
PREFIX d: <http://nano.springer.com/ns/data#>
SELECT ?s ?score ?what
{
(?s ?score) text:query 'gold nanoparticles' .
?s a ?what .
}
-Ajay