mUnc Vocabulary Specification 0.1

mUnc Vocabulary Specification

Namespace Document, 01 december 2018

This version:
http://ns.inria.fr/munc/v1 (rdf)
Latest version:
http://ns.inria.fr/munc/ (rdf)
Status:
Work in progress
Author:
DJEBRI Ahmed El Amine, University Côte d'Azur, CNRS, INRIA, I3S, France
Advisors:
Andrea G.B. Tettamanzi, University Côte d'Azur, CNRS, INRIA, I3S, France
Fabien Gandon, INRIA, University Côte d'Azur, CNRS, I3S, France
IRI:
http://ns.inria.fr/munc/

mUnc uses W3C's open and freely available Web standards: RDF technology. It also bases on LDScript language to present uncertainty calculus.


Abstract

mUnc (Metadata with UNCertainty) is an OWL ontology for describing Uncertainty information. It aims to offer a standard representation for uncertainty theories and values with respect to the current Semantic Web standards. It also offers the possibility to represent and exchange calculation involved in the evaluation of uncertainty.

Table of Content

  1. An ontology for Uncertainty Representation: mUnc
  2. Examples
  3. Classes
  4. Object Properties
  5. Namespace Declarations

An ontology for uncertainty representation: mUnc

The open nature of the Web allow the existence of fuzzy, vague, or uncertain information for which exists no standard on the Semantic Web. The aim from mUnc is to offer a formal, publishable and reusable representation of uncertainty over the web of linked data, and allow the integration of many theories [1-4] about "uncertainty reasoning". Moreover, this vocabulary offer a way to link between the theories and their calculus.

The current version enables uncertainty representation at different levels of granularity. Uncertainty can be linked to a sentence or to a world (context).

The figure below shows the core classes and properties of mUnc.

Simplified model

Examples

In this section, we show some examples to illustrate metadata encoding using mUnc.

Example 1

In this example, we represent the probability theory using mUnc. This theory have one feature representing the probability of the assertion to be true (ex:probabilityValue). The value linked to this feature is a decimal and can be manipulated using different operations (for the sake of the example: Conjunction, Disjunction, Negation). The calculus is represented using LDScript functions.

  prefix ex: <http://example.org/>
  prefix munc: <http://ns.inria.fr/munc/>

    ex:Probability  a   munc:UncertaintyApproach;
                    munc:hasUncertaintyFeature  ex:probabilityValue;
                    munc:hasUncertaintyOperator ex:and, ex:or, ex:not.

    ex:probabilityValue a munc:uncertaintyFeature;
                        rdfs:range xsd:decimal.
              
    ex:probabilityValue ex:and  ex:conjunctionFunction;
                        ex:or   ex:disjunctionFunction;
                        ex:not  ex:negationFunction.

The operations are LDScript functions. Each function have a URI enabling its deferenciation.

  function munc:conjunctionFunction(?P1, ?P2){
    ?P1 * ?P2
  }
  

Once the approach, the Features and the calculus are defined, we can define the values. In this example we annotated both context ex:Biology and sentence ex:S1 with probability information.

    ex:S1 munc:hasMeta [a munc:Uncertainty;
                        ex:probabilityValue 0.7]. 

    ex:Biology munc:hasMeta [a munc:Uncertainty;
                        ex:probabilityValue 0.5].

Finally, a SPARQL query engine can translate the code and match each triple with its convenient uncertainty value. We use LDScript to define the operations (functions for calculus) linked to uncertainty theories.

prefix ex: < http://example.org/ > .
prefix munc: < http://ns.inria.fr/munc/ > .

SELECT ?g ?s ?p ?o ?meta WHERE {
  {
    GRAPH ?g {
      ?s ?p ?object
      ?object rdf:value ?o
      ?object munc:hasMeta ?sentenceMeta
    }
  }
  UNION
  {
    GRAPH ?g {
      ?s ?p ?o
      FILTER (!EXISTS {?o rdf:value ?ob. ?o munc:hasMeta ?mm} && !EXISTS{?s a munc:Uncertainty} && !EXISTS{?s rdf:value ?ob})
    }
    BIND(false as ?sentenceMeta)
  }

  ?g munc:hasMeta ?contextMeta
  BIND(munc:metaList(?sentenceMeta, ?contextMeta) AS ?meta)
}

function munc:metaList(?xT, ?xG){
  if(?xT = false){
    let(SELECT ?xG (group_concat(?GFV;separator="-") as ?metaD) WHERE {SELECT ?xG (CONCAT(?xGF,'=',?xGV) AS ?GFV) WHERE {?xG ?xGF ?xGV. ?xGF rdfs:subPropertyOf munc:uncertaintyFeature}} GROUP BY ?xG){
     ?metaD
   }
  } else {
    let(SELECT ?xT ?xG (group_concat(?FV;separator="-") as ?metaD) WHERE
        {
          SELECT ?xT ?xG (CONCAT(?xF,'=',?xV) AS ?FV) WHERE
          {
              ?xG ?xF ?xV1
              OPTIONAL {?xT ?xF ?xV2}
              ?xF rdfs:subPropertyOf munc:uncertaintyFeature
              ?xF ex:and ?xFFunction
              BIND(IF(BOUND(?xV2),funcall(?xFFunction,?xV1,?xV2),?xV1) AS ?xV)
          }
        } GROUP BY ?xT ?xG){
        ?metaD
    }
  }
}

Classes

Metac back to ToC or Class ToC

IRI: http://ns.inria.fr/munc/v1#Meta

The metadata associated to a Sentence in a certain World (Context).
has sub-classes
Uncertainty c
is in range of
hasMeta op

Sentencec back to ToC or Class ToC

IRI: http://ns.inria.fr/munc/v1#Sentence

The Sentence (Triple, Graph, Graph Pattern) to which Meta is associated in a specific World.
is in domain of
hasMeta op , statedIn op

Uncertaintyc back to ToC or Class ToC

IRI: http://ns.inria.fr/munc/v1#Uncertainty

A subclass of Meta, it enables annotating the Sentence associated to the metadata with uncertainty information.
has super-classes
Meta c
is in domain of
hasUncertaintyApproach op , uncertaintyFeature op

Uncertainty Approachc back to ToC or Class ToC

IRI: http://ns.inria.fr/munc/v1#UncertaintyApproach

Individuals of this class represent uncertainty approaches, which are detailed in the appendix A.
is in domain of
hasUncertaintyFeature op , hasUncertaintyOperator op
is in range of
hasUncertaintyApproach op

Uncertainty Operationc back to ToC or Class ToC

IRI: http://ns.inria.fr/munc/v1#UncertaintyOperation

The Calculus to apply on the Values of a defined Uncertainty Feature.
is in range of
uncertaintyOperator op

Uncertainty Valuec back to ToC or Class ToC

IRI: http://ns.inria.fr/munc/v1#UncertaintyValue

For each Uncertainty Feature, exists (when declared) a corresponding value.
is in range of
uncertaintyFeature op

Worldc back to ToC or Class ToC

IRI: http://ns.inria.fr/munc/v1#World

The context (Graph, Default Graph, etc.) in which the Sentence is associated to Meta. This is used generally by datastores which are unable to represent named graphs.
is in domain of
hasMeta op
is in range of
statedIn op

Object Properties

hasMetaop back to ToC or Object Property ToC

IRI: http://ns.inria.fr/munc/v1#hasMeta

has super-properties
top object property
has domain
Sentence c
World c
has range
Meta c

hasUncertaintyApproachop back to ToC or Object Property ToC

IRI: http://ns.inria.fr/munc/v1#hasUncertaintyApproach

has super-properties
top object property
has domain
Uncertainty c
has range
Uncertainty Approach c

hasUncertaintyFeatureop back to ToC or Object Property ToC

IRI: http://ns.inria.fr/munc/v1#hasUncertaintyFeature

has domain
Uncertainty Approach c
has range
uncertaintyFeature

hasUncertaintyOperatorop back to ToC or Object Property ToC

IRI: http://ns.inria.fr/munc/v1#hasUncertaintyOperator

has super-properties
top object property
has domain
Uncertainty Approach c
has range
uncertaintyOperator

statedInop back to ToC or Object Property ToC

IRI: http://ns.inria.fr/munc/v1#statedIn

has super-properties
top object property
has domain
Sentence c
has range
World c

uncertaintyFeatureop back to ToC or Object Property ToC

IRI: http://ns.inria.fr/munc/v1#uncertaintyFeature

Each Uncertainty approach has some features, which can be metrics or measures to compare, infer or reason over to have a decision about knowledge.
has super-properties
top object property
has domain
Uncertainty c
has range
Uncertainty Value c

uncertaintyOperatorop back to ToC or Object Property ToC

IRI: http://ns.inria.fr/munc/v1#uncertaintyOperator

Each Uncertainty approach has its own logic to reason over metadata, This class defines the methods that can be applied over Uncertainty Values. Such logic is the same used in reasoners and inference engines.
has super-properties
top object property
has domain
uncertaintyFeature
has range
Uncertainty Operation c

Namespace Declarations back to ToC

default namespace
http://ns.inria.fr/munc/
owl
http://www.w3.org/2002/07/owl#
rdf
http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs
http://www.w3.org/2000/01/rdf-schema#
v1
http://ns.inria.fr/munc/v1#
xsd
http://www.w3.org/2001/XMLSchema#

This HsentenceMetaL document was obtained by processing the OWL ontology source code through LODE , Live OWL Documentation Environment , developed by Silvio Peroni .