On Tue, 2008-09-30 at 13:06 +0100, Tim Haynes wrote:
> Could you send us the text of the insert query, and any other useful data 
> for replicating it, please?

Sure. It's something like (omitted prefixes declaration):

INSERT INTO GRAPH <http://localhost/new> {
  _:v rdf:type ns:Class .
  _:v ns:prop1 ?v1 .
  ?v2 ns:prop2 _:v .
  _:v ns:prop2 ns:Instance
}
FROM <http://localhost/>
WHERE {
  {
    SELECT ?user ?forum count(?post) as ?posts count(?reply) as ?replies
    WHERE {
      ?user rdf:type sioc:User .
      ?forum sioc:has_subscriber ?user .
      ?forum rdf:type sioc:Forum .
      ?user sioc:creator_of ?post .
      OPTIONAL {
        ?reply sioc:reply_of ?post .
      }
    }
  }
  FILTER (?replies > (?posts-?replies))
}

It just a query play con sioc data. But it kill my Virtuoso. Any idea?

Cheers,

-- 
Sergio Fernández - sergio.fernan...@fundacionctic.org
R&D Deparment
CTIC Foundation - www.fundacionctic.org
Phone: +34 984 29 12 12
Fax:  +34 984 39 06 12
Edificio Centros Tecnológicos
Parque Científico Tecnológico
33203 Cabueñes - Gijón - Asturias - Spain


Reply via email to