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

Datatype XMLLiteral in Definitions #72

Closed
VladimirAlexiev opened this issue Sep 19, 2024 · 1 comment
Closed

Datatype XMLLiteral in Definitions #72

VladimirAlexiev opened this issue Sep 19, 2024 · 1 comment
Labels
ontology Pertains to ontology representation typography whitespace, HTML etc in definitions and values

Comments

@VladimirAlexiev
Copy link
Collaborator

We checked literals for unusual datatypes:

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
select * where {
  ?x ?p ?o
  filter(isLiteral(?o))
  bind(datatype(?o) as ?dt)
  filter(?dt not in (xsd:string, rdf:langString, xsd:date, xsd:dateTime))
}

It turns out that 25 definitions are marked as rdf:XMLLiteral.
But they don't include any XML markup, so we should use the simpler datatype xsd:string.

@VladimirAlexiev VladimirAlexiev added ontology Pertains to ontology representation typography whitespace, HTML etc in definitions and values labels Sep 19, 2024
@VladimirAlexiev
Copy link
Collaborator Author

fix13-XMLLiteral-72.ru

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ontology Pertains to ontology representation typography whitespace, HTML etc in definitions and values
Projects
None yet
Development

No branches or pull requests

1 participant