Explicit Semantics in Graph DBs
Driving Digital Transformation With Neo4j
Dr. Jesús Barrasa - Senior Consultant
Me: Jesús Barrasa
:Researcher
{
topic: Semantic Tech
PhD Thesis : Mapping
RDBMS-RDF
}
:HOLDS_POSITION
{
from: 2002
to: 2007
}
:HOLDS_POSITION
{
from: 2007
to: 2014
}
:Graph+SemanticsSpecialist
{
sector: Telecoms
useCases: [dependency modelling,
impact analysis, root cause,…]
}
pecialist
cy modelling,
cause,…]
:HOLDS_POSITION
{
from: 2015
to: …
}
:GraphConsultant
{
vendor:Neo4j
useCases: [fraud detection,
recommendation,MDM…]
}
ction,
M…]
:Person
{
name: J. Barrasa
twitter: @BarrasaDV
mail: jesus@neo4j.com
}
My talk today
What do they mean when they call it semantics?
Semantics in Graph DBs. Is this a thing?
Explicit semantics in Neo4j: A 5 min experiment
And now what?
Quick show of hands: What do you
mean when you say semantics?
Fragment Syntax Semantic?
:JohnSmith :livesIn :London
:London :cityIn :England RDF/Turtle Y/N
{ uri: “JohnSmith”, livesIn: { uri:“London”, cityIn: { uri:”England”}}} JSON Y/N
(j:Resource { uri:’JohnSmith’})-[:livesIn]->(l:Resource { uri:’London’})
(l)-[:cityIn]->(e:Resource { uri:’England’}) Cypher Y/N
<rdf:RDF>
<rdf:Description rdf:about=“Cljkfkojhg”>
<fjoijlgkih rdf:resource=“lksdfjslkjghhhlkjsfd”/>
</rdf:Description>
</rdf:RDF>
RDF/XML Y/N
{"@graph": [{
"@id": "http://places.com/London",
"v:cityIn": { "@id": “http://places.com/England" }
},{
"@id": "v:cityIn",
"rdfs:domain": { "@id": “v:Location"}, "rdfs:range": { "@id": "v:Location"}
}]}
RDFS (RDF/
JSON-LD)
Y/N
| who | livesIn | | what | cityIn |
|JohnSmith | London | | London | England |
CSV Y/N
Misconception… that some
cheeky RDF vendors keep alive.
Two facts:
John Smith lives in London and London is a city
in England.
And magic will happen…
Two triples:
:JohnSmith :livesIn :London
:London :cityIn :England
One Question:
Who lives in England?
The Query:
SELECT ?who WHERE { ?who :LivesIn
:England }
huh? what’s going on ?!?
A little detail is missing…
If someone lives in a city and that city is in a country, then
we can derive that this someone lives in that country.
But someone has to EXPLICITLY state this for an “intelligent
semantic DB” to apply it to the data
?x :livesIn ?city ^ ?city :cityIn ?ctry => ?x :LivesIn ?ctry
Making the semantics of your data explicit is what operates
the ‘magic’
Now we can try again: Who lives in England?
ANSWER: JohnSmith
more “magic”...
Now with a reasoning engine that understands RDFS
semantics we can ask: What locations do we know?
:cityIn rdfs:domain :Location
:cityIn rdfs:range :Location
:cityIn is a relationship stated between two locations
ANSWER: London and England
I’m a purist (and have a PhD in description logics) so I’m not
writing rules, I use a set of primitives with well defined
meaning like InverseFunctional, Domain, Disjoint, Range
and a generic rules engine will apply them for me on my data.
back to the origins: The Semantic Web
(1) https://www.w3.org/DesignIssues/RDFnot.html
TBL in 1998: The Semantic Web is not AI
[…] it does not imply some magical artificial
intelligence which allows machines to
comprehend human mumblings. It only indicates
a machine's ability to solve a well-defined
problem by performing well-defined
operations on existing well-defined data.
Instead of asking machines to understand
people's language, it involves asking people to
make the extra effort. (1)
:JohnSmith :livesIn :London
:London :cityIn :England
…
:JohnSmith :livesIn :London
:London :cityIn :England
…
An example with (a bit of) code
:JohnSmith :livesIn :London
:London :cityIn :England
…
Implicit Semantics
Application SELECt ?loc WHERE
{ ?loc a :Location}
SELECt ?loc WHERE
{ ?loc a :Location}
Application
Explicit SemanticsSELECt ?loc WHERE
{
}
Application
{ ?loc a :Location }
union
{ [] :livesIn ?loc }
union
{ ?loc :cityIn [] }
union
{ [] :cityIn ?loc }
?x :livesIn ?place
=> ?place a :Location
OWL/RDFS Ontology
:cityIn rdfs:domain :Location
:cityIn rdfs:range :Location
OWL/RDFS Reasoner
?prop refs:domain ?class ^
?res ?prop []
=> ?res a ?class(FC/BC/H) Rules Engine
So a semantic DB is…
• A graph database (often based on the RDF model,
but…)
• Some explicit description of the data in the graph
(typically RDFS/OWL or rule based)
• An (often rules based) domain-independent
processor that applies the explicit semantics
Two consequences:
No, but don’t worry. It’s a GRAPH!
1. Is my DB still semantic if I just use RDF
but don’t make my semantics explicit?
2. RDF is not the only way to build a
semantic DB?
You got it!
After all… RDF Triple store (!)
• Graph based data/knowledge/… exchange model
• Using RDF as an exchange format does not necessarily imply using tiple
storage: Think of Linked Data
• Neo4j for instance can expose graph data as RDF as do other stores or
middleware (DV, D2R).
Indeed, one of the main driving forces for the Semantic
web, has always been the expression, on the Web, of
the vast amount of relational database information in a
way that can be processed by machines (1).
(1) https://www.w3.org/DesignIssues/RDB-RDF.html
RDF is a standard model for data
interchange on the Web.
https://www.w3.org/TR/2004/REC-rdf-primer-20040210/
RDF is a directed, labeled graph data format for
representing information in the Web.
https://www.w3.org/TR/rdf-sparql-query/
So…Linked data, semantic data,
graph data…
Graph Data
LPG Data RDF Data
Explicit Semantics
:abc :custId :def({id:’abc’})-[:custId]->(id:’def’)
:custId a owl:InverseFunctionalProperty
:custId rdfs:domain :Customer
:Customer rdfs:subClassOf :Person
({id: ‘custId’})-[:domain]->({id: ‘Customer’})
({id: ‘Customer’})-[:subClassOf]->({id: ‘Person’})
:abc :def
:custId
:abc :def
:custId
Build a Semantic Graph DB in 5’
• Learn an Ontology from a data set (3’)
• Formalize the ontology -> make semantics explicit (1’)
• Use these semantics to drive your ‘intelligent’
application (1’)
The dataset
• 230K+ article summaries from the Financial Times
Demo...
articleDate articleTitle articleUrl keywords description storySummary
2012-12-17 “Vintage performance” http://… "EU integration, economies,
natural resources, energy policy,
industry, entrepreneurs, investment,
restaurants, filmmaking,
central and eastern Europe”
2013-01-09 "Google and the US
economy”
"On a warm autumn afternoon in Tokaj,
Laszlo Kalocsai waits patiently for his
grapes to turn mouldy. On the edge of the
Carpathian mountains, the best wines are
only possible once the fog-borne fungus
Botrytis cinerea has risen from the
wetlands"
"Thanks to
investment and a
focus on quality
eastern European
wines are now
much in demand”
http://… “Lex” ”A nice easy question: is the US economy
growing or shrinking? The majority view,
to simplify slightly, is that increasing
employment and rising house prices must
amount to an expansion. Dissident
pessimists have a more complicated story.
The current"
"Bullish
investors
should look at
world’s biggest
internet search
group"
More on explicit semantics in
Non-RDF graph DBs
https://jesusbarrasa.wordpress.com
THANK YOU!

More Related Content

PDF
Christian Jakenfelds
PPTX
Semantic Variation Graphs the case for RDF & SPARQL
PDF
Jesús Barrasa
PDF
Debunking some “RDF vs. Property Graph” Alternative Facts
PDF
Property graph vs. RDF Triplestore comparison in 2020
PPT
Semantic web an overview and projects
PDF
JSON-LD and SHACL for Knowledge Graphs
PDF
Graph databases & data integration v2
Christian Jakenfelds
Semantic Variation Graphs the case for RDF & SPARQL
Jesús Barrasa
Debunking some “RDF vs. Property Graph” Alternative Facts
Property graph vs. RDF Triplestore comparison in 2020
Semantic web an overview and projects
JSON-LD and SHACL for Knowledge Graphs
Graph databases & data integration v2

What's hot (20)

PDF
HyperGraphQL
PDF
Why is JSON-LD Important to Businesses - Franz Inc
PDF
schema.org, Linked Data's Gateway Drug
PDF
PhD thesis defense: Large-scale multilingual knowledge extraction, publishin...
PDF
Data quality in Real Estate
PDF
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
PPTX
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
PPTX
LD4KD 2015 - Demos and tools
PDF
GraphDB Cloud: Enterprise Ready RDF Database on Demand
PDF
What_do_Knowledge_Graph_Embeddings_Learn.pdf
PDF
Reasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven Recipes
PPTX
PDF
[Webinar] FactForge Debuts: Trump World Data and Instant Ranking of Industry ...
PDF
Building materialised views for linked data systems using microservices
PDF
SHACL-based data life cycle management
PPTX
Data curation and data archiving at different stages of the research process
PDF
Find your way in Graph labyrinths
PPTX
SHACL: Shaping the Big Ball of Data Mud
PDF
GraphQL and its schema as a universal layer for database access
PDF
Linked Data, Ontologies and Inference
HyperGraphQL
Why is JSON-LD Important to Businesses - Franz Inc
schema.org, Linked Data's Gateway Drug
PhD thesis defense: Large-scale multilingual knowledge extraction, publishin...
Data quality in Real Estate
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
LD4KD 2015 - Demos and tools
GraphDB Cloud: Enterprise Ready RDF Database on Demand
What_do_Knowledge_Graph_Embeddings_Learn.pdf
Reasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven Recipes
[Webinar] FactForge Debuts: Trump World Data and Instant Ranking of Industry ...
Building materialised views for linked data systems using microservices
SHACL-based data life cycle management
Data curation and data archiving at different stages of the research process
Find your way in Graph labyrinths
SHACL: Shaping the Big Ball of Data Mud
GraphQL and its schema as a universal layer for database access
Linked Data, Ontologies and Inference
Ad

Similar to Explicit Semantics in Graph DBs Driving Digital Transformation With Neo4j (20)

PPTX
CSHALS 2010 W3C Semanic Web Tutorial
PPT
A hands on overview of the semantic web
PPT
A Semantic Multimedia Web (Part 2)
PDF
A Hands On Overview Of The Semantic Web
PPTX
Triplestore and SPARQL
PPT
Introduction to RDF
PPTX
SWT Lecture Session 5 - RDFS
PDF
Expressive Querying of Semantic Databases with Incremental Query Rewriting
PPTX
"RDFa - what, why and how?" by Mike Hewett and Shamod Lacoul
PPTX
Semantic Web: introduction & overview
PPTX
Knowledge Graph Introduction
PPTX
Selecting the right database type for your knowledge management needs.
PPTX
Making the semantic web work
PPTX
Architecture Patterns for Semantic Web Applications
PDF
RDF and SPARQL
PPSX
RDF and OWL : the powerful duo | Tara Raafat
PPT
Neno/Fhat: Semantic Network Programming Language and Virtual Machine Specific...
PDF
Build Knowledge Graphs with Oracle RDF to Extract More Value from Your Data
PPTX
One day workshop Linked Data and Semantic Web
CSHALS 2010 W3C Semanic Web Tutorial
A hands on overview of the semantic web
A Semantic Multimedia Web (Part 2)
A Hands On Overview Of The Semantic Web
Triplestore and SPARQL
Introduction to RDF
SWT Lecture Session 5 - RDFS
Expressive Querying of Semantic Databases with Incremental Query Rewriting
"RDFa - what, why and how?" by Mike Hewett and Shamod Lacoul
Semantic Web: introduction & overview
Knowledge Graph Introduction
Selecting the right database type for your knowledge management needs.
Making the semantic web work
Architecture Patterns for Semantic Web Applications
RDF and SPARQL
RDF and OWL : the powerful duo | Tara Raafat
Neno/Fhat: Semantic Network Programming Language and Virtual Machine Specific...
Build Knowledge Graphs with Oracle RDF to Extract More Value from Your Data
One day workshop Linked Data and Semantic Web
Ad

More from Connected Data World (20)

PPTX
Systems that learn and reason | Frank Van Harmelen
PDF
Graph Abstractions Matter by Ora Lassila
PDF
Κnowledge Architecture: Combining Strategy, Data Science and Information Arch...
PPTX
How to get started with Graph Machine Learning
PDF
Graphs in sustainable finance
PPTX
The years of the graph: The future of the future is here
PPTX
From Taxonomies and Schemas to Knowledge Graphs: Parts 1 & 2
PPTX
From Taxonomies and Schemas to Knowledge Graphs: Part 3
PDF
In Search of the Universal Data Model
PDF
Graph in Apache Cassandra. The World’s Most Scalable Graph Database
PDF
Enterprise Data Governance: Leveraging Knowledge Graph & AI in support of a d...
PDF
Graph Realities
PDF
Powering Question-Driven Problem Solving to Improve the Chances of Finding Ne...
PDF
Semantic similarity for faster Knowledge Graph delivery at scale
PDF
Knowledge Graphs and AI to Hyper-Personalise the Fashion Retail Experience at...
PDF
Schema, Google & The Future of the Web
PDF
RAPIDS cuGraph – Accelerating all your Graph needs
PDF
Elegant and Scalable Code Querying with Code Property Graphs
PDF
From Knowledge Graphs to AI-powered SEO: Using taxonomies, schemas and knowle...
PDF
Graph for Good: Empowering your NGO
Systems that learn and reason | Frank Van Harmelen
Graph Abstractions Matter by Ora Lassila
Κnowledge Architecture: Combining Strategy, Data Science and Information Arch...
How to get started with Graph Machine Learning
Graphs in sustainable finance
The years of the graph: The future of the future is here
From Taxonomies and Schemas to Knowledge Graphs: Parts 1 & 2
From Taxonomies and Schemas to Knowledge Graphs: Part 3
In Search of the Universal Data Model
Graph in Apache Cassandra. The World’s Most Scalable Graph Database
Enterprise Data Governance: Leveraging Knowledge Graph & AI in support of a d...
Graph Realities
Powering Question-Driven Problem Solving to Improve the Chances of Finding Ne...
Semantic similarity for faster Knowledge Graph delivery at scale
Knowledge Graphs and AI to Hyper-Personalise the Fashion Retail Experience at...
Schema, Google & The Future of the Web
RAPIDS cuGraph – Accelerating all your Graph needs
Elegant and Scalable Code Querying with Code Property Graphs
From Knowledge Graphs to AI-powered SEO: Using taxonomies, schemas and knowle...
Graph for Good: Empowering your NGO

Recently uploaded (20)

PDF
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
Connector Corner: Transform Unstructured Documents with Agentic Automation
PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PPTX
Internet of Everything -Basic concepts details
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
Electrocardiogram sequences data analytics and classification using unsupervi...
PDF
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
PDF
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
PDF
CEH Module 2 Footprinting CEH V13, concepts
PDF
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
PDF
Auditboard EB SOX Playbook 2023 edition.
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
EIS-Webinar-Regulated-Industries-2025-08.pdf
PDF
The AI Revolution in Customer Service - 2025
PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PDF
LMS bot: enhanced learning management systems for improved student learning e...
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
Connector Corner: Transform Unstructured Documents with Agentic Automation
Rapid Prototyping: A lecture on prototyping techniques for interface design
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
Internet of Everything -Basic concepts details
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
Electrocardiogram sequences data analytics and classification using unsupervi...
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
CEH Module 2 Footprinting CEH V13, concepts
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
Auditboard EB SOX Playbook 2023 edition.
Advancing precision in air quality forecasting through machine learning integ...
EIS-Webinar-Regulated-Industries-2025-08.pdf
The AI Revolution in Customer Service - 2025
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
LMS bot: enhanced learning management systems for improved student learning e...

Explicit Semantics in Graph DBs Driving Digital Transformation With Neo4j

  • 1. Explicit Semantics in Graph DBs Driving Digital Transformation With Neo4j Dr. Jesús Barrasa - Senior Consultant
  • 2. Me: Jesús Barrasa :Researcher { topic: Semantic Tech PhD Thesis : Mapping RDBMS-RDF } :HOLDS_POSITION { from: 2002 to: 2007 } :HOLDS_POSITION { from: 2007 to: 2014 } :Graph+SemanticsSpecialist { sector: Telecoms useCases: [dependency modelling, impact analysis, root cause,…] } pecialist cy modelling, cause,…] :HOLDS_POSITION { from: 2015 to: … } :GraphConsultant { vendor:Neo4j useCases: [fraud detection, recommendation,MDM…] } ction, M…] :Person { name: J. Barrasa twitter: @BarrasaDV mail: [email protected] }
  • 3. My talk today What do they mean when they call it semantics? Semantics in Graph DBs. Is this a thing? Explicit semantics in Neo4j: A 5 min experiment And now what?
  • 4. Quick show of hands: What do you mean when you say semantics? Fragment Syntax Semantic? :JohnSmith :livesIn :London :London :cityIn :England RDF/Turtle Y/N { uri: “JohnSmith”, livesIn: { uri:“London”, cityIn: { uri:”England”}}} JSON Y/N (j:Resource { uri:’JohnSmith’})-[:livesIn]->(l:Resource { uri:’London’}) (l)-[:cityIn]->(e:Resource { uri:’England’}) Cypher Y/N <rdf:RDF> <rdf:Description rdf:about=“Cljkfkojhg”> <fjoijlgkih rdf:resource=“lksdfjslkjghhhlkjsfd”/> </rdf:Description> </rdf:RDF> RDF/XML Y/N {"@graph": [{ "@id": "http://places.com/London", "v:cityIn": { "@id": “http://places.com/England" } },{ "@id": "v:cityIn", "rdfs:domain": { "@id": “v:Location"}, "rdfs:range": { "@id": "v:Location"} }]} RDFS (RDF/ JSON-LD) Y/N | who | livesIn | | what | cityIn | |JohnSmith | London | | London | England | CSV Y/N
  • 5. Misconception… that some cheeky RDF vendors keep alive. Two facts: John Smith lives in London and London is a city in England. And magic will happen… Two triples: :JohnSmith :livesIn :London :London :cityIn :England One Question: Who lives in England? The Query: SELECT ?who WHERE { ?who :LivesIn :England } huh? what’s going on ?!?
  • 6. A little detail is missing… If someone lives in a city and that city is in a country, then we can derive that this someone lives in that country. But someone has to EXPLICITLY state this for an “intelligent semantic DB” to apply it to the data ?x :livesIn ?city ^ ?city :cityIn ?ctry => ?x :LivesIn ?ctry Making the semantics of your data explicit is what operates the ‘magic’ Now we can try again: Who lives in England? ANSWER: JohnSmith
  • 7. more “magic”... Now with a reasoning engine that understands RDFS semantics we can ask: What locations do we know? :cityIn rdfs:domain :Location :cityIn rdfs:range :Location :cityIn is a relationship stated between two locations ANSWER: London and England I’m a purist (and have a PhD in description logics) so I’m not writing rules, I use a set of primitives with well defined meaning like InverseFunctional, Domain, Disjoint, Range and a generic rules engine will apply them for me on my data.
  • 8. back to the origins: The Semantic Web (1) https://www.w3.org/DesignIssues/RDFnot.html TBL in 1998: The Semantic Web is not AI […] it does not imply some magical artificial intelligence which allows machines to comprehend human mumblings. It only indicates a machine's ability to solve a well-defined problem by performing well-defined operations on existing well-defined data. Instead of asking machines to understand people's language, it involves asking people to make the extra effort. (1)
  • 9. :JohnSmith :livesIn :London :London :cityIn :England … :JohnSmith :livesIn :London :London :cityIn :England … An example with (a bit of) code :JohnSmith :livesIn :London :London :cityIn :England … Implicit Semantics Application SELECt ?loc WHERE { ?loc a :Location} SELECt ?loc WHERE { ?loc a :Location} Application Explicit SemanticsSELECt ?loc WHERE { } Application { ?loc a :Location } union { [] :livesIn ?loc } union { ?loc :cityIn [] } union { [] :cityIn ?loc } ?x :livesIn ?place => ?place a :Location OWL/RDFS Ontology :cityIn rdfs:domain :Location :cityIn rdfs:range :Location OWL/RDFS Reasoner ?prop refs:domain ?class ^ ?res ?prop [] => ?res a ?class(FC/BC/H) Rules Engine
  • 10. So a semantic DB is… • A graph database (often based on the RDF model, but…) • Some explicit description of the data in the graph (typically RDFS/OWL or rule based) • An (often rules based) domain-independent processor that applies the explicit semantics
  • 11. Two consequences: No, but don’t worry. It’s a GRAPH! 1. Is my DB still semantic if I just use RDF but don’t make my semantics explicit? 2. RDF is not the only way to build a semantic DB? You got it!
  • 12. After all… RDF Triple store (!) • Graph based data/knowledge/… exchange model • Using RDF as an exchange format does not necessarily imply using tiple storage: Think of Linked Data • Neo4j for instance can expose graph data as RDF as do other stores or middleware (DV, D2R). Indeed, one of the main driving forces for the Semantic web, has always been the expression, on the Web, of the vast amount of relational database information in a way that can be processed by machines (1). (1) https://www.w3.org/DesignIssues/RDB-RDF.html RDF is a standard model for data interchange on the Web. https://www.w3.org/TR/2004/REC-rdf-primer-20040210/ RDF is a directed, labeled graph data format for representing information in the Web. https://www.w3.org/TR/rdf-sparql-query/
  • 13. So…Linked data, semantic data, graph data… Graph Data LPG Data RDF Data Explicit Semantics :abc :custId :def({id:’abc’})-[:custId]->(id:’def’) :custId a owl:InverseFunctionalProperty :custId rdfs:domain :Customer :Customer rdfs:subClassOf :Person ({id: ‘custId’})-[:domain]->({id: ‘Customer’}) ({id: ‘Customer’})-[:subClassOf]->({id: ‘Person’}) :abc :def :custId :abc :def :custId
  • 14. Build a Semantic Graph DB in 5’ • Learn an Ontology from a data set (3’) • Formalize the ontology -> make semantics explicit (1’) • Use these semantics to drive your ‘intelligent’ application (1’)
  • 15. The dataset • 230K+ article summaries from the Financial Times Demo... articleDate articleTitle articleUrl keywords description storySummary 2012-12-17 “Vintage performance” http://… "EU integration, economies, natural resources, energy policy, industry, entrepreneurs, investment, restaurants, filmmaking, central and eastern Europe” 2013-01-09 "Google and the US economy” "On a warm autumn afternoon in Tokaj, Laszlo Kalocsai waits patiently for his grapes to turn mouldy. On the edge of the Carpathian mountains, the best wines are only possible once the fog-borne fungus Botrytis cinerea has risen from the wetlands" "Thanks to investment and a focus on quality eastern European wines are now much in demand” http://… “Lex” ”A nice easy question: is the US economy growing or shrinking? The majority view, to simplify slightly, is that increasing employment and rising house prices must amount to an expansion. Dissident pessimists have a more complicated story. The current" "Bullish investors should look at world’s biggest internet search group"
  • 16. More on explicit semantics in Non-RDF graph DBs https://jesusbarrasa.wordpress.com