sszuev / ont-map-ext-factorial

An example of ONT-MAP extension that provides SPIN-function to calculate n!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is an example of ONT-MAP extension with a factorial function.

Structure:

  • main:
    • ru.avicomp.map.spin.functions.avc.factorial - ARQ function to calculate n! in RDF
    • ru.avicomp.map.spin.system.FactorialOntMAPExtension - a module initializer
    • resources/etc/avc.factorial.ttl - SPIN library with function description
    • resources/META-INF/services/org.apache.jena.sys.JenaSubsystemLifecycle - a resource file with a reference to module initializer, see Apache Jena - The Standard Subsystem Registry
  • tests:
    • ru.avicomp.map.tests.FactorialMapTest - a test, that builds a mapping and runs inference
    • resources/log4j.properties - logging settings

Dependencies

License

  • Apache License Version 2.0

About

An example of ONT-MAP extension that provides SPIN-function to calculate n!

License:Apache License 2.0


Languages

Language:Java 100.0%