LDflex / Query-Solid

Simple access to data in Solid pods through LDflex expressions
https://solid.github.io/query-ldflex/
MIT License
66 stars 15 forks source link

The function .properties returns all document properties #32

Open jairo-campos-JD opened 5 years ago

jairo-campos-JD commented 5 years ago

The function .properties returns all document properties, even if a specific subject is provided.

For example, I access to subject fullNameField then call properties method but it returns all the document properties https://screencast.com/t/bmFL1aBIyI instead than only the properties for fullNameField https://www.screencast.com/t/a70Q4eW2BjjH

Thank you!!!

RubenVerborgh commented 5 years ago

@jairo-campos-JD Are you sure?

I cannot reproduce: https://solid.github.io/ldflex-playground/#%5Bhttps%3A%2F%2Fruben.verborgh.org%2Fprofile%2F%23me%5D.friends.predicates

Do you have a URL for the exact example you are trying?

jairo-campos-JD commented 5 years ago

Hi @rubensworks

Can you look this example https://solid.github.io/ldflex-playground/#%5Bhttps%3A%2F%2Fjairocr.inrupt.net%2Fpublic%2Fform.ttl%23addressesComment%5D.properties only have two properties but show all

RubenVerborgh commented 5 years ago

Confirmed. The problem happens with paths of length 1.