Hi Alistair,

I tried some of your queries and found this: (comments inline)

On 8 October 2011 12:06, Alistair Young <alistair.yo...@uhi.ac.uk> wrote:
> Is there any risearch documentation that works?
> https://wiki.duraspace.org/display/FEDORA35/Resource+Index+Search
> none of the triples examples work. They either produce nothing or throw a
> 500 as it doesn't know what itql is.

"Find triples" does complain about itql when you select itql and don't
supply a template.

> e.g. the docs state this returns everything in the repo but it returns
> nothing:
> 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>

This returns all relationships among objects, when you use this query
in the "Find tuples" tab.
To select all triples, the simplest query is:
select $a $r $b from <#ri>
where $a $r $b

> The application interface section mentions query and template urls but
> doesn't say what they are or how to use them.
> Can someone point me in the right direction?

The documentation says:
The query and template parameters optionally take the value by
reference – that is, a URL to a query or template can be given instead
of the actual text.
I guess that means you can either put a query or template in the URL
or store a template or query somewhere on the web and use it by
passing its URL.

> thanks,
> Alistair

Does this help?

Regards,

Ben

> --------------
> 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