YourDataStories / harvesters

Harvesters acquire data from open data sources and the social Web.
GNU General Public License v3.0
1 stars 1 forks source link

gr:hasCurrencyValue has rdfs:range xsd:float #18

Closed giorgosvaf closed 8 years ago

giorgosvaf commented 8 years ago

Please change the datatype value of gr:hasCurrencyValue to xsd:float.

select distinct * from http://yourdatastories.eu/pilot3 where { ?s gr:hasCurrencyValue ?p }

mogaio commented 8 years ago

We fixed this issue in the latest version of the rdf data.

Polymathronic commented 8 years ago

The current version of the data says otherwise:

PREFIX gr: <http://purl.org/goodrelations/v1#>

SELECT ?value ?type FROM <http://yourdatastories.eu/pilot3>
WHERE {
  ?s gr:hasCurrencyValue ?value.
  BIND(DATATYPE(?value) as ?type)
}
mogaio commented 8 years ago

There was an issue in the code that caused this issue for part of the gr:hasCurrencyValue datatype, now it's fixed.