Incipit.LogosLink.OntologyEngine 2.0.0.2

dotnet add package Incipit.LogosLink.OntologyEngine --version 2.0.0.2                
NuGet\Install-Package Incipit.LogosLink.OntologyEngine -Version 2.0.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Incipit.LogosLink.OntologyEngine" Version="2.0.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Incipit.LogosLink.OntologyEngine --version 2.0.0.2                
#r "nuget: Incipit.LogosLink.OntologyEngine, 2.0.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Incipit.LogosLink.OntologyEngine as a Cake Addin
#addin nuget:?package=Incipit.LogosLink.OntologyEngine&version=2.0.0.2

// Install Incipit.LogosLink.OntologyEngine as a Cake Tool
#tool nuget:?package=Incipit.LogosLink.OntologyEngine&version=2.0.0.2                

Introduction

Thank you for downloading this LogosLink package.

LogosLink is a set of tools for discourse analysis, as described in www.iatml.org. You can use LogosLink as an interactive desktop app or by adding the relevant packages to your project.

This is the Incipit.LogosLink.Ontology package, which contains types to manage ontology datasets in terms of their categories, atoms, properties, links, etc.

How to Get Started

Once you have added this package to your project, you can create ontology datasets, load and save them from disk, and run multiple analytics on them.

Use the Ontology and OntologyPersister classes to create, load and save ontology datasets. Use the different classes under the Incipit.LogosLink.OntologyEngine.Analytics namespace to run analytics on an ontology.

Additional Documentation

Please see the LogosLink Programmer's Guide for complete documentation.

Samples

You can create a new ontology like this:

var on = new Ontology("Test", "YourUserName");

Then, you can add, edit and delete ontology elements like this:

//add a category with some properties.
var cat1 = on.AddNewCategory("Animal");
cat1.Definition = "A living organism that feeds on organic matter.";
var py1 = cat1.AddNewProperty("Species");
var py2 = cat2.AddNewProperty("Age");

//add an atom representing 7-year-old Fido the dog.
var at1 = on.AddNewAtom(cat1, "Fido");
at1.AddNewValue(py1, "Dog");
at1.AddNewValue(py2, "7");

//delete everything.
at1.Delete();
cat1.Delete();

You can load and save ontology datasets like this:

//load an ontology from a file.
var onp = new OntologyPersister("YourUserName");
var on = onp.LoadOntology("C:\\Datasets\\My Ontology.llo").Ontology;

//save it back to disk.
onp.SaveOntology(on, null, "C:\\Datasets\\My Ontology.llo");

You can run some analytics on an ontology like this:

//create and run a centrality analyser.
var ana = new Analytics.Centrality.CentralityAnalyser(on);
ana.Run();

//dump entity centralities to the console.
foreach (var kvp in ana.EntityCentralities)
{
	Console.WriteLine($"Entity: {kvp.Key}\tCentrality: {kvp.Value.OverallCentrality}");
}

Feedback

We love feedback!

Please write to cesar.gonzalez-perez@incipit.csic.es with your comments and questions. You can also send anonymous feedback on the web at www.iatml.org/en/logoslink/feedback.

Thank you!

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Incipit.LogosLink.OntologyEngine:

Package Downloads
Incipit.LogosLink.ArgumentationEngine

This library implements the IAT/ML concepts related to argumentation analysis.

Incipit.LogosLink.AgencyEngine

This library implements the IAT/ML concepts related to agency analysis.

Incipit.LogosLink.CorpusEngine

This library implements the IAT/ML concepts related to corpus management.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0.2 75 12/17/2024