can't seem to nail this down. This works but doesn't seem to have any way to 
specify multiple matches, i.e. more than one object match:

* <http://test/ontologies/ltk/relationships#isInCategory> 
"demo:category_mindmapping"

this works:
select $a $r $b from <#ri>
where  $a <fedora-model:hasModel> <info:fedora/fedora-system:FedoraObject-3.0>
and    $a $r $b

so I thought perhaps this might work, but it produces nothing:
select $a $r $b from <#ri>
where  $a <info:fedora/http://test/ontologies/ltk/relationships#isInCategory> 
<info:fedora/demo:category_mindmapping>
and    $a $r $b

this produces nothing (from the docs page):
select $a $r $b from <#ri>
where  $a <fedora-model:hasModel> <info:fedora/fedora-system:FedoraObject-3.0>
and    $a $r $b
and    $b <fedora-model:hasModel> <info:fedora/fedora-system:FedoraObject-3.0>

help please!

Alistair

--------------
mov eax,1
mov ebx,0
int 80

On 8 Oct 2011, at 10:54, Alistair Young wrote:

> Is there a way to search for multiple object matches in one go with risearch?
> 
> e.g.
> 
> * <http://test/ontologies/relationships#isInCategory> 
> "demo:category_mindmapping"
> * <http://test/ontologies/relationships#isInCategory> "demo:category_skills"
> 
> is there any way to combine the two searches into one spo query?
> 
> thanks,
> 
> Alistair
> 
> --------------
> mov eax,1
> mov ebx,0
> int 80
> 
> 
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to