Lars Marius Garshol: > > select $TOPIC from > occurrence($TOPIC, $OCC), resource($OCC, "http://foo/document1.pdf")? Lars, could you explain to me in prose what this query does? Thanks. Jan