Giter VIP home page Giter VIP logo

Comments (4)

afs avatar afs commented on August 15, 2024 1

All SERVICE execution goes through an extension point ServiceExec.exec.

One collection of extensions, focued on federated query performance, are:
https://jena.apache.org/documentation/query/service_enhancer.html

You can add your own policy via ServiceExec.exec.

from jena.

afs avatar afs commented on August 15, 2024

See https://www.w3.org/TR/sparql11-federated-query/#variableService

Variables in the SERVICE clause are "best effort". <https://query.wikidata.org/sparql> makes sense but an unbound variable does indicate where to execute the SERVICE.

It has to be constrained somehow. What are you expecting? If you want it to ignore, then SERVICE SILENT may do what you want - it will generate a warning but otherwise skip the execution of that step.

from jena.

mhoangvslev avatar mhoangvslev commented on August 15, 2024

In my use-case, since the data in VALUES are retrieved from external process, there is no warranty that the variables would be bound eventually, i.e, having UNDEF as value. In this case yes, I expect the BGP under SERVICE to simply be ignored. That said, SERVICE SILENT is satisfactory enough, although its usage can cause important errors to get ignored, e.g. HTTP 300-500.

from jena.

mhoangvslev avatar mhoangvslev commented on August 15, 2024

Alright, many thanks for your prompt assistance ☺️

from jena.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.