LDScript: a Linked Data Script Language - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2017

LDScript: a Linked Data Script Language


In addition to the existing standards dedicated to representation or querying, Semantic Web programmers could really benefit from a dedicated programming language enabling them to directly define functions on RDF terms, RDF graphs or SPARQL results. This is especially the case, for instance, when defining SPARQL extension functions. The ability to capitalize complex SPARQL filter expressions into extension functions or to define and reuse dedicated aggregates are real cases where a dedicated language can support modularity and maintenance of the code. Other families of use cases include the definition of functional properties associated to RDF resources or the definition of procedural attachments as functions assigned to RDFS or OWL classes with the selection of the function to be applied to a resource depending on the type of the resource. To address these needs we define LDScript, a Linked Data script language on top of the SPARQL filter expression language. We provide the formal grammar of the syntax and the Natural Semantics inference rules of the semantics of the language. We also provide a benchmark and perform an evaluation using real test bases from W3C with different implementations and approaches comparing, in particular, script interpretation and Java compilation.
Fichier principal
Vignette du fichier
final.pdf (358.25 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-01589162 , version 1 (18-09-2017)


  • HAL Id : hal-01589162 , version 1


Olivier Corby, Catherine Faron Zucker, Fabien Gandon. LDScript: a Linked Data Script Language. International Semantic Web Conference, Oct 2017, Vienne, Austria. ⟨hal-01589162⟩
800 View
607 Download


Gmail Mastodon Facebook X LinkedIn More