Lessons Learned
- SWRL 0.6 adequate for most translations
- XSLT sufficient given some restrictions on use and placement of builtins
- user-defined bultins desirable
- great-circle distance
- acos(cos(lat1) * cos(lon1) * cos(lat2) * cos(lon2) +
cos(lat1) * sin(lon1) * cos(lat2) * sin(lon2) +
sin(lat1) * sin(lat2)) * EARTH_RADIUS
- complex conversions
- "473000N 1171500W" => 47.5, -117.25
- "gensym" of bNodes or new URIs
- Company inferred from Stock
- differing granularity
- swrlb:equal subsumes CLIPS eq (strings) and = (numeric)
- XML Schema for SWRL 0.6 very helpful
- need a SWRL Validator based on the
OWL Validator