AKSW / jekyll-rdf

📃 A Jekyll plugin to include RDF data in your static site or build a complete site for your RDF graph
http://aksw.org/Projects/JekyllRDF
Other
57 stars 10 forks source link

More flexible and consequent filter APIs #120

Closed white-gecko closed 6 years ago

white-gecko commented 6 years ago

This issue contradicts the solution proposed in #114 and #109 .

sparql_query:

rdf_property:

same for rdf_inverse_property

Simaris commented 6 years ago

Unfortunately, {{ |rdf_property: property }} or {{ rdf_property: property }} are not valid expressions to jekylls liquid engine, so these short-cuts are not possible. The closest we can realise (as far as I know) is {{ nil | rdf_property: property }}.

white-gecko commented 6 years ago

I think if this is not possible we don't need these shortcut options. Using nil might be confusing. I think the only simplification would be to allow {{ page | rdf_property: property }} as well as {{ page.rdf | rdf_property: property }}.