SlideShare a Scribd company logo
1 of 54
Download to read offline
UNBENDING REALITY
GRAKN MEETUP: VIENNA OCTOBER 2018
intelligent systems
Complex Interconnected Datasets
building
with
People who call each other.
Those who make the calls have a contract with company “Telecom”
PEOPLE who CALL each other.
Those who make the calls have a CONTRACT with COMPANY “Telecom”
How does the average call duration among customers aged under 20 compare with
those aged over 40?
Since September 14th, which customers called the person X?
Who are the people who have received a call from a London customer aged over
50 who has previously called someone aged under 20?
Who are the common contacts of customers X and Y?
Who are the customers who 1) have all called each other and 2) have all called
person X at least once?
How does the average call duration among customers aged under 20 compare with
those aged over 40?
Since September 14th, which customers called the person X?
Who are the people who have received a call from a London customer aged over
50 who has previously called someone aged under 20?
Who are the common contacts of customers X and Y?
Who are the customers who 1) have all called each other and 2) have all called
person X at least once?
How does the average call duration among customers aged under 20 compare with
those aged over 40?
Since September 14th, which customers called the person X?
Who are the people who have received a call from a London customer aged over
50 who has previously called someone aged under 20?
Who are the common contacts of customers X and Y?
Who are the customers who 1) have all called each other and 2) have all called
person X at least once?
How does the average call duration among customers aged under 20 compare with
those aged over 40?
Since September 14th, which customers called the person X?
Who are the people who have received a call from a London customer aged over
50 who has previously called someone aged under 20?
Who are the common contacts of customers X and Y?
Who are the customers who 1) have all called each other and 2) have all called
person X at least once?
How does the average call duration among customers aged under 20 compare with
those aged over 40?
Since September 14th, which customers called the person X?
Who are the people who have received a call from a London customer aged over
50 who has previously called someone aged under 20?
Who are the common contacts of customers X and Y?
Who are the customers who 1) have all called each other and 2) have all called
person X at least once?
COMPANY
has name
provides a person with a contract
COMPANY
has name
provides a person customer with a contract
CUSTOMER
has first and last name, age, city and phone number
PERSON
has first and last name, age, city and phone number
CALL
has duration, date & time
made from a person (caller) to another person (callee)
RELATIONSHIPENTITY ENTITY
plays a role inplays a role in
RELATIONSHIPENTITY ENTITY
plays a role inplays a role in
ATTRIBUTE ATTRIBUTE ATTRIBUTE
has
has
has
PERSON has first and last name, city, age and a phone number
person
first-name
last-name
phone-number
city
age
PERSON plays the role of a caller or callee in a call
call
caller
person
first-name
last-name
phone-number
city
age
callee
PERSON plays the role of a customer in a contract
call
caller
person
first-name
last-name
phone-number
city
age
callee
customer
contract
Company has name
call
caller
person
first-name
last-name
phone-number
city
age
callee
customer
company
name
contract
Company plays the role of a provider in a contract
call
caller
person
first-name
last-name
phone-number
city
age
callee
customer
companyprovider
name
contract
CALL has duration and started at
call
caller
person
first-name
last-name
phone-number
city
age
callee
customer
company
duration
started-at
provider
name
contract
call
caller
person
first-name
last-name
phone-number
city
age
callee
customer
company
duration
started-at
provider
name
contract
define
contract sub relationship,
relates provider,
relates customer;
call sub relationship,
relates caller,
relates callee;
company sub entity,
plays provider;
person sub entity,
plays customer,
plays caller,
plays callee;
call
caller
person
callee
customer
company
provider
contract
define
contract sub relationship,
relates provider,
relates customer;
call sub relationship,
relates caller,
relates callee,
has duration,
has started-at;
company sub entity,
plays provider,
has name;
person sub entity,
plays customer,
plays caller,
plays callee,
has first-name,

has last-name,
has phone-number,
has city,
has age,
has is-customer;
person
first-name
last-name
phone-number
city
age
company
name
call
duration
started-at
relates caller,
relates callee,
has duration,
has started-at;
company sub entity,
plays provider,
has name;
person sub entity,
plays customer,
plays caller,
plays callee,
has first-name,

has last-name,
has phone-number,
has city,
has age,
has is-customer;
name sub attribute datatype string;
started-at sub attribute datatype date;
duration sub attribute datatype long;
first-name sub attribute datatype string;
last-name sub attribute datatype string;
phone-number sub attribute datatype string;
city sub attribute datatype string;
age sub attribute datatype long;
is-customer sub attribute datatype boolean;
first-name
last-name
phone-number
city
age
name
duration
started-at
define
contract sub relationship,
relates provider,
relates customer;
call sub relationship,
relates caller,
relates callee,
has started-at,
has duration;
company sub entity,
plays provider,
has name;
person sub entity,
plays customer,
plays caller,
plays callee,
has first-name,
has last-name,
has phone-number,
has city,
has age,
has is-customer;
name sub attribute datatype string;
started-at sub attribute datatype date;
duration sub attribute datatype long;
first-name sub attribute datatype string;
last-name sub attribute datatype string;
phone-number sub attribute datatype string;
city sub attribute datatype string;
age sub attribute datatype long;
is-customer sub attribute datatype boolean;
Since September 14th, which customers called the person X?
The person with phone number +86 921 547 9004 has been identified as a lead. We (company
"Telecom") would like to know which of our customers have been in contact with this person
since September 14th. This will help us in converting this lead into a customer.
match
$customer isa person has phone-number $phone-number;
$company isa company has name "Telecom";
(customer: $customer, provider: $company) isa contract;
$target isa person has phone-number "+86 921 547 9004";
(caller: $customer, callee: $target) isa call has started-at
$started-at;
$min-date == 2018-09-14T17:18:49; $started-at > $min-date;
get $phone-number;
Who are the people who have received a call from a London customer aged over 50 who
has previously called someone aged under 20?
We (company "Telecom") have received a number of harassment reports, which we suspect is caused by one individual. The only
thing we know about the harasser is that he/she is aged roughly over 50 and lives in London. The reports have been made by
young adults all aged under 20. We wonder if there is a pattern and so would like to speak to anyone who has received a call from
a suspect, since he/she potentially started harassing.
match
$suspect isa person has city "London", has age > 50;
$company isa company has name "Telecom";
(customer: $suspect, provider: $company) isa contract;
$pattern-callee isa person has age < 20;
(caller: $suspect, callee: $pattern-callee) isa call has started-at $pattern-call-date;
$target isa person has phone-number $phone-number, has is-customer false;
(caller: $suspect, callee: $target) isa call has started-at $target-call-date;
$target-call-date > $pattern-call-date;
get $phone-number;
Who are the common contacts of customers X and Y?
The customer with phone number +7 171 898 0853 and +370 351 224 5176 have been
identified as friends. We (company "Telecom") like to know who their common contacts are in
order to offer them a group promotion.
match
$common-contact isa person has phone-number $phone-number;
$customer-a isa person has phone-number "+7 171 898 0853";
$customer-b isa person has phone-number "+370 351 224 5176";
(caller: $customer-a, callee: $common-contact) isa call;
(caller: $customer-b, callee: $common-contact) isa call;
get $phone-number;
How does the average call duration among customers aged under 20
compare with those aged over 40?
In order to better understand our customers' behaviour, we (company "Telecom") like to know how the average
phone call duration among those aged under 20 compares to those aged over 40.
match
$customer isa telecom-customer has age < 20;
$company isa company has name "Telecom";
(customer: $customer, provider: $company) isa contract;
(caller: $customer, callee: $anyone) isa call has duration
$duration;
aggregate mean $duration;
Who are the customers who 1) have all called each other and
2) have all called person X at least once?
The person with phone number +48 894 777 5173 has been identified as a lead. We (company "Telecom")
would like to know who his circle of (customer) contacts are, so that we can encourage them in converting this
lead to a customer.
match
$target isa person has phone-number "+48 894 777 5173";
$company isa company has name "Telecom";
$customer-a isa person has phone-number $phone-number-a;
$customer-b isa person has phone-number $phone-number-b;
(customer: $customer-a, provider: $company) isa contract;
(customer: $customer-b, provider: $company) isa contract;
(caller: $customer-a, callee: $customer-b) isa call;
(caller: $customer-a, callee: $target) isa call;
(caller: $customer-b, callee: $target) isa call;
get $phone-number-a, $phone-number-b;
Intelligence begins from the database
To ask questions intuitively modelling the
database needs to feel intuitive
github.com/graknlabs/grakn
dev.grakn.ai
github.com/graknlabs/examples
@soroush
@SaffariSoroush
soroush@grakn.ai

More Related Content

Recently uploaded

Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023ymrp368
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...amitlee9823
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Delhi Call girls
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...shivangimorya083
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...amitlee9823
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 

Recently uploaded (20)

Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

GRAKN.AI Meetup: Unbending Reality

  • 1. UNBENDING REALITY GRAKN MEETUP: VIENNA OCTOBER 2018
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18. People who call each other. Those who make the calls have a contract with company “Telecom”
  • 19. PEOPLE who CALL each other. Those who make the calls have a CONTRACT with COMPANY “Telecom”
  • 20. How does the average call duration among customers aged under 20 compare with those aged over 40? Since September 14th, which customers called the person X? Who are the people who have received a call from a London customer aged over 50 who has previously called someone aged under 20? Who are the common contacts of customers X and Y? Who are the customers who 1) have all called each other and 2) have all called person X at least once?
  • 21. How does the average call duration among customers aged under 20 compare with those aged over 40? Since September 14th, which customers called the person X? Who are the people who have received a call from a London customer aged over 50 who has previously called someone aged under 20? Who are the common contacts of customers X and Y? Who are the customers who 1) have all called each other and 2) have all called person X at least once?
  • 22. How does the average call duration among customers aged under 20 compare with those aged over 40? Since September 14th, which customers called the person X? Who are the people who have received a call from a London customer aged over 50 who has previously called someone aged under 20? Who are the common contacts of customers X and Y? Who are the customers who 1) have all called each other and 2) have all called person X at least once?
  • 23. How does the average call duration among customers aged under 20 compare with those aged over 40? Since September 14th, which customers called the person X? Who are the people who have received a call from a London customer aged over 50 who has previously called someone aged under 20? Who are the common contacts of customers X and Y? Who are the customers who 1) have all called each other and 2) have all called person X at least once?
  • 24. How does the average call duration among customers aged under 20 compare with those aged over 40? Since September 14th, which customers called the person X? Who are the people who have received a call from a London customer aged over 50 who has previously called someone aged under 20? Who are the common contacts of customers X and Y? Who are the customers who 1) have all called each other and 2) have all called person X at least once?
  • 25. COMPANY has name provides a person with a contract
  • 26. COMPANY has name provides a person customer with a contract
  • 27. CUSTOMER has first and last name, age, city and phone number
  • 28. PERSON has first and last name, age, city and phone number
  • 29. CALL has duration, date & time made from a person (caller) to another person (callee)
  • 30. RELATIONSHIPENTITY ENTITY plays a role inplays a role in
  • 31. RELATIONSHIPENTITY ENTITY plays a role inplays a role in ATTRIBUTE ATTRIBUTE ATTRIBUTE has has has
  • 32. PERSON has first and last name, city, age and a phone number person first-name last-name phone-number city age
  • 33. PERSON plays the role of a caller or callee in a call call caller person first-name last-name phone-number city age callee
  • 34. PERSON plays the role of a customer in a contract call caller person first-name last-name phone-number city age callee customer contract
  • 36. Company plays the role of a provider in a contract call caller person first-name last-name phone-number city age callee customer companyprovider name contract
  • 37. CALL has duration and started at call caller person first-name last-name phone-number city age callee customer company duration started-at provider name contract
  • 39. define contract sub relationship, relates provider, relates customer; call sub relationship, relates caller, relates callee; company sub entity, plays provider; person sub entity, plays customer, plays caller, plays callee; call caller person callee customer company provider contract
  • 40. define contract sub relationship, relates provider, relates customer; call sub relationship, relates caller, relates callee, has duration, has started-at; company sub entity, plays provider, has name; person sub entity, plays customer, plays caller, plays callee, has first-name,
 has last-name, has phone-number, has city, has age, has is-customer; person first-name last-name phone-number city age company name call duration started-at
  • 41. relates caller, relates callee, has duration, has started-at; company sub entity, plays provider, has name; person sub entity, plays customer, plays caller, plays callee, has first-name,
 has last-name, has phone-number, has city, has age, has is-customer; name sub attribute datatype string; started-at sub attribute datatype date; duration sub attribute datatype long; first-name sub attribute datatype string; last-name sub attribute datatype string; phone-number sub attribute datatype string; city sub attribute datatype string; age sub attribute datatype long; is-customer sub attribute datatype boolean; first-name last-name phone-number city age name duration started-at
  • 42. define contract sub relationship, relates provider, relates customer; call sub relationship, relates caller, relates callee, has started-at, has duration; company sub entity, plays provider, has name; person sub entity, plays customer, plays caller, plays callee, has first-name, has last-name, has phone-number, has city, has age, has is-customer; name sub attribute datatype string; started-at sub attribute datatype date; duration sub attribute datatype long; first-name sub attribute datatype string; last-name sub attribute datatype string; phone-number sub attribute datatype string; city sub attribute datatype string; age sub attribute datatype long; is-customer sub attribute datatype boolean;
  • 43.
  • 44.
  • 45.
  • 46.
  • 47. Since September 14th, which customers called the person X? The person with phone number +86 921 547 9004 has been identified as a lead. We (company "Telecom") would like to know which of our customers have been in contact with this person since September 14th. This will help us in converting this lead into a customer. match $customer isa person has phone-number $phone-number; $company isa company has name "Telecom"; (customer: $customer, provider: $company) isa contract; $target isa person has phone-number "+86 921 547 9004"; (caller: $customer, callee: $target) isa call has started-at $started-at; $min-date == 2018-09-14T17:18:49; $started-at > $min-date; get $phone-number;
  • 48. Who are the people who have received a call from a London customer aged over 50 who has previously called someone aged under 20? We (company "Telecom") have received a number of harassment reports, which we suspect is caused by one individual. The only thing we know about the harasser is that he/she is aged roughly over 50 and lives in London. The reports have been made by young adults all aged under 20. We wonder if there is a pattern and so would like to speak to anyone who has received a call from a suspect, since he/she potentially started harassing. match $suspect isa person has city "London", has age > 50; $company isa company has name "Telecom"; (customer: $suspect, provider: $company) isa contract; $pattern-callee isa person has age < 20; (caller: $suspect, callee: $pattern-callee) isa call has started-at $pattern-call-date; $target isa person has phone-number $phone-number, has is-customer false; (caller: $suspect, callee: $target) isa call has started-at $target-call-date; $target-call-date > $pattern-call-date; get $phone-number;
  • 49. Who are the common contacts of customers X and Y? The customer with phone number +7 171 898 0853 and +370 351 224 5176 have been identified as friends. We (company "Telecom") like to know who their common contacts are in order to offer them a group promotion. match $common-contact isa person has phone-number $phone-number; $customer-a isa person has phone-number "+7 171 898 0853"; $customer-b isa person has phone-number "+370 351 224 5176"; (caller: $customer-a, callee: $common-contact) isa call; (caller: $customer-b, callee: $common-contact) isa call; get $phone-number;
  • 50. How does the average call duration among customers aged under 20 compare with those aged over 40? In order to better understand our customers' behaviour, we (company "Telecom") like to know how the average phone call duration among those aged under 20 compares to those aged over 40. match $customer isa telecom-customer has age < 20; $company isa company has name "Telecom"; (customer: $customer, provider: $company) isa contract; (caller: $customer, callee: $anyone) isa call has duration $duration; aggregate mean $duration;
  • 51. Who are the customers who 1) have all called each other and 2) have all called person X at least once? The person with phone number +48 894 777 5173 has been identified as a lead. We (company "Telecom") would like to know who his circle of (customer) contacts are, so that we can encourage them in converting this lead to a customer. match $target isa person has phone-number "+48 894 777 5173"; $company isa company has name "Telecom"; $customer-a isa person has phone-number $phone-number-a; $customer-b isa person has phone-number $phone-number-b; (customer: $customer-a, provider: $company) isa contract; (customer: $customer-b, provider: $company) isa contract; (caller: $customer-a, callee: $customer-b) isa call; (caller: $customer-a, callee: $target) isa call; (caller: $customer-b, callee: $target) isa call; get $phone-number-a, $phone-number-b;
  • 52. Intelligence begins from the database To ask questions intuitively modelling the database needs to feel intuitive