Closed white-gecko closed 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 }}
.
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 }}
.
This issue contradicts the solution proposed in #114 and #109 .
sparql_query
:master
is:page.rdf | sparql_query: <query>
develop
is:<query> | sparql_query
(page.rdf
is taken from theJekyll::RdfHelper
)[<rdf_resource>] | sparql_query: <query>
page.rdf | sparql_query: <query>
issparql_query: <query>
(page.rdf
is taken from theJekyll::RdfHelper
)"http://resource/" | rdf_get | sparql_query: <query>
would also be possible?resourceUri
in the query is replaced/bound by the given resource (input)rdf_property
:master
anddevelop
is:<resource> | rdf_property: <property>
<resource> | rdf_property: <property>
page.rdf | rdf_property: <property>
isrdf_property: <property>
(page.rdf
is taken from theJekyll::RdfHelper
)"http://resource/" | rdf_get | rdf_property: <query>
would also be possible (as it is now)same for
rdf_inverse_property