Skip to content

sszuev/ont-map-ext-factorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages