sparna-git / Sparnatural

Sparnatural : visual SPARQL query builder for knowledge graphs in the browser, configurable with SHACL
http://sparnatural.eu
GNU Lesser General Public License v3.0
219 stars 41 forks source link

add possibility to add default label for core:NotInstantiatedClass feature, e.g. isRemoteClass #443

Open SteinerPascal opened 1 year ago

SteinerPascal commented 1 year ago
 ?Tree_4 <http://twin-example/zurich#agrovocBroader> <http://aims.fao.org/aos/agrovoc/c_6409>.

The objectproperty is subclassed with core:NotInstantiatedClass That means no endclassptrn is created but i would still like to have the defaultlabel ptrn created like this

 ?Tree_4 <http://twin-example/zurich#agrovocBroader> <http://aims.fao.org/aos/agrovoc/c_6409>.
<http://aims.fao.org/aos/agrovoc/c_6409> skos:prefLabel ?someLabelVarName

Is there a workaround for this? What kind of varname would be chosen?