spice-h2020 / SON

This repository contains the source code of the SPICE Ontology Network
5 stars 0 forks source link

Provenance of the emotions associated to the cultural entities #8

Open luigi-asprino opened 3 years ago

luigi-asprino commented 3 years ago

Depends on

Independent

Description

The text annotator recognises the emotion "love" in the Anna's utterance: "I adore the Mona Lisa".

Source

WP6 working group

Competency Questions

CQ1) What is the provenance of these emotions associated to the Cultural entity x?

Ontology/Ontology Design Patterns Relevant for the scenario

SPARQL Questions

PREFIX emotion: <https://w3id.org/spice/SON/emotion/>
PREFIX ex: <http://example.org/>

SELECT DISTINCT ?activity  WHERE {
ex:emotionRelation a emotion:EmotionRelation ;
   emotion:stimulus ex:MonaLisa ;
   emotion:emotion ex:Love ;
   emotion:experiencer ex:Anna ;
   <http://www.w3.org/ns/prov#wasGeneratedBy> ?activity .
}

Toy Dataset/SPARQL Endpoint

@prefix emotion: <https://w3id.org/spice/SON/emotion/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <http://example.org/> .

ex:emotionRelation a emotion:EmotionRelation ;  
   emotion:stimulus ex:MonaLisa ;
   emotion:emotion ex:Love ;
   emotion:experiencer ex:Anna ;
   <http://www.w3.org/ns/prov#wasGeneratedBy> ex:activity .

ex:activity rdfs:label '''Text annotation by tool x at time t on the utterance "I adore the Mona Lisa"'''.

Available here

Unit test

Available here