class(price) == 'decimal'
type: SPARQLRule
type: EditRule
content: PREFIX leri: <http://lod.cedar-project.nl:8888/linked-edit-rules/resource/> PREFIX cedarterms: <http://bit.ly/cedar#> PREFIX qb: <http://purl.org/linked-data/cube#> PREFIX ler: <http://bit.ly/linked-edit-rules#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> IF { ?obs a qb:Observation . ?measure a qb:MeasureProperty . ?obs ?measure ?price . FILTER (datatype(?price) != xsd:decimal) } THEN { ?obs ler:inconsistentWith leri:priwa1 . }
scope: Observation
component: MeasureProperty
component: price
comment: A price must be a decimal number
creator: www.albertmeronyo.org
date: 2015-01-08T16:03:40+01:00

price > 0
type: SPARQLRule
type: EditRule
content: PREFIX leri: <http://lod.cedar-project.nl:8888/linked-edit-rules/resource/> PREFIX cedarterms: <http://bit.ly/cedar#> PREFIX qb: <http://purl.org/linked-data/cube#> PREFIX ler: <http://bit.ly/linked-edit-rules#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> IF { ?obs a qb:Observation . ?measure a qb:MeasureProperty . ?obs ?measure ?price . FILTER (?price <= 0) } THEN { ?obs ler:inconsistentWith leri:priwa2 . }
scope: Observation
component: MeasureProperty
component: price
comment: A price must be a positive number
creator: www.albertmeronyo.org
date: 2015-01-08T16:03:40+01:00

ks.test(ds, log(rnorm))$p.value > 0.005
type: SPARQLRule
type: EditRule
content: PREFIX leri: <http://lod.cedar-project.nl:8888/linked-edit-rules/resource/> PREFIX cedarterms: <http://bit.ly/cedar#> PREFIX qb: <http://purl.org/linked-data/cube#> PREFIX ler: <http://bit.ly/linked-edit-rules#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX stardog: <tag:stardog:api:> IF { ?ds a qb:DataSet . ?measure a qb:MeasureProperty . FILTER (stardog:R("ks.test", "log(rnorm)", ?ds, ?measure) <= 0.05) } THEN { ?obs ler:inconsistentWith leri:priwa3 . }
scope: DataSet
component: MeasureProperty
component: price
comment: Prices must follow a log-normal distribution
creator: www.albertmeronyo.org
date: 2015-01-08T16:03:40+01:00