SlideShare a Scribd company logo
Introducing Subjective Knowledge Graphs
Francisco J. Navarrete and Antonio Vallecillo
ITIS Software, Universidad de Málaga, Spain
Knowledge Graphs
< Da Vinci, painted, Mona Lisa >
< Lily, interested in, Da Vinci >
< Lily, is a, Person >
< Mona Lisa, is in, Louvre >
< Louvre, is a, Museum >
< Louvre, is located in, Paris >
< Tour Eiffel, is located in, Paris >
< Paris, is a, Place>
< Lily, is a friend of, James >
< Mary, likes, John >
< Lee Harvey Oswald, killed, JFK >
killed
likes
2
“Probabilistic” Knowledge Graphs (PKG)
< Mary, likes, John, 0.65 > < Lee Harvey Oswald, killed, JFK, 0.7 >
killed (0.7)
likes (0.65)
3
“Probabilistic” Knowledge Graphs (PKG)
< Mary, likes, John, 0.65 > < Lee Harvey Oswald, killed, JFK, 0.7 >
However
 Confidence score is unique and objective
 Probability theory does not allow dealing with uncertainty, i.e., either ignorance or
impossibility to assign an accurate probability to a fact
 Different users may have different opinions (or beliefs) about these facts
Our proposal
 Use Subjective logic to represent opinions, and extend PKGs with subjective opinions
killed (0.7)
likes (0.65)
4
Boolean Logic
false = 0 true = 1
5
Probabilistic logic
false = 0 true = 1
6
Kleene (three-valued) Logic
Uncertainty
7
Subjective Logic (Audun Jøsang, 2001-16)
8
Subjective Logic (Audun Jøsang, 2001-16)
9
Subjective logic
 Extension of probabilistic logic that takes uncertainty into account
 Extension of logic operators: and, or, implies, not, …
 fusion operators => combining opinions from different users about the same statement
• b => belief that x is true
• d => degree of belief that x is false
• u => degree of uncertainty about x
• a => prior probability of x, without any previous evidence
• b + d + u = 1
• 0 ≤ b, d, u, a ≤ 1
• P = b + au
Given “a”: (b, d, u) ↔ (P, u)
10
Different people can express their subjective opinions
< Oct 11, rains, Brisbane, 0.65 >
< Oct 12, rains, Brisbane, 0.68 >
< Oct 13, rains, Brisbane, 0.59 >
< Oct 14, rains, Brisbane, 0.40 >
< Oct 15, rains, Brisbane, 0.40 >
< Oct 16, rains, Brisbane, 0.0 >
(0.3,0.6,0.1,0.59); P=0.36
(0.4,0.1,0.5,0.59); P=0.7
(0.59,0.11,0.3,0.59); P=0.77
11
Extending PKGs to SKGs
 A PKG about Laws (L) that can be applied to legal cases (C)
< L1, appliesTo, C1, 0.8 >
< L2, appliesTo, C2, 0.9 >
< L3, appliesTo, C3, 0.7 >
< L4, appliesTo, C3, 0.6 >
< L4, appliesTo, C4, 0.9 >
< C2, similarTo, C3, 0.9 >
< C4, similarTo, C5, 0.8 >
12
“Subjective” Knowledge Graphs
< L1, appliesTo, C1, 0.8, {(Lucy; 0.6, 0.3)} >
< L2, appliesTo, C2, 0.9, {(Mary; 0.5, 0.5), (John; 0.9, 0.1)} >
< L3, appliesTo, C3, 0.7, {(Mary; 0.6, 0.5), (Lucy; 0.9, 0.2), (John; 0.8, 0.1)} >
< L4, appliesTo, C3, 0.6, {(Mary; 0.9, 0.2), (Lucy; 0.7, 0.2), (John; 0.4, 0.6)} >
< L4, appliesTo, C4, 0.9, {(Mary; 0.8, 0.5), (John; 0.7, 0.1)} >
< C2, similarTo, C3, 0.9, {(Lucy; 0.7, 0.3), (John; 0.9, 0.1)} >
< C4, similarTo, C5, 0.8, {(Mary; 0.4, 0.5), (Lucy; 0.5, 0.5) , (John; 0.9, 0.1)} >
13
Mary John Lucy
Reasoning with opinions
14
Reaching consensus
 Using the Average Belief Fusion operator in this case
15
Implementation in Neo4j
Queries with Cypher:
16
Reasoning with subjective opinions
17
Evaluation and future work
Evaluation: Scalability and performance
 Probabilistic Knowledge Graph from NELL
• 2.12 Million nodes and 644,899 relations and associated confidence scores
 Different queries using our neo4j implementation
• Results in the order of milliseconds (as in NELL)
 Added subjective opinions from different belief agents
• Responses between 1.28 and 1.6 times the original ones
Further issues (to be investigated as part of future work)
 Use of Subjective logic by domain experts (usability, correctness)
 Representation of individual opinions
• (a) Subjective opinions; (b) projections + uncertainty, or (c) Likhert scales (probably, possibly, unlikely)
 Temporal validity of opinions
 Correlated facts
 Further case studies and applications
18
Introducing Subjective Knowledge Graphs
Francisco J. Navarrete and Antonio Vallecillo
ITIS Software, Universidad de Málaga, Spain

More Related Content

PDF
Subjective Logic Extensions for the Web and the Semantic Web
PPTX
Semantic, Cognitive and Perceptual Computing -Using semantics and statistics ...
PDF
6. kr paper journal nov 11, 2017 (edit a)
PPTX
Building AI Applications using Knowledge Graphs
PPT
PPT-UEU-Sistem-Pendukung-Keputusan-Pertemuan-11.ppt
PPTX
Unit 2.pptx
PPTX
Abductive commonsense reasoning
PPT
KnowledgeRepresentation in artificial intelligence.ppt
Subjective Logic Extensions for the Web and the Semantic Web
Semantic, Cognitive and Perceptual Computing -Using semantics and statistics ...
6. kr paper journal nov 11, 2017 (edit a)
Building AI Applications using Knowledge Graphs
PPT-UEU-Sistem-Pendukung-Keputusan-Pertemuan-11.ppt
Unit 2.pptx
Abductive commonsense reasoning
KnowledgeRepresentation in artificial intelligence.ppt

Similar to Introducing Subjective Knowledge Graphs (20)

PPT
Artificial Intelligence: Knowledge Acquisition
PDF
An Approach to Automated Learning of Conceptual Graphs from Text
PPT
Knowledge_Representbhhggghhhhhhhtrrghjuuuuation.ppt
PPTX
module-2 ppt knowledge representation computer application
PDF
Cerutti-AT2013-Graphical Subjective Logic
PDF
Effective Semantics for Engineering NLP Systems
PDF
Report on the First Knowledge Graph Reasoning Challenge 2018 -Toward the eXp...
ODP
Machine Learning with and for Semantic Web Knowledge Graphs
PPT
Where Does It Break?
PPTX
Artificial Intelligence - Reason and Planning
PDF
A Comparative Study of different Classifiers on Political Data for Classifica...
PPTX
Assessing, Creating and Using Knowledge Graph Restrictions
PDF
Subjective Probabilistic Knowledge Grading and Comprehension
PPTX
PPT ON INTRODUCTION TO AI- UNIT-1-PART-3.pptx
PDF
RuleML2015: Rule Generalization Strategies in Incremental Learning of Disjunc...
PDF
RuleML2015: Rule Generalization Strategies in Incremental Learning of Disjunc...
PDF
Rule Generalization Strategies in Incremental Learning of Disjunctive Concepts
PPTX
Knowledge-Based agent and representation.pptx
PPT
4KN Editted 2012.ppt
PDF
week1 - What_Is_A_Knowledge_Graphs_S.pdf
Artificial Intelligence: Knowledge Acquisition
An Approach to Automated Learning of Conceptual Graphs from Text
Knowledge_Representbhhggghhhhhhhtrrghjuuuuation.ppt
module-2 ppt knowledge representation computer application
Cerutti-AT2013-Graphical Subjective Logic
Effective Semantics for Engineering NLP Systems
Report on the First Knowledge Graph Reasoning Challenge 2018 -Toward the eXp...
Machine Learning with and for Semantic Web Knowledge Graphs
Where Does It Break?
Artificial Intelligence - Reason and Planning
A Comparative Study of different Classifiers on Political Data for Classifica...
Assessing, Creating and Using Knowledge Graph Restrictions
Subjective Probabilistic Knowledge Grading and Comprehension
PPT ON INTRODUCTION TO AI- UNIT-1-PART-3.pptx
RuleML2015: Rule Generalization Strategies in Incremental Learning of Disjunc...
RuleML2015: Rule Generalization Strategies in Incremental Learning of Disjunc...
Rule Generalization Strategies in Incremental Learning of Disjunctive Concepts
Knowledge-Based agent and representation.pptx
4KN Editted 2012.ppt
week1 - What_Is_A_Knowledge_Graphs_S.pdf
Ad

More from Antonio Vallecillo (20)

PDF
Modeling Objects with Uncertain Behaviors
PPTX
Using UML and OCL Models to realize High-Level Digital Twins
PPTX
Modeling behavioral deontic constraints using UML and OCL
PDF
Modeling and Evaluating Quality in the Presence of Uncertainty
PDF
Research Evaluation - The current situation in Spain
PDF
Belief Uncertainty in Software Models
PDF
Adding Random Operations to OCL
PPTX
Extending Complex Event Processing to Graph-structured Information
PPTX
Towards a Body of Knowledge for Model-Based Software Engineering
PDF
La Ingeniería Informática no es una Ciencia -- Reflexiones sobre la Educación...
PDF
La Ética en la Ingeniería de Software de Pruebas: Necesidad de un Código Ético
PDF
La ingeniería del software en España: retos y oportunidades
PPTX
Los Estudios de Posgrado de la Universidad de Málaga
PPTX
El papel de los MOOCs en la Formación de Posgrado. El reto de la Universidad...
PPTX
La enseñanza digital y los MOOC en la UMA. Presentación en el XV encuentro de...
PDF
El doctorado en Informática: ¿Nuevo vino en viejas botellas? (Charla U. Sevil...
PPTX
Accountable objects: Modeling Liability in Open Distributed Systems
PPTX
Models And Meanings
PPTX
Improving Naming and Grouping in UML
PPTX
On the Combination of Domain Specific Modeling Languages
Modeling Objects with Uncertain Behaviors
Using UML and OCL Models to realize High-Level Digital Twins
Modeling behavioral deontic constraints using UML and OCL
Modeling and Evaluating Quality in the Presence of Uncertainty
Research Evaluation - The current situation in Spain
Belief Uncertainty in Software Models
Adding Random Operations to OCL
Extending Complex Event Processing to Graph-structured Information
Towards a Body of Knowledge for Model-Based Software Engineering
La Ingeniería Informática no es una Ciencia -- Reflexiones sobre la Educación...
La Ética en la Ingeniería de Software de Pruebas: Necesidad de un Código Ético
La ingeniería del software en España: retos y oportunidades
Los Estudios de Posgrado de la Universidad de Málaga
El papel de los MOOCs en la Formación de Posgrado. El reto de la Universidad...
La enseñanza digital y los MOOC en la UMA. Presentación en el XV encuentro de...
El doctorado en Informática: ¿Nuevo vino en viejas botellas? (Charla U. Sevil...
Accountable objects: Modeling Liability in Open Distributed Systems
Models And Meanings
Improving Naming and Grouping in UML
On the Combination of Domain Specific Modeling Languages
Ad

Recently uploaded (20)

PDF
Complete Guide to Website Development in Malaysia for SMEs
PDF
Nekopoi APK 2025 free lastest update
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Monitoring Stack: Grafana, Loki & Promtail
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
medical staffing services at VALiNTRY
PDF
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
PDF
AutoCAD Professional Crack 2025 With License Key
Complete Guide to Website Development in Malaysia for SMEs
Nekopoi APK 2025 free lastest update
Advanced SystemCare Ultimate Crack + Portable (2025)
Computer Software and OS of computer science of grade 11.pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Monitoring Stack: Grafana, Loki & Promtail
Operating system designcfffgfgggggggvggggggggg
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
medical staffing services at VALiNTRY
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
CHAPTER 2 - PM Management and IT Context
Oracle Fusion HCM Cloud Demo for Beginners
Designing Intelligence for the Shop Floor.pdf
Design an Analysis of Algorithms II-SECS-1021-03
Wondershare Filmora 15 Crack With Activation Key [2025
Design an Analysis of Algorithms I-SECS-1021-03
Digital Systems & Binary Numbers (comprehensive )
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
AutoCAD Professional Crack 2025 With License Key

Introducing Subjective Knowledge Graphs

  • 1. Introducing Subjective Knowledge Graphs Francisco J. Navarrete and Antonio Vallecillo ITIS Software, Universidad de Málaga, Spain
  • 2. Knowledge Graphs < Da Vinci, painted, Mona Lisa > < Lily, interested in, Da Vinci > < Lily, is a, Person > < Mona Lisa, is in, Louvre > < Louvre, is a, Museum > < Louvre, is located in, Paris > < Tour Eiffel, is located in, Paris > < Paris, is a, Place> < Lily, is a friend of, James > < Mary, likes, John > < Lee Harvey Oswald, killed, JFK > killed likes 2
  • 3. “Probabilistic” Knowledge Graphs (PKG) < Mary, likes, John, 0.65 > < Lee Harvey Oswald, killed, JFK, 0.7 > killed (0.7) likes (0.65) 3
  • 4. “Probabilistic” Knowledge Graphs (PKG) < Mary, likes, John, 0.65 > < Lee Harvey Oswald, killed, JFK, 0.7 > However  Confidence score is unique and objective  Probability theory does not allow dealing with uncertainty, i.e., either ignorance or impossibility to assign an accurate probability to a fact  Different users may have different opinions (or beliefs) about these facts Our proposal  Use Subjective logic to represent opinions, and extend PKGs with subjective opinions killed (0.7) likes (0.65) 4
  • 5. Boolean Logic false = 0 true = 1 5
  • 8. Subjective Logic (Audun Jøsang, 2001-16) 8
  • 9. Subjective Logic (Audun Jøsang, 2001-16) 9
  • 10. Subjective logic  Extension of probabilistic logic that takes uncertainty into account  Extension of logic operators: and, or, implies, not, …  fusion operators => combining opinions from different users about the same statement • b => belief that x is true • d => degree of belief that x is false • u => degree of uncertainty about x • a => prior probability of x, without any previous evidence • b + d + u = 1 • 0 ≤ b, d, u, a ≤ 1 • P = b + au Given “a”: (b, d, u) ↔ (P, u) 10
  • 11. Different people can express their subjective opinions < Oct 11, rains, Brisbane, 0.65 > < Oct 12, rains, Brisbane, 0.68 > < Oct 13, rains, Brisbane, 0.59 > < Oct 14, rains, Brisbane, 0.40 > < Oct 15, rains, Brisbane, 0.40 > < Oct 16, rains, Brisbane, 0.0 > (0.3,0.6,0.1,0.59); P=0.36 (0.4,0.1,0.5,0.59); P=0.7 (0.59,0.11,0.3,0.59); P=0.77 11
  • 12. Extending PKGs to SKGs  A PKG about Laws (L) that can be applied to legal cases (C) < L1, appliesTo, C1, 0.8 > < L2, appliesTo, C2, 0.9 > < L3, appliesTo, C3, 0.7 > < L4, appliesTo, C3, 0.6 > < L4, appliesTo, C4, 0.9 > < C2, similarTo, C3, 0.9 > < C4, similarTo, C5, 0.8 > 12
  • 13. “Subjective” Knowledge Graphs < L1, appliesTo, C1, 0.8, {(Lucy; 0.6, 0.3)} > < L2, appliesTo, C2, 0.9, {(Mary; 0.5, 0.5), (John; 0.9, 0.1)} > < L3, appliesTo, C3, 0.7, {(Mary; 0.6, 0.5), (Lucy; 0.9, 0.2), (John; 0.8, 0.1)} > < L4, appliesTo, C3, 0.6, {(Mary; 0.9, 0.2), (Lucy; 0.7, 0.2), (John; 0.4, 0.6)} > < L4, appliesTo, C4, 0.9, {(Mary; 0.8, 0.5), (John; 0.7, 0.1)} > < C2, similarTo, C3, 0.9, {(Lucy; 0.7, 0.3), (John; 0.9, 0.1)} > < C4, similarTo, C5, 0.8, {(Mary; 0.4, 0.5), (Lucy; 0.5, 0.5) , (John; 0.9, 0.1)} > 13 Mary John Lucy
  • 15. Reaching consensus  Using the Average Belief Fusion operator in this case 15
  • 18. Evaluation and future work Evaluation: Scalability and performance  Probabilistic Knowledge Graph from NELL • 2.12 Million nodes and 644,899 relations and associated confidence scores  Different queries using our neo4j implementation • Results in the order of milliseconds (as in NELL)  Added subjective opinions from different belief agents • Responses between 1.28 and 1.6 times the original ones Further issues (to be investigated as part of future work)  Use of Subjective logic by domain experts (usability, correctness)  Representation of individual opinions • (a) Subjective opinions; (b) projections + uncertainty, or (c) Likhert scales (probably, possibly, unlikely)  Temporal validity of opinions  Correlated facts  Further case studies and applications 18
  • 19. Introducing Subjective Knowledge Graphs Francisco J. Navarrete and Antonio Vallecillo ITIS Software, Universidad de Málaga, Spain

Editor's Notes

  • #2: Good morning. This work introduces Subjective Knowledge graphs, and has been developed by Francisco Navarrete and Antonio Vallecillo, from the University of Malaga, Spain.
  • #3: Let’s start by remembering that Knowledge Graphs provide structured representation of real-world entities and relations in the form of the so-called Subject-Predicate-Object triples that describe facts. Examples of these triples are “Da Vinci painted Mona Lisa”, “Tour Eiffel is located in Paris”, or “Mary Likes John”. They are used by search engines such as Google, Bing, or Yahoo; knowledge-engines and question-answering services Apple's Siri, and Amazon Alexa; and by social networks such as LinkedIn or Facebook.
  • #4: Since knowledge is not free from uncertainty, Probabilistic Knowledge Graphs associate a “confidence score” to each triple, which is a weight that represents the likelihood of the fact or the intensity of the relationship represented by the triple. Normally, probabilities are used to represent confidence scores. For example “Mary likes John with a confidence score of 0.65”, or “Lee Harvey Oswald killed JFK with a probability of 0.7”.
  • #5: However, sometimes assigning a probability to a fact is difficult because there is always a related uncertainty. Besides, two users may have different opinions about the same fact, and could assign different confidence scores to it. Standard probability falls short for addressing these issues, and this is where Subjective Logic comes into play.
  • #6: To understand subjective logic and its power, let’s start first by classical Boolean logic, where you only have true and false (or 1 and 0) to represent, respectively, belief and disbelief on a given fact.
  • #7: Probabilistic logic extends Boolean logic by being able to assign a degree of belief to a fact, by means of a number between 0 and 1. However, this approach cannot capture uncertainty.
  • #8: Kleene logic helps here, defining three discrete values: true, false, and don’t know. However, no degrees of belief or disbelief can be captured.
  • #9: Subjective logic embraces and extends these approaches by assigning a degree of belief, a degree of disbelief, and a degree of uncertainty to each opinion.
  • #10: There is a whole theory about subjective logic, which, interestingly, was developed by Audun Josang partly here in Brisbane during his stay at the DSTC in early 2000!
  • #11: In addition to extending the traditional Boolean operators “and”, “or”, “implies”, “not”, etc., this logic allows different users to express different opinions. It also provides operators to combine these opinions in order to reach consensus (the so-called “fusion” operators). A subjective opinion is formed by a tuple composed of a degree of belief, a degree of disbelief, a degree of uncertainty, and the prior probability over which the opinion is made. Being an extension of Probabilistic logic, probabilities can be lifted to subjective opinions, and also subjective opinions can be projected into probabilities. The projection operation P is used for this. P equals b plus a times u. Something that we will later use is the fact that, given a prior probability “a”, users can express their opinions either by stating their degrees of belief, disbelief and uncertainty, or by simply stating their projected (or posterior) probability and the degree of uncertainty. We realized that sometimes this is much easier for users.
  • #12: For example, consider the common case of a weather forecast service. Given a prior probability of 59 % chances of rain in Brisbane on Wednesday, three people can express different opinions, depending on how much they trust the weather forecasting service. The three users are able to express their degrees of uncertainty, while the projected probability reflects the new chances of rain each one expects. This is precisely how we propose to extend probabilistic knowledge graphs, in order to build subjective knowledge graphs
  • #13: To illustrate our proposal, the following example shows a Probabilistic Knowledge Graph with laws that can be applied to legal cases C1 to C5. Some legal cases can be considered somehow similar, with a given confidence score, and therefore other laws can be applied to them too. The standard reasoning mechanisms defined for PKGs allow reaching the conclusions drawn in the table, which shows the best law that can be applied to each legal case.
  • #14: Now, suppose three jurists, Mary, John and Lucy, who have some opinions about these tuples. Our proposal allows them to associate individual subjective opinions to the tuples. Each opinion is represented by the person stating the opinion, their projected probability and their degree of uncertainty. If a user does not express any opinion, we understand that he or she agrees with the prior probability assigned to the fact.
  • #15: Then, we can perform the same analysis that we did for the Probabilistic Knowledge Graph, but now on individual basis We are also able to take into account the individual opinions and degrees of uncertainty expressed by the different users. We can see how John thinks that Law 2 should be applied to legal Case 3, whilst Mary thinks that Law 4 should be applied instead, and Lucy thinks it is Law 3.
  • #16: More interestingly, we can also merge these individual opinions using the subjective logic fusion operators, such as the Average Belief Function (or ABF). The result of the merge is that law L3 should be applied to legal case 3. Note how, on top of the projected probability, the degree of uncertainty should be considered too, in order to avoid basing decisions on opinions with very high uncertainty levels.
  • #17: We have fully implemented our proposal using a graph database, neo4j, and developed the corresponding operations in Java that implement the Subjective Logic operators. These methods can be used from the Cypher language when querying the database and when performing knowledge graph analysis activities.
  • #18: For instance, this is the result of the query used to merge the opinions by the three jurists and to compute the results for the three possible laws to apply to legal case 3.
  • #19: Finally, we evaluated our proposal, to check 3 main things: First, whether our proposed implementation could deal with large knowledge graphs. Second, if the response times of our queries were acceptable. And third, to measure the overhead of using subjective logic instead of plain probabilities. The results obtained are very promising, as we were able to deal with an existing database of over 2 million nodes and perform queries in the order of milliseconds. Moreover, the overhead introduced by the subjective logic and its operators was only 1.5, which is reasonable for this order of times. Finally, we plan to continue working on this topic along several lines of research. For example, evaluating the usability of our proposal, and investigating different ways of expressing and representing subjective opinions. We also plan to add temporal validity to opinions, and to study how to deal with opinions about correlated facts.
  • #20: This is all, thanks for your attention. More information can be found in the paper.