SPARQL-Anything / sparql.anything

SPARQL Anything is a system for Semantic Web re-engineering that allows users to ... query anything with SPARQL.
https://sparql-anything.cc/
Apache License 2.0
218 stars 11 forks source link

Markdown #125

Closed enridaga closed 2 years ago

enridaga commented 3 years ago

As the summary says.

enridaga commented 3 years ago

Reuse Library: https://github.com/commonmark/commonmark-java

Interesting: it supports YAML in the front matter!

enridaga commented 3 years ago

Build is still broken, will remove the markdown module from the main pom until it's ready

enridaga commented 3 years ago

With tables, I guess the markdown support is complete. Other extensions may be added but let's wait until anyone needs them :)

enridaga commented 3 years ago

Reopening to add collection of a YAML front matter

enridaga commented 3 years ago

The commons markdown extension for YAML front matters only supports a subset of YAML. Besides, we have a dedicated triplifier for YAML 1.2. Hence, we can make our own extension to collect the YAML content as a single string. The SPARQL query can then use another service clause to triplify the content of the front matter, passing it with the fx:content property.

enridaga commented 3 years ago

We should close after including examples in the README