2 Replies Latest reply: Feb 20, 2013 3:40 AM by 991977 RSS

    user defined rule for missing triples

    991977
      Hi,

      i would like to know if there is a way to define a user defined rule for triples that are not contained in a model. With curly brace syntax it could be something like this:

      INSERT INTO mdsys.semr_validation_rb VALUES(
      'test_rule',
      '{?s ?p ?o. OPTIONAL{?s rdf:type ?t}}',
      't is null',
      '(?s <hasType> "false")',
      null);

      Unfortunately this is not working. Has anybody a suggestion to solve this problem with user defined rules?