3 Replies Latest reply: Mar 14, 2014 4:39 PM by sdas RSS

    Does customized rule work in RDF view model?

    HansC

      We create a RDF view model from relational tables.

      Based on the mapped triples, we created some customized rules in the user defined rule base.

      Drop the entailment and create the entailment again.

      But query on RDF view model with user defined rule base seems to be nothing happening.

      Could you please confirm if RDF view model support user defined rule base?

       

      Thanks.

        • 1. Re: Does customized rule work in RDF view model?
          sdas

          Inference based on user-defined rules is not currently supported for (non-materialized) RDFView models. If you need such inference, please consider materializing the RDF triples using the SEM_APIS.export_rdfview_model procedure. This procedure would take the invocation-time snapshot of the contents of the tables or views and map to appropriate RDF triples and store those RDF triples into a staging table, which can then be loaded (or bulk-loaded) into a regular RDF model.

           

          Thanks,

          - Souri.

          • 2. Re: Does customized rule work in RDF view model?
            HansC

            Thanks for the response. But if we materialize RDF view, then there is no real time sync between relational table and view, right? That means anytime if relational data changed, we need to re-materialize it again and then regenerate then entailment based on the latest materialized view?

            • 3. Re: Does customized rule work in RDF view model?
              sdas

              Note that user-defined inference would always regenerate the entailment anyway.

              But, in addition, for the case of materialized RDFView model, the relational to RDF conversion has to be re-materialized if the contents of the source tables changed since the last materialization of the RDF triples.

               

              Thanks,

              - Souri.