Open KenHaskell opened 2 weeks ago
Describe the bug Special characters (for instance, "/") causes RDFizer to create invalid triple by not enclosing the word in quotes. It instead treats it as a class.
To Reproduce
<#ParentMapping> a rr:TriplesMap; rml:logicalSource [ rml:source "constant.csv" ; rml:referenceFormulation ql:CSV ] ; rr:subjectMap [ rr:constant "http://www.ontologyrepository.com/CommonCoreOntologies/InformationBearingEntity/229c7104-3f46-42ce-877d-b9a64fe145df-20240828092059" ; rr:class "http://www.ontologyrepository.com/CommonCoreOntologies/InformationBearingEntity" ; rr:class owl:NamedIndividual ; ] ; rr:predicateObjectMap [ rr:predicate "http://www.ontologyrepository.com/CommonCoreOntologies/has_text_value" ; rr:objectMap [ rr:constant "Planned/Actual Operation Date" ; rr:language "en" ] ] .
Expected behavior <http://example.com/parent/stuff> <http://www.ontologyrepository.com/CommonCoreOntologies/has_text_value> "Planned/Actual Operation Date"@en.
<http://example.com/parent/stuff> <http://www.ontologyrepository.com/CommonCoreOntologies/has_text_value> "Planned/Actual Operation Date"@en.
Actual behavior <http://example.com/parent/stuff> <http://www.ontologyrepository.com/CommonCoreOntologies/has_text_value> <Planned/Actual Operation Date>.
<http://example.com/parent/stuff> <http://www.ontologyrepository.com/CommonCoreOntologies/has_text_value> <Planned/Actual Operation Date>.
Dear @KenHaskell,
I hope you are doing well. I am sorry for the late response. I found the issue and fixed it. Please test it out so we can close this issue.
Sincerely, Enrique
Describe the bug Special characters (for instance, "/") causes RDFizer to create invalid triple by not enclosing the word in quotes. It instead treats it as a class.
To Reproduce
Expected behavior
<http://example.com/parent/stuff> <http://www.ontologyrepository.com/CommonCoreOntologies/has_text_value> "Planned/Actual Operation Date"@en.
Actual behavior
<http://example.com/parent/stuff> <http://www.ontologyrepository.com/CommonCoreOntologies/has_text_value> <Planned/Actual Operation Date>.