-
Notifications
You must be signed in to change notification settings - Fork 4
OSLC Query
OSLC Query Capability allows the user to search for resources using the syntax specified in [OSLC Query Specification] (http://open-services.net/bin/view/Main/OSLCCoreSpecQuery). Currently, oslc.searchTerms is not implemented.
OSLC assembles an Abstract Syntax Tree while parsing through the query. The service sends it to the LDP Service to parse the query into a query adaptable to the service. For instance, if the user is using Apache Jena Fuseki as the database, it LDP Service will parse the AST into a SPARQL query for that database.
For this service, the OSLC program checks a local dictionary to see if there is a ResourceShape associated with the query base. If so, the service gets the shape from the database. It checks every variable within the query to see if it's in compliance with the ResourceShape.