Wagonhelm created this task.
Wagonhelm added a project: Wikibase-Containers.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.
TASK DESCRIPTION
When loading a ttl via the loadData.sh script I get the following error when
trying to load a blank node with white space between the brackets.
Could not load: url=file:///wdqs/wikidump-00000000
1.ttl.gz, cause=org.openrdf.rio.RDFParseException: Expected an RDF value
here, found ']'
The loadData script does work correctly when I remove all white space between
the brackets. Here is what the turtle <https://pastebin.com/UtvUj2R6> looks
like which causes the error:
wd:Q100301425 rdfs:label "Large Single-Handled Jar, Yale University Art
Gallery, inv. 1930.655"@en ;
wdt:P571 [ ] ;
According to the turtle docs
<https://www.w3.org/TR/turtle/#sec-grammar-grammar>
> The [162s] ANON ::= '[' WS* ']' token allows any amount of white space and
comments between []s. The single space version is used in the grammar for
clarity.
Is there anyway to prevent this parse exception? I would consider it a bug.
TASK DETAIL
https://phabricator.wikimedia.org/T275077
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Wagonhelm
Cc: Aklapper, Wagonhelm, Samantha_Alipio_WMDE, Akuckartz, Jelabra, Nandana,
Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper,
Scott_WUaS, Asahiko, despens, Wikidata-bugs, aude, Addshore, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs