SlideShare a Scribd company logo
1 of 21
Cricket Ontology
GV Sampath
Basic Cricket Game Information
•A cricket game is played between exactly 2 teams
•Each team contains 11 players
•A cricket game has 3 formats – {test , t20 , odi}
•A General t20 format cricket game has 2 innings with 20 overs each
•Similarly, odi format cricket game has 2 innings with 50 overs each
•And test format cricket game has 4 innings with unlimited overs.
•Each over in a cricket game contains 6 balls unless there is an illegal ball.
General Play of cricket game
Questions
•How many times INDIA and PAKISTAN played against each other in a cricket
game of t20 format?
•How many innings did INDIA play till date?
•WhichTeam has played maximum number of innings of all ODI cricket
games?
•Number of runs by “SachinTendulkar” in all ODI innings that he has Played?
Dataset Snapshots
•Taken from http://cricsheet.org/
Notions
•EVENT
•CRICKET GAME
•FORMAT
•TEAM
•INNING
•OVER
•BALL
•PLAYER
EVENT
CRICKET GAME
Format
Team
Inning Over
PlayerBall
THE BIG PICTURE
Axioms
•Identify either the Domain or Range for the Object Properties and list all the
Domain – Range Axioms
•Existential
•Disjoints
Domain and Range Axioms
Event:
Domain:
ꓱhasDate.date ⊆ Event
ꓱhasLocation.Place ⊆ Event
Range:
Event ⊆ꓯhasDate.date
Event ⊆ꓯhasLocation.Place
Cricket Game:
Domain:
ꓱhasWinner.Team⊆ Cricket Game
ꓱhasLoser . Team⊆ Cricket Game
ꓱhasInning . Team⊆ Cricket Game
ꓱhasPlayeroftheMatch . Player ⊆ Cricket Game
ꓱProvidesAgentRole . TeamRole⊆ Cricket Game
ꓱhasFormat . Foramt ⊆ Cricket Game
Range:
CricketGame⊆ꓯhasWinner.Team
CricketGame⊆ꓯhasLoser . Team
CricketGame⊆ꓯhasInning . Team
CricketGame⊆ꓯhasPlayeroftheMatch . Player
CricketGame⊆ꓯProvidesAgentRole . TeamRole
CricketGame⊆ꓯhasFormat . Foramat
Existentials
•A Cricket Game is exactly played between twoTeams.
CricketGame ⊆ (=2 ꓱProvideAgentRole.TeamRole)
•A CricketGame has exactly one format from all the three possible formats.
CricketGame ⊆ (=1 ꓱhasFormat.Format)
•A CricketGame has exactly one Winner.
CricketGame ⊆ (=1 ꓱhasWinner.Team)
•A CricketGame has exactly one Loser
CricketGame ⊆ (=1 ꓱhasLoser.Team)
•A CricketGame has exactly one PlayeroftheMatch
CricketGame ⊆ (=1 ꓱhasPlayeroftheMatch.Player)
•ATest format in CricketGame has atleast 3 Innings & atmost 4 Innings.
CricketGame ꓵ ꓱhasFormat {Test} ⊆ (≥ 3 ꓱhasInning.Inning) ꓵ (≤4 ꓱhasInning.Inning)
• An ODI format in CricketGame has exactly 2 Innings.
CricketGame ꓵ ꓱhasFormat {ODI} ⊆ (=2 ꓱhasInning.Inning)
•AT20 format in CricketGame has exactly 2 Innings.
CricketGame ꓵ ꓱhasFormat {T20} ⊆ (=2 ꓱhasInning.Inning)
•A CricketGame with Format ODI has atmost 50 Overs in an Innings.
CricketGame ꓵ ꓱhasFormat {ODI} ⊆ ꓯhasInning ( ≤ 50 hasOver.Over)
Existentials
•A CricketGame with FormatT20 has atmost 20 Overs in an Innings.
CricketGame ꓵ ꓱhasFormat {T20} ⊆ ꓯhasInning ( ≤ 20 hasOver.Over)
•An Over has atleast one ball.
Over ⊆(≥1 ꓱhasBall.Ball)
•A Ball has atmost 6 runs.
Ball ⊆ (≤6 ꓱhasRuns.Runs)
•A Ball has exactly 3 BallRole.
Ball ⊆(=3 ꓱProvidesAgentRole.BallRole)
•ATeam has exactly 11 Players.
Team ⊆ (=11 ꓱProvidesAgentRole.PlayerRole)
Disjoints
•Here we should identify all disjoint classes.
From our design CricketGame and event , Batsmen Role and Ball Role, Bowler
Role and Ball Role , Non Striker Role and Ball Role depends on each other rest
all are disjoint with one another.
:t1pr4 a cric:PlayerRole;
cric:performedBy
:t1player4.
:t1player4 a cric:Player;
cric:hasName "KP
Pietersen"^^xsd:string.
:t1p4bat a cric:BatsmanRole;
cric:performedBy
:t1player4.
:t1p4ns a cric:NonStrikerRole;
cric:performedBy
:t1player4.
:t1p4bowl a cric:BowlerRole;
cric:performedBy
:t1player4.
:inn1 a cric:Inning;
cric:NextInning :inn2;
cric:subEventOf :game1;
cric:hasOver :1over1, :1over2, :1over3, :1over4, :1over5,
:1over6, :1over7 , :1over8, :1over9, :1over10, :1over11, :1over12,:1over13,
:1over14, :1over15,:1over16, :1over17 , :1over18,:1over19, :1over20.
:1over1 a cric:over;
cric:subEventOf :inn1;
cric:hasBall :11ball1, :11ball2 ,:11ball3, :11ball4, :11ball5,
:11ball6,:11ball7;
cric:nextOver :1over2.
:11ball1 a cric:ball;
cric:subEventOf :1over1;
cric:hasExtras :extra0;
cric:hasRuns :run0;
cric:providesAgentRole :t1p1bat, :t1p2ns, :t2p11bowl .
RDFTRIPLES
:game1 a cric:CricketGame;
cric:hasLocation
:place1;
cric:hasDate :date1;
cric:hasFormat
:format1;
cric:hasRunDifference
"100"^^xsd:int;
cric:hasPlayerOfMatch
:t1player4;
cric:providesAgentRole :tr1,
:tr2;
cric:hasWinner
:team1;
cric:hasLooser
:place1 a cric:Place;
cric:hasName "Southampton"^^xsd:String.
:date1 a cric:Date;
cric:hasDateValue "2005-06 13"^^xsd:DateTimeStamp.
:tr1 a cric:TeamRole;
cric:performedBy :team1.
:team1 a cric:Team;
cric:hasCountry :c1;
cric:providesAgentRole :t1pr1.
QUESTIONS ?
ThankYou.

More Related Content

What's hot

Neural Text Embeddings for Information Retrieval (WSDM 2017)
Neural Text Embeddings for Information Retrieval (WSDM 2017)Neural Text Embeddings for Information Retrieval (WSDM 2017)
Neural Text Embeddings for Information Retrieval (WSDM 2017)Bhaskar Mitra
 
sports and cricket
sports and cricketsports and cricket
sports and cricketsam ran
 
Cricket basics
Cricket basicsCricket basics
Cricket basicsloles
 
Integrating Relational Databases with the Semantic Web: A Reflection
Integrating Relational Databases with the Semantic Web: A ReflectionIntegrating Relational Databases with the Semantic Web: A Reflection
Integrating Relational Databases with the Semantic Web: A ReflectionJuan Sequeda
 
Introduction to Cricket.pptx
Introduction to Cricket.pptxIntroduction to Cricket.pptx
Introduction to Cricket.pptxWasiqZafeer
 
[Webinar] Performance e otimização de banco de dados MySQL
[Webinar] Performance e otimização de banco de dados MySQL[Webinar] Performance e otimização de banco de dados MySQL
[Webinar] Performance e otimização de banco de dados MySQLKingHost - Hospedagem de sites
 
Tutorial on Sequence Aware Recommender Systems - ACM RecSys 2018
Tutorial on Sequence Aware Recommender Systems - ACM RecSys 2018Tutorial on Sequence Aware Recommender Systems - ACM RecSys 2018
Tutorial on Sequence Aware Recommender Systems - ACM RecSys 2018Massimo Quadrana
 
MongoDB Aggregation Performance
MongoDB Aggregation PerformanceMongoDB Aggregation Performance
MongoDB Aggregation PerformanceMongoDB
 
Probabilistic data structures. Part 3. Frequency
Probabilistic data structures. Part 3. FrequencyProbabilistic data structures. Part 3. Frequency
Probabilistic data structures. Part 3. FrequencyAndrii Gakhov
 
MongoDB Schema Design: Four Real-World Examples
MongoDB Schema Design: Four Real-World ExamplesMongoDB Schema Design: Four Real-World Examples
MongoDB Schema Design: Four Real-World ExamplesMike Friedman
 
Recommendation system
Recommendation system Recommendation system
Recommendation system Vikrant Arya
 
Working with JSON Data in PostgreSQL vs. MongoDB
Working with JSON Data in PostgreSQL vs. MongoDBWorking with JSON Data in PostgreSQL vs. MongoDB
Working with JSON Data in PostgreSQL vs. MongoDBScaleGrid.io
 
presentation on cricket
presentation on cricketpresentation on cricket
presentation on cricketpooja029
 

What's hot (20)

Neural Text Embeddings for Information Retrieval (WSDM 2017)
Neural Text Embeddings for Information Retrieval (WSDM 2017)Neural Text Embeddings for Information Retrieval (WSDM 2017)
Neural Text Embeddings for Information Retrieval (WSDM 2017)
 
sports and cricket
sports and cricketsports and cricket
sports and cricket
 
Cricket basics
Cricket basicsCricket basics
Cricket basics
 
Integrating Relational Databases with the Semantic Web: A Reflection
Integrating Relational Databases with the Semantic Web: A ReflectionIntegrating Relational Databases with the Semantic Web: A Reflection
Integrating Relational Databases with the Semantic Web: A Reflection
 
Introduction to Cricket.pptx
Introduction to Cricket.pptxIntroduction to Cricket.pptx
Introduction to Cricket.pptx
 
Deep Dive on Amazon DynamoDB
Deep Dive on Amazon DynamoDBDeep Dive on Amazon DynamoDB
Deep Dive on Amazon DynamoDB
 
Xbox series x
Xbox series xXbox series x
Xbox series x
 
[Webinar] Performance e otimização de banco de dados MySQL
[Webinar] Performance e otimização de banco de dados MySQL[Webinar] Performance e otimização de banco de dados MySQL
[Webinar] Performance e otimização de banco de dados MySQL
 
Tutorial on Sequence Aware Recommender Systems - ACM RecSys 2018
Tutorial on Sequence Aware Recommender Systems - ACM RecSys 2018Tutorial on Sequence Aware Recommender Systems - ACM RecSys 2018
Tutorial on Sequence Aware Recommender Systems - ACM RecSys 2018
 
MongoDB Aggregation Performance
MongoDB Aggregation PerformanceMongoDB Aggregation Performance
MongoDB Aggregation Performance
 
Cricket
CricketCricket
Cricket
 
Probabilistic data structures. Part 3. Frequency
Probabilistic data structures. Part 3. FrequencyProbabilistic data structures. Part 3. Frequency
Probabilistic data structures. Part 3. Frequency
 
Mongo DB 102
Mongo DB 102Mongo DB 102
Mongo DB 102
 
MongoDB Schema Design: Four Real-World Examples
MongoDB Schema Design: Four Real-World ExamplesMongoDB Schema Design: Four Real-World Examples
MongoDB Schema Design: Four Real-World Examples
 
Elasticsearch
ElasticsearchElasticsearch
Elasticsearch
 
Recommendation system
Recommendation system Recommendation system
Recommendation system
 
Working with JSON Data in PostgreSQL vs. MongoDB
Working with JSON Data in PostgreSQL vs. MongoDBWorking with JSON Data in PostgreSQL vs. MongoDB
Working with JSON Data in PostgreSQL vs. MongoDB
 
Cricket
CricketCricket
Cricket
 
Football
FootballFootball
Football
 
presentation on cricket
presentation on cricketpresentation on cricket
presentation on cricket
 

Recently uploaded

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 

Recently uploaded (20)

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 

Cricket Game Ontology Guide

  • 2. Basic Cricket Game Information •A cricket game is played between exactly 2 teams •Each team contains 11 players •A cricket game has 3 formats – {test , t20 , odi} •A General t20 format cricket game has 2 innings with 20 overs each •Similarly, odi format cricket game has 2 innings with 50 overs each •And test format cricket game has 4 innings with unlimited overs. •Each over in a cricket game contains 6 balls unless there is an illegal ball.
  • 3. General Play of cricket game
  • 4. Questions •How many times INDIA and PAKISTAN played against each other in a cricket game of t20 format? •How many innings did INDIA play till date? •WhichTeam has played maximum number of innings of all ODI cricket games? •Number of runs by “SachinTendulkar” in all ODI innings that he has Played?
  • 5. Dataset Snapshots •Taken from http://cricsheet.org/
  • 13. Axioms •Identify either the Domain or Range for the Object Properties and list all the Domain – Range Axioms •Existential •Disjoints
  • 14. Domain and Range Axioms Event: Domain: ꓱhasDate.date ⊆ Event ꓱhasLocation.Place ⊆ Event Range: Event ⊆ꓯhasDate.date Event ⊆ꓯhasLocation.Place Cricket Game: Domain: ꓱhasWinner.Team⊆ Cricket Game ꓱhasLoser . Team⊆ Cricket Game ꓱhasInning . Team⊆ Cricket Game ꓱhasPlayeroftheMatch . Player ⊆ Cricket Game ꓱProvidesAgentRole . TeamRole⊆ Cricket Game ꓱhasFormat . Foramt ⊆ Cricket Game Range: CricketGame⊆ꓯhasWinner.Team CricketGame⊆ꓯhasLoser . Team CricketGame⊆ꓯhasInning . Team CricketGame⊆ꓯhasPlayeroftheMatch . Player CricketGame⊆ꓯProvidesAgentRole . TeamRole CricketGame⊆ꓯhasFormat . Foramat
  • 15. Existentials •A Cricket Game is exactly played between twoTeams. CricketGame ⊆ (=2 ꓱProvideAgentRole.TeamRole) •A CricketGame has exactly one format from all the three possible formats. CricketGame ⊆ (=1 ꓱhasFormat.Format) •A CricketGame has exactly one Winner. CricketGame ⊆ (=1 ꓱhasWinner.Team) •A CricketGame has exactly one Loser CricketGame ⊆ (=1 ꓱhasLoser.Team) •A CricketGame has exactly one PlayeroftheMatch CricketGame ⊆ (=1 ꓱhasPlayeroftheMatch.Player) •ATest format in CricketGame has atleast 3 Innings & atmost 4 Innings. CricketGame ꓵ ꓱhasFormat {Test} ⊆ (≥ 3 ꓱhasInning.Inning) ꓵ (≤4 ꓱhasInning.Inning) • An ODI format in CricketGame has exactly 2 Innings. CricketGame ꓵ ꓱhasFormat {ODI} ⊆ (=2 ꓱhasInning.Inning) •AT20 format in CricketGame has exactly 2 Innings. CricketGame ꓵ ꓱhasFormat {T20} ⊆ (=2 ꓱhasInning.Inning) •A CricketGame with Format ODI has atmost 50 Overs in an Innings. CricketGame ꓵ ꓱhasFormat {ODI} ⊆ ꓯhasInning ( ≤ 50 hasOver.Over)
  • 16. Existentials •A CricketGame with FormatT20 has atmost 20 Overs in an Innings. CricketGame ꓵ ꓱhasFormat {T20} ⊆ ꓯhasInning ( ≤ 20 hasOver.Over) •An Over has atleast one ball. Over ⊆(≥1 ꓱhasBall.Ball) •A Ball has atmost 6 runs. Ball ⊆ (≤6 ꓱhasRuns.Runs) •A Ball has exactly 3 BallRole. Ball ⊆(=3 ꓱProvidesAgentRole.BallRole) •ATeam has exactly 11 Players. Team ⊆ (=11 ꓱProvidesAgentRole.PlayerRole)
  • 17. Disjoints •Here we should identify all disjoint classes. From our design CricketGame and event , Batsmen Role and Ball Role, Bowler Role and Ball Role , Non Striker Role and Ball Role depends on each other rest all are disjoint with one another.
  • 18. :t1pr4 a cric:PlayerRole; cric:performedBy :t1player4. :t1player4 a cric:Player; cric:hasName "KP Pietersen"^^xsd:string. :t1p4bat a cric:BatsmanRole; cric:performedBy :t1player4. :t1p4ns a cric:NonStrikerRole; cric:performedBy :t1player4. :t1p4bowl a cric:BowlerRole; cric:performedBy :t1player4. :inn1 a cric:Inning; cric:NextInning :inn2; cric:subEventOf :game1; cric:hasOver :1over1, :1over2, :1over3, :1over4, :1over5, :1over6, :1over7 , :1over8, :1over9, :1over10, :1over11, :1over12,:1over13, :1over14, :1over15,:1over16, :1over17 , :1over18,:1over19, :1over20. :1over1 a cric:over; cric:subEventOf :inn1; cric:hasBall :11ball1, :11ball2 ,:11ball3, :11ball4, :11ball5, :11ball6,:11ball7; cric:nextOver :1over2. :11ball1 a cric:ball; cric:subEventOf :1over1; cric:hasExtras :extra0; cric:hasRuns :run0; cric:providesAgentRole :t1p1bat, :t1p2ns, :t2p11bowl .
  • 19. RDFTRIPLES :game1 a cric:CricketGame; cric:hasLocation :place1; cric:hasDate :date1; cric:hasFormat :format1; cric:hasRunDifference "100"^^xsd:int; cric:hasPlayerOfMatch :t1player4; cric:providesAgentRole :tr1, :tr2; cric:hasWinner :team1; cric:hasLooser :place1 a cric:Place; cric:hasName "Southampton"^^xsd:String. :date1 a cric:Date; cric:hasDateValue "2005-06 13"^^xsd:DateTimeStamp. :tr1 a cric:TeamRole; cric:performedBy :team1. :team1 a cric:Team; cric:hasCountry :c1; cric:providesAgentRole :t1pr1.