hsolbrig / PyShEx

ShEx interpreter for ShEx 2.0
Creative Commons Zero v1.0 Universal
24 stars 9 forks source link

rdf:langString get's translated into xsd:string #49

Open andrawaag opened 5 years ago

andrawaag commented 5 years ago

When I test a schema against a series of URIs (e.g. http://www.wikidata.org/entity/Q30225370) I am getting the following error message

{'focus': rdflib.term.URIRef('http://www.wikidata.org/entity/Q30225370'), 'reason': ' Testing wd:Q30225370 against shape #WD_Pathway\n' ' Datatype mismatch - expected: ' 'http://www.w3.org/1999/02/22-rdf-syntax-ns#langString actual: ' 'http://www.w3.org/2001/XMLSchema#string', 'result': False}

Somewhere in the process data, the language labels get translated into xsd:string