Hi Kim,

actually the 'and' is just printed in the FactBox (I assume for readability purposes), but it is not part of the semantic annotation and thus not contained in the facts.

Regards,
Philipp

 

Hi guys,

I'm trying to create a dynamic 'Allows value' list.

If I have a property page, 'Has Vegetables' and want it to only allow values within Category:Vegetables, how should I do this?

I googled and found one solution, which is

[[has type::page]]
{{#arraymap: {{#ask: [[Category:Vegetables]]|format=list|link=none|sep=,}}|,|
@@|[[allows value::@@]]}}

But the last possible value comes out with an 'and' in front of it, and I don't wanna add a dummy value 'ZZZ' or something like that.

Do you guys know of any means to accomplish what I'm trying to do?

Thanks.

Joon