Check Host Compatability of an accessor by performing a SPARQL query on a semantic repository such as GraphDB.
This accessor works by querying an Accessor and Host Ontology for the modules required by the accessor and the modules implemented by the given host.
See SemanticRepositoryQuery accessor documenation for additional documentation on SPARQL queries and setting up a semantic repository.
This accessor's image has a Creative Commons license and is from https://pixabay.com/en/puzzle-pieces-jigsaw-piece-concept-308908/
- $$Id: SemanticRepository.js 1725 2017-05-19 22:59:11Z cxh $$
||string||The full name of the accessor (including the directory and .js at the end). Eg. Services/HostCompatability.js.|
||boolean||True if all the accessor's required modules are implemented by the given host. False otherwise.|
||string||The name of the accessor host to be compared with accessorName. The special value 'ThisHost' will cause this accessor to use the getHostName function to determine the name of the accessor host for comparison.|
||string||The URL for the semantic repository.|
||string||The port for the semantic repository.|
||string||The name of the particular repository on the host.|
||int||The amount of time (in milliseconds) to wait for a response before triggering a null response and an error. This defaults to 20000.|
Set up the accessor by defining the inputs and outputs.