[siren-user] N-Tuples syntax

Dario Rigolin drigolin at gmail.com
Mon Dec 27 11:47:42 GMT 2010


On Monday, December 27, 2010 12:28:59 pm Renaud Delbru wrote:

> It looks like, based on your example, that you are trying to index XML
> data with SIREn.

No. I have a tabular data to index. My problem is to "understand" and "digest" 
the syntax I need to use. I', usign the solr plugin to test siren.
Sample table:
Columns named C1, C2... Cn
Rows named R1, R2, ... Rn
And cell values: V1.1, V1.3, Vn.m

Does this syntax is correct?
<p://s.i/row/R1> <p://s.i/col/C1> "V1.1" .
<p://s.i/row/R2> <p://s.i/col/C2> "V2.2" .
...
<p://s.i/row/Rn> <p://s.i/col/Cm> "Vn.m" .


How to write the N-Tuples for that case?
Why I have to put "URL" on that syntax like in samples?
Can I use synstax with fake url like those here?
<p://s.i/pers/jim> <p://s.i/sch/type> <p://s.i/sch/Person> .
<p://s.i/pers/jim> <p://s.i/sch/type> <p://s.i/sch/Student> .
<p://s.i/pers/jim> <p://s.i/sch/type> <p://s.i/sch/Luppo> .
<p://s.i/pers/jim> <p://s.i/sch/color> <p://s.i/sch/Red> .
<p://s.i/pers/jim> <p://s.i/sch/name> "Jim Maple" .
<p://s.i/pers/jim> <p://s.i/sch/age> "26" .
<p://s.i/pers/jim> <p://s.i/sch/workplace> "DERI Galway" .

Why in this syntax I have "values" not inside double quotes but like this:
<p://s.i/pers/jim> <p://s.i/sch/type> <p://s.i/sch/Person> .

Why not

<p://s.i/pers/jim> <p://s.i/sch/type> "Person" .

> SIREn indexing technique is based on XML IR technique, and therefore can
> index some tree-based data structure, but with depth limitations (2).
> Therefore, it is not possible to index complex tree with long branch.
> However, you can denormalise your tree and index certain relations.

I used XML only because I see RDF syntax..
 
Thank you!.
Happy XMas to all the List!


More information about the siren mailing list