Closed VladimirAlexiev closed 6 months ago
So this was a tounge in cheek example to see how complex it could do and not break everything. I did produce a simpler version without all the complex rules expanded - but I am unsure which is better:
https://github.com/Accord-Project/bcrl/blob/main/FI-accessibility-experiment/Tom%20Example/FI2a.yaml
You raise a few points that I think we should look at:
Can you confirm that the formula here is tan(Slope(pi/180))100>5 - Yes
Is the nesting of hasTarget {hasTarget correct? - Yes "hasComparator": "CheckMethodOperator-division": but this arithmetic operator is not a comparison (and similarly for multiplication) -This is true - perhaps we need an hasOperator instead?
"hasTarget": "pi" will not resolve to a reasonable URL since it has no prefix - Yes - how would you suggest - is there an ontology of known mathematical constants we can reference against?
functions: prefix is not defined- It should be - must have dropped of the definitions somehow I will fix
@beachtom see last bullet in Descr (added)
@VladimirAlexiev regarding the last bullet - now we have scoped that perhaps need graphQL does this mean this still does need to be fixed?
we have https://w3id.org/lbd/aec3po/hasOperator in module _checkmethod
This is now sorted
Hi @beachtom (cc @Gonsco and @EdliraK and @maximelefrancois86 )!
While making the SOML and a GraphQL query structured similarly to FI2.jsonld, I came up to this complex fragment:
tan(Slope*(pi/180))*100>5
hasTarget {hasTarget
correct?"hasComparator": "CheckMethodOperator-division"
: but this arithmetic operator is not a comparison (and similarly formultiplication
)"hasTarget": "pi"
will not resolve to a reasonable URL since it has no prefixfunctions:
prefix is not definedhasValue
is used as a DatatypeProperty (simple literal), and also as an ObjectPRoperty (a computation encoded as nodes,hasTarget/hasValue
,hasComparator
orexecutes
. RDF allows mixed props, but OWL and GraphQL enforce a "property dichotomy": either Data or Object.