Convert GraphDB Elastic index definition from YAML to JSON and embed in SPARQL. Alexiev, V. Software, March, 2025.
Convert GraphDB Elastic index definition from YAML to JSON and embed in SPARQL [link]Github  abstract   bibtex   
GraphDB has a powerful Elasticsearch connector that allows you to specify which parts of a Knowledge Graph should be indexed in Elastic. This is done by posting index definitions through the Workbench or using SPARQL Update. The index definition is quite verbose: It's written in JSON, so you need to pay attention to a lot of quotes and braces. You cannot use prefixes in RDF props but have to specify the full URLs. You must write sequence property paths using JSON arrays. You must write alternative paths by using suffixed field names and repeat all field characteristics between the suffixed variants. This repository has a script index-yaml-json-sparql that makes index creation much easier. We give an example from the UNDERPIN semantic index for DCAT Datastes.
@Misc{Alexiev-index-yaml-json-sparql-2025,
  author       = {Vladimir Alexiev},
  title        = {Convert GraphDB Elastic index definition from YAML to JSON and embed in SPARQL},
  howpublished = {Software},
  month        = mar,
  year         = 2025,
  url_Github   = {https://github.com/VladimirAlexiev/index-yaml-json-sparql},
  keywords     = {yaml, elasticsearch, json, connector, sparql, graphdb, elastic, underpin, dcat, datasets},
  abstract     = {GraphDB has a powerful Elasticsearch connector that allows you to specify which parts of a Knowledge Graph should be indexed in Elastic. This is done by posting index definitions through the Workbench or using SPARQL Update. The index definition is quite verbose: It's written in JSON, so you need to pay attention to a lot of quotes and braces. You cannot use prefixes in RDF props but have to specify the full URLs. You must write sequence property paths using JSON arrays. You must write alternative paths by using suffixed field names and repeat all field characteristics between the suffixed variants. This repository has a script index-yaml-json-sparql that makes index creation much easier. We give an example from the UNDERPIN semantic index for DCAT Datastes.},
}

Downloads: 0