UoW lecture at Erasmus University

Geplaatst op 23-08-2010 door Maarten Marx | Uncategorized | | comment image Geen reacties »

September 7, 2010. Room: G3-29 (10-11) and H3-27 (11-12).
Lecturers: Reinder van der Heide and Maarten Marx

Slides (screen)
Slides (print)
Analyzing and Visualizing Social Networks of Members of Parliament

XPath sandbox. Try e.g.
collection('/db/euparliament/data/EN')//speech[ft:query(.,'Marx')] (all speeches mentioning Marx), or ask “Who mentions Marx?” by
collection('/db/euparliament/data/EN')//speech[ft:query(.,'Marx')]/@speaker
Here you ask for attributes and the database engine does not output those to the screen. If you want to see the value of the attributes you need to ask for the string-value of them. Like this:
for $s in collection('/db/euparliament/data/EN')//speech[ft:query(.,'Marx')]/@speaker
return string($s)

XPath test

Reageer

Je moet ingelogd zijn om te kunnen reageren.