sparna-git / Sparnatural

Sparnatural : Typescript visual SPARQL query builder for knowledge graphs, configurable with SHACL
http://sparnatural.eu
GNU Lesser General Public License v3.0
207 stars 34 forks source link

Potential issue with literal list properties #487

Closed prashydee closed 1 year ago

prashydee commented 1 year ago

Hi @tfrancart!

Thanks for you support so far. I configured the data property 'number of legs' as a literal list property (see new zip file), whose range 'leg count' is a Literal class. In the UI I am indeed able to retrieve the correct 'leg count' for the animals in my toy dataset when I set the selection to 'Any'. However when I select individual leg counts I get nothing back. Actually the SparQL query itself loses the triple that should connect the subject to the leg count variable, which might be why this is happening, though I'm not sure. Any ideas?

Here's the screenshot of the problem, including the SPARQL query generated:

image

Here's my updated folder: prash-pets.zip

Thanks for your help! Regards, Prashant

Marie-Sparna commented 1 year ago

Hello Prashant, we have identified two different problems :

image

Tell us if something wrong then :)

prashydee commented 1 year ago

Hello Marie, thank you! Once I download the four files where should I store them? I've been working from the sparnatural.eu repository, which already has the demos in them and not from Sparnatural. What do you recommend?

prashydee commented 1 year ago

Works a charm, thank you very much Marie!