filtering to values more or less than a given property's value

8 views
Skip to first unread message

Augusto Herrmann

unread,
Jan 11, 2013, 3:02:54 PM1/11/13
to linked-data...@googlegroups.com
Greetings!

I understand that with a Linked Data API you can filter search results for values of a given property that are greater than (or less than) a certain amount, as long as that makes sense (i.e. for datatypes like int, decimal, float, etc). We can see examples of that on education.data.gov.ukhttp://education.data.gov.uk/doc/school

I looked at the example configuration files for that one [1], and searched the Specification as well [2], but couldn't find out how to enable those "more than" or "less than" buttons for the properties establishmentNumber and uniqueReferenceNumber. Apparently that's not defined by use of the api:filter property or anywhere else we could find.

We're using Elda, and would like to see those buttons displayed for the valorDotacaoInicial on this endpoint [3]. Our configuration file is on [4]. The literals have a xsd:decimal type of value.

Any tips?


Best regards,
Augusto Herrmann

Stuart Williams

unread,
Jan 11, 2013, 6:04:17 PM1/11/13
to Linked Data API Discuss
Hello Augusto,

Are the numeric looking literals in your data data typed?

Stuart

Stuart Williams

unread,
Jan 11, 2013, 6:08:13 PM1/11/13
to Linked Data API Discuss
Oh yes.... If you look in the xsl that generates the HTML you may find that one of the xsd:decimal may be missing from the list of data types used to trigger the <> buttons.

Sorry not in a good place to look properly myself ATM.
Reply all
Reply to author
Forward
0 new messages