SlideShare a Scribd company logo
1 of 23
Download to read offline
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/

More Related Content

Viewers also liked

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
 

Viewers also liked (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
 

Similar to The Constellation Query Language

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

Similar to 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)
 

Recently uploaded

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 

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