it.unipd.dei.ims.nestor.experiment.test.tois2014.inex.old
Class DDSTopic2

java.lang.Object
  extended by it.unipd.dei.ims.nestor.experiment.test.tois2014.inex.old.DDSTopic2

public class DDSTopic2
extends java.lang.Object

The class resolving topic 2 of INEX 2009 using the DDS //article[about(.,periodic table elements chemists physicists scientists alchemists)]//(person|chemist|alchemist|scientist|physicist) which from the structural p-o-v becomes: //article//person OR //article//chemist OR //article//alchemist OR //article//scientist OR //article//physicist. In NESTOR this means "Give me the text of the descendants of the X nodes which are descendants of the element node where X = {person, chemist, ...}"; in NESTOR we have to run 5 distinct queries and the result is the union of the results -> with the inverted attribute table this is very fast because most of the queries will not be executed given that an article contains just one of the five categories (most of the times) for each k in personArrayIds : descendantsContent(k) then repeat for all the categories. In DDS this is a conjunction of descendantsContent queries.

Author:
silvello

Constructor Summary
DDSTopic2()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDSTopic2

public DDSTopic2()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException,
                        javax.xml.stream.XMLStreamException
Throws:
java.io.IOException
javax.xml.stream.XMLStreamException