SWRL: не ожидается несвязанный аргумент для (смещение 0) аргумента №1 - PullRequest
0 голосов
/ 13 июля 2020

Я пытаюсь запустить этот код на вкладке sqwrl в protege 5.5.0, но возникает ошибка:

swrlb:date("2010-10-10Z"^^xsd:date, ?a, ?b, ?c, ?d) -> sqwrl:select(?a)

ошибка:

    Exception running SQWRL query S5: error running SQWRL queries: error transferring rules to Drools rule engine:
[Error: invoker.invoke("S5", "swrlb:date", 0, false, new VPATH(), new BAVNs("", "a", "b", "c", "d"), new L("2010-10-10Z", "xsd:date"), new UBA("a"), new UBA("b"), new UBA("c"), new UBA("d")): built-in exception thrown by built-in swrlb:date in rule S5: exception thrown by built-in swrlb:date in rule S5: not expecting an unbound argument for (0-offset) argument #1]
[Near : {... invoker.invoke("S5", "swrlb:da ....}]
             ^
[Line: 1, Column: 1]: error transferring rules to Drools rule engine:
[Error: invoker.invoke("S5", "swrlb:date", 0, false, new VPATH(), new BAVNs("", "a", "b", "c", "d"), new L("2010-10-10Z", "xsd:date"), new UBA("a"), new UBA("b"), new UBA("c"), new UBA("d")): built-in exception thrown by built-in swrlb:date in rule S5: exception thrown by built-in swrlb:date in rule S5: not expecting an unbound argument for (0-offset) argument #1]
[Near : {... invoker.invoke("S5", "swrlb:da ....}]
             ^
[Line: 1, Column: 1]: [Error: invoker.invoke("S5", "swrlb:date", 0, false, new VPATH(), new BAVNs("", "a", "b", "c", "d"), new L("2010-10-10Z", "xsd:date"), new UBA("a"), new UBA("b"), new UBA("c"), new UBA("d")): built-in exception thrown by built-in swrlb:date in rule S5: exception thrown by built-in swrlb:date in rule S5: not expecting an unbound argument for (0-offset) argument #1]
[Near : {... invoker.invoke("S5", "swrlb:da ....}]
             ^
[Line: 1, Column: 1]: built-in exception thrown by built-in swrlb:date in rule S5: exception thrown by built-in swrlb:date in rule S5: not expecting an unbound argument for (0-offset) argument #1: exception thrown by built-in swrlb:date in rule S5: not expecting an unbound argument for (0-offset) argument #1: not expecting an unbound argument for (0-offset) argument #1
...