SlideShare une entreprise Scribd logo
1  sur  23
Télécharger pour lire hors ligne
The
Constellation

Query
Language
Clifford
Heath,
Data
Constellation
Copyright © 2010 Data Constellation
Copyright © 2010 Data ConstellationImage Copyright Andrew Lipson 2005. Used with permission. Not affiliated with Lego™
The Enterprise
is a mess
Copyright © 2010 Data Constellation
One­way

communication
•Software
folk
translate
user
stories
into

precise
abstractions
(UML,
ER,
etc)
•The
abstractions
are
mostly
unreadable

by
the
business
­>
No
backchannel!
•Only
the
built
artefacts
communicate

our
misunderstandings
­>
Late!
Copyright © 2010 Data Constellation
Loss of Semantics
Copyright © 2010 Data Constellation
Semantics
• Each
term
denotes
a
type
of
thing
• Each
thing
is
associated
with
others
• These
associations
are
connotations
• “Meaning”
is
the
sum
of
all
connotations
• Every
person
has
different
connotations
“The shared meanings of a community”
Copyright © 2010 Data Constellation
Relations,
Objects,

Graphs,
or...
Facts?
Copyright © 2010 Data Constellation
Constellation
Query
Language
Copyright © 2010 Data Constellation
Insurance
Simplified
(contd.)
Copyright © 2010 Data Constellation
Relational
Mapping
Copyright © 2010 Data Constellation
Insurance
Claim
(complete)
Schema has been modified to suit a Rails application
Copyright © 2010 Data Constellation
Insurance
(snippets)
Driver
is
a
kind
of
Person;
Vehicle
Incident
is
a
kind
of
Incident;
Driving
is
where
Driver
drove
vehicle
in
Vehicle
Incident;
Vehicle
Incident
followed
Intoxication;
Driving
Charge
is
where
Driving
resulted
in
Charge;

Driving
Charge
is
a
warning;
These definitions support the example that follows.
Copyright © 2010 Data Constellation
Instance
Data
Copyright © 2010 Data Constellation
Diplomacy
Model
Object
and
fact
types
Copyright © 2010 Data Constellation
Diplomacy
model
­
constraints
CQL supports many constraint types:
Mandatory, Uniqueness, Frequency,
Subset, Equality, Exclusion, Ring, Value, etc.
Copyright © 2010 Data Constellation
ORM2
A
graphical

language
for
fact­oriented

modeling.
Copyright © 2010 Data Constellation
Relational
Mapping
Copyright © 2010 Data Constellation
SQL
Copyright © 2010 Data Constellation
Ruby
Ruby fact-oriented DSL
* uses meta-programming
* assert/retract, no new/delete
* fully co-referenced.
Copyright © 2010 Data Constellation
Simple
Query
Person
has
given
Name
‘Daniel’?
Person
has
given
Name,




given
Name
=
‘Daniel’?
... a contraction of the value join:
Copyright © 2010 Data Constellation
Units
conversion
Area
is
written
as
Real
in
mm^2;
Pane
has
Area:
Pane
of
glass
has
Width,
Pane
of
glass
has
Height,
Width
*
Height
=
Area;
large
Pane:
Pane
has
Area,
Area
>=
5
foot^2;
large
Pane?
Defined

in
mm
Compatibility

is
checked
Conversion

supplied
Query:
Copyright © 2010 Data Constellation
Semantic
Modeling
•Highly
verbal,
and
verbalisable
•Based
on
user
examples
•Mathematically
formal
(FOL)
•Fine­grained
semantic
structure
•Attribute­free
(Doesn’t
encode
assumptions)
•Automatic
mapping
to
O­O,
ER
and

code
Clifford
Heath
Available
for
consulting
and
training
http://dataconstellation.com/

Contenu connexe

En vedette

Re-Negotiating Narrative: Emergent Storytelling
Re-Negotiating Narrative: Emergent StorytellingRe-Negotiating Narrative: Emergent Storytelling
Re-Negotiating Narrative: Emergent Storytelling
PaleFire
 
Kako napraviti Google od zgrade sa računalima?
Kako napraviti Google od zgrade sa računalima?Kako napraviti Google od zgrade sa računalima?
Kako napraviti Google od zgrade sa računalima?
Dobrica Pavlinušić
 
One Climate Initiative Sep 2007
One Climate Initiative Sep 2007One Climate Initiative Sep 2007
One Climate Initiative Sep 2007
OneWorld UK
 
The Great Highland Bagpipe
The  Great  Highland  BagpipeThe  Great  Highland  Bagpipe
The Great Highland Bagpipe
1LifelongLearner
 
Poaching LG15: ARG-style
Poaching LG15: ARG-stylePoaching LG15: ARG-style
Poaching LG15: ARG-style
PaleFire
 
Spectacular Subcultures: From luz to hacktivism
Spectacular Subcultures: From luz to hacktivismSpectacular Subcultures: From luz to hacktivism
Spectacular Subcultures: From luz to hacktivism
PaleFire
 

En vedette (20)

Cisco Board 18
Cisco Board 18Cisco Board 18
Cisco Board 18
 
Language Edupreneurship
Language EdupreneurshipLanguage Edupreneurship
Language Edupreneurship
 
Re-Negotiating Narrative: Emergent Storytelling
Re-Negotiating Narrative: Emergent StorytellingRe-Negotiating Narrative: Emergent Storytelling
Re-Negotiating Narrative: Emergent Storytelling
 
Virtual LDAP - kako natjerati strgane aplikacije da koriste LDAP
Virtual LDAP - kako natjerati strgane aplikacije da koriste LDAPVirtual LDAP - kako natjerati strgane aplikacije da koriste LDAP
Virtual LDAP - kako natjerati strgane aplikacije da koriste LDAP
 
Εκπαίδευση Web 2.0 στο Δημόσιο
Εκπαίδευση Web 2.0 στο ΔημόσιοΕκπαίδευση Web 2.0 στο Δημόσιο
Εκπαίδευση Web 2.0 στο Δημόσιο
 
Playful Blended Digital Storytelling in 3D Immersive eLearning Environments f...
Playful Blended Digital Storytelling in 3D Immersive eLearning Environments f...Playful Blended Digital Storytelling in 3D Immersive eLearning Environments f...
Playful Blended Digital Storytelling in 3D Immersive eLearning Environments f...
 
Ppt Demo Slideshare
Ppt Demo SlidesharePpt Demo Slideshare
Ppt Demo Slideshare
 
Free Libre Open Source Software at FFZG library
Free Libre Open Source Software at FFZG libraryFree Libre Open Source Software at FFZG library
Free Libre Open Source Software at FFZG library
 
Kako napraviti Google od zgrade sa računalima?
Kako napraviti Google od zgrade sa računalima?Kako napraviti Google od zgrade sa računalima?
Kako napraviti Google od zgrade sa računalima?
 
Open Education in Virtual Worlds
Open Education in Virtual WorldsOpen Education in Virtual Worlds
Open Education in Virtual Worlds
 
Intro to Haml
Intro to HamlIntro to Haml
Intro to Haml
 
One Climate Initiative Sep 2007
One Climate Initiative Sep 2007One Climate Initiative Sep 2007
One Climate Initiative Sep 2007
 
Open Workshop on Information Literacy
Open Workshop on Information LiteracyOpen Workshop on Information Literacy
Open Workshop on Information Literacy
 
The Great Highland Bagpipe
The  Great  Highland  BagpipeThe  Great  Highland  Bagpipe
The Great Highland Bagpipe
 
Cow2
Cow2Cow2
Cow2
 
Oslobodimo Hardware
Oslobodimo HardwareOslobodimo Hardware
Oslobodimo Hardware
 
Poaching LG15: ARG-style
Poaching LG15: ARG-stylePoaching LG15: ARG-style
Poaching LG15: ARG-style
 
Wiki: Open Collaborative Learning Environment
Wiki: Open Collaborative Learning EnvironmentWiki: Open Collaborative Learning Environment
Wiki: Open Collaborative Learning Environment
 
Morocco
MoroccoMorocco
Morocco
 
Spectacular Subcultures: From luz to hacktivism
Spectacular Subcultures: From luz to hacktivismSpectacular Subcultures: From luz to hacktivism
Spectacular Subcultures: From luz to hacktivism
 

Similaire à The Constellation Query Language

M01 Oo Intro
M01 Oo IntroM01 Oo Intro
M01 Oo Intro
Dang Tuan
 

Similaire à The Constellation Query Language (9)

Understanding Linked Data via EAV Model based Structured Descriptions
Understanding Linked Data via EAV Model based Structured DescriptionsUnderstanding Linked Data via EAV Model based Structured Descriptions
Understanding Linked Data via EAV Model based Structured Descriptions
 
Logical ERD 2022.pptx
Logical ERD  2022.pptxLogical ERD  2022.pptx
Logical ERD 2022.pptx
 
Some thoughts about the gaps across languages and domains through the experi...
Some thoughts about the gaps across languages and domains through the experi...Some thoughts about the gaps across languages and domains through the experi...
Some thoughts about the gaps across languages and domains through the experi...
 
Semtech 2011, Saltlux, Tony Lee
Semtech 2011, Saltlux, Tony LeeSemtech 2011, Saltlux, Tony Lee
Semtech 2011, Saltlux, Tony Lee
 
SemTech 2011, Saltlux, Tony Lee
SemTech 2011, Saltlux, Tony LeeSemTech 2011, Saltlux, Tony Lee
SemTech 2011, Saltlux, Tony Lee
 
Icons and the Semiotics of Human Computer Interaction
Icons and the Semiotics of Human Computer InteractionIcons and the Semiotics of Human Computer Interaction
Icons and the Semiotics of Human Computer Interaction
 
M01 Oo Intro
M01 Oo IntroM01 Oo Intro
M01 Oo Intro
 
Second life ppt
Second life pptSecond life ppt
Second life ppt
 
"Why the Semantic Web will Never Work" (note the quotes)
"Why the Semantic Web will Never Work"  (note the quotes)"Why the Semantic Web will Never Work"  (note the quotes)
"Why the Semantic Web will Never Work" (note the quotes)
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Dernier (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

The Constellation Query Language

  • 2. Copyright © 2010 Data Constellation
  • 3. Copyright © 2010 Data ConstellationImage Copyright Andrew Lipson 2005. Used with permission. Not affiliated with Lego™ The Enterprise is a mess
  • 4. Copyright © 2010 Data Constellation One­way
 communication •Software
folk
translate
user
stories
into
 precise
abstractions
(UML,
ER,
etc) •The
abstractions
are
mostly
unreadable
 by
the
business
­>
No
backchannel! •Only
the
built
artefacts
communicate
 our
misunderstandings
­>
Late!
  • 5. Copyright © 2010 Data Constellation Loss of Semantics
  • 6. Copyright © 2010 Data Constellation Semantics • Each
term
denotes
a
type
of
thing • Each
thing
is
associated
with
others • These
associations
are
connotations • “Meaning”
is
the
sum
of
all
connotations • Every
person
has
different
connotations “The shared meanings of a community”
  • 7. Copyright © 2010 Data Constellation Relations,
Objects,
 Graphs,
or... Facts?
  • 8. Copyright © 2010 Data Constellation Constellation
Query
Language
  • 9. Copyright © 2010 Data Constellation Insurance
Simplified
(contd.)
  • 10. Copyright © 2010 Data Constellation Relational
Mapping
  • 11. Copyright © 2010 Data Constellation Insurance
Claim
(complete) Schema has been modified to suit a Rails application
  • 12. Copyright © 2010 Data Constellation Insurance
(snippets) Driver
is
a
kind
of
Person; Vehicle
Incident
is
a
kind
of
Incident; Driving
is
where
Driver
drove
vehicle
in
Vehicle
Incident; Vehicle
Incident
followed
Intoxication; Driving
Charge
is
where
Driving
resulted
in
Charge;
 Driving
Charge
is
a
warning; These definitions support the example that follows.
  • 13. Copyright © 2010 Data Constellation Instance
Data
  • 14. Copyright © 2010 Data Constellation Diplomacy
Model Object
and
fact
types
  • 15. Copyright © 2010 Data Constellation Diplomacy
model
­
constraints CQL supports many constraint types: Mandatory, Uniqueness, Frequency, Subset, Equality, Exclusion, Ring, Value, etc.
  • 16. Copyright © 2010 Data Constellation ORM2 A
graphical
 language
for fact­oriented
 modeling.
  • 17. Copyright © 2010 Data Constellation Relational
Mapping
  • 18. Copyright © 2010 Data Constellation SQL
  • 19. Copyright © 2010 Data Constellation Ruby Ruby fact-oriented DSL * uses meta-programming * assert/retract, no new/delete * fully co-referenced.
  • 20. Copyright © 2010 Data Constellation Simple
Query Person
has
given
Name
‘Daniel’? Person
has
given
Name, 



given
Name
=
‘Daniel’? ... a contraction of the value join:
  • 21. Copyright © 2010 Data Constellation Units
conversion Area
is
written
as
Real
in
mm^2; Pane
has
Area: Pane
of
glass
has
Width, Pane
of
glass
has
Height, Width
*
Height
=
Area; large
Pane: Pane
has
Area,
Area
>=
5
foot^2; large
Pane? Defined
 in
mm Compatibility
 is
checked Conversion
 supplied Query:
  • 22. Copyright © 2010 Data Constellation Semantic
Modeling •Highly
verbal,
and
verbalisable •Based
on
user
examples •Mathematically
formal
(FOL) •Fine­grained
semantic
structure •Attribute­free
(Doesn’t
encode
assumptions) •Automatic
mapping
to
O­O,
ER
and
 code