Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Significant figures in numeric concrete domains #60

Open
rwynne opened this issue Jul 22, 2021 · 1 comment
Open

Significant figures in numeric concrete domains #60

rwynne opened this issue Jul 22, 2021 · 1 comment

Comments

@rwynne
Copy link

rwynne commented Jul 22, 2021

With the understanding that DataHasValue hasn't been fully implemented, should the following classes be seen as equivalent?

EquivalentClasses(:A
	ObjectIntersectionOf(
		DataHasValue(:B "1"^^xsd:decimal)
		DataHasValue(:C "8"^^xsd:decimal)
	)
)
EquivalentClasses(:A
	ObjectIntersectionOf(
		DataHasValue(:B "1.0"^^xsd:decimal)
		DataHasValue(:C "8.0"^^xsd:decimal)
	)
)
@ykazakov
Copy link
Member

ELK does not understand datatype literals, so "1" and "1.0" are different values for ELK. Consequently the classes DataHasValue(:B "1"^^xsd:decimal) and DataHasValue(:B "1.0"^^xsd:decimal) are not detected as equivalent.

For ELK, datatype values are the same if they have exactly same characters (as written, e.g., in functional-style syntax).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants