Note: you may need to have a SourceForge account to check these files out from the repository.
Running tests: shapes-test.sadl(http://sadl.imp/shapes_test)
Validity check returned no errors or warnings.
Test passed: MyCircle, area, 38.48
Test passed: MyRect, rdf:type, Shape
Test passed: MyRect, width, 4.5
Test passed: MyRect, area, 15.75
Test passed: [v]:select v where MyCircle, area, v == 38.48
Explanation of 'x, area, y':
Derivation of
http://sadl.imp/shapes_test#MyRect, area, 15.75:
was concluded by: Rule AreaOfRectangle
based on matching conditions:
MyRect type Rectangle
MyRect height 3.5
MyRect width 4.5
Derivation of
http://sadl.imp/shapes_test#MyCircle, area, 38.48447895050049:
was concluded by: Rule AreaOfCircle
based on matching conditions:
MyCircle type Circle
MyCircle radius 3.5
Timing information:
0 (ms): load ontology model
47 (ms): load model 2 rules
32 (ms): bind schema to reasoner
31 (ms): prepare inference model
0 (ms): ask(http://sadl.imp/shapes_test#MyCircle,http://sadl.imp/shapes_top#area,null)
0 (ms): ask(http://sadl.imp/shapes_test#MyRect,http://www.w3.org/1999/02/22-rdf-syntax-ns#type,http://sadl.imp/shapes_top#Shape)
0 (ms): ask(http://sadl.imp/shapes_test#MyRect,http://sadl.imp/shapes_specific#width,null)
0 (ms): ask(http://sadl.imp/shapes_test#MyRect,http://sadl.imp/shapes_top#area,null)
469 (ms): execute query (select ?v where {<http://sadl.imp/shapes_test#MyCircle> <http://sadl.imp/shapes_top#area> ?v})
Total time (ms):579
Passed 5 of 5 tests.
Derivations written to 'G:\sadl\eclipse\workspace\ShapesDemo\Temp\shapes-test.Derivations.log'