I am using the RuleParser to parse a datalog rule. If I try to parse a empty prefix like
@prefix : <http://example.org/> . with RuleParser.parse("@prefix : <http://example.org/> ."); I get an Exception
`org.semanticweb.rulewerk.parser.javacc.ParseException: Encountered " ":" ": "" at line 1, column 9.
Was expecting:
...`
Based on the used prefix syntax an empty prefix should work.
`PREFIX ::= '@prefix' PNAME_NS?':' IRIREF '.'`
Best regards,
Tim
Hi,
I am using the RuleParser to parse a datalog rule. If I try to parse a empty prefix like
@prefix : <http://example.org/> .
withRuleParser.parse("@prefix : <http://example.org/> .");
I get an Exception `org.semanticweb.rulewerk.parser.javacc.ParseException: Encountered " ":" ": "" at line 1, column 9. Was expecting: