We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swrlb:eval
I think this is related to #39
Protege 5.5.0 SWRLTab Protege 5.0+ Plugin (2.0.6)
Using swrlb:eval seems to fail, see this swrl rule: tomasys:FunctionDesign(?fd) ^ abb_scenario3:fd_qa_energy(?fd, ?e) ^ abb_scenario3:fd_qa_safety(?fd, ?s) ^ abb_scenario3:fd_qa_performance(?fd, ?p) ^ swrlm:eval(?r, "(e+s+p)", ?e, ?s, ?p) -> abb_scenario3:fd_qa_tradeoff(?fd, ?r)
tomasys:FunctionDesign(?fd) ^ abb_scenario3:fd_qa_energy(?fd, ?e) ^ abb_scenario3:fd_qa_safety(?fd, ?s) ^ abb_scenario3:fd_qa_performance(?fd, ?p) ^ swrlm:eval(?r, "(e+s+p)", ?e, ?s, ?p) -> abb_scenario3:fd_qa_tradeoff(?fd, ?r)
Exception running rule engine: error running Drools rule engine: [Error: invoker.invoke("QA_tradeoff_avg", "swrlm:eval", 0, false, new VPATH(), new BAVNs("r", "", "e", "s", "p"), new UBA("r"), new L("(e+s+p)", "xsd:string"), $e, $s, $p): built-in exception thrown by built-in swrlm:eval in rule QA_tradeoff_avg: exception thrown by built-in swrlm:eval in rule QA_tradeoff_avg: exception processing expression '(e+s+p)': variable ?e with type xsd:decimal cannot be converted to xsd:double]
The text was updated successfully, but these errors were encountered:
Does this happen in the latest 2.0.8 version? I think I fixed this.
Sorry, something went wrong.
Thanks for your quick reply! Yes, just checked in 2.0.8 and I get the same error.
2.0.8
No branches or pull requests
I think this is related to #39
Setup
Protege 5.5.0
SWRLTab Protege 5.0+ Plugin (2.0.6)
Problem
Using
swrlb:eval
seems to fail, see this swrl rule:tomasys:FunctionDesign(?fd) ^ abb_scenario3:fd_qa_energy(?fd, ?e) ^ abb_scenario3:fd_qa_safety(?fd, ?s) ^ abb_scenario3:fd_qa_performance(?fd, ?p) ^ swrlm:eval(?r, "(e+s+p)", ?e, ?s, ?p) -> abb_scenario3:fd_qa_tradeoff(?fd, ?r)
Exception
The text was updated successfully, but these errors were encountered: