Chapter 13 (Concepts and Language)
Chapter 13 (Concepts and Language)
Rules (Axioms): Logical conditions governing relationships (e.g., ‘A person can own at most
one driving license’).
Relationships: “City A is located in Country B”, “River C flows through City D”, etc.
Rules (Axioms): “ A river must flow downhill due to gravity.”, “A river must have a source
(spring, glacier, or lake) and a mouth (ocean, lake, or another river).”, etc.
For instance, the Ganges River has attributes like “length = 2,525 km” and “originates from
the Himalayas, while the relationship “flows through Northern India” links it to geographical
entities like cities and states.
1
Let’s look at the following graph:
Example 2 (Business Organizational Structure). In business, the ontological base is used for
defining roles, hierarchies, workflows, etc. This includes:
Rules: “Each department must have at least one employee”. “Budget allocations must not
exceed the department’s financial limit”, etc.
For instance, an employee with attributes like “role = manager” and “salary = |75,000”,
with a relationship “works in the sales department” links him/her to “Project P handled by the
sales team.”
Let’s look at the corresponding knowledge graph:
Example 3 (Traffic Management System). The ontological base categorizes infrastructure and
vehicles. This includes:
Relationships: “Signal A regulates traffic flow on Road B”, “Car C drives on Road D”, etc.
Rules: “A vehicle must obey the speed limit assigned to the road.”, “A traffic signal must
regulate vehicles based on predefined timing cycles.”, etc.
For instance, a traffic signal has the attributes “green light duration = 30 seconds,” and a
relationship like “monitors Road R, which accommodates 10,000 vehicles daily.”
Let’s look at the corresponding knowledge graph:
or,
Ans:
RDF:
Example 6. How can the statement “Alice booked FlightXYZ” be represented using RDF, and
how can reification be used to include additional metadata such as the departure time (“2025-
04-01T08:00:00Z”) and seat number (“23A”)? Provide both the basic non-reified triple and a
reified version that models the booking as an event with detailed properties.
Example 7. How can the statement “Loan application was denied by the Bank” be represented
using RDF, and how can reification be used to capture additional information such as the reason
for denial (“Credit score < 600”) and the rule that was triggered (“PolicyRule789”)? Provide
both the basic non-reified triple and a reified version that models the decision as an event with
detailed properties explaining the outcome.
Note:
• When to Reify?
If some metadata is required to be attached.
Definition. RDF is a framework for representing structured data using triples: Subject, Pred-
icate, and Object. RDF enables interoperability and machine-readability of information by
defining relationships and attributes in a linked data format.
Example 8. A patient (Patient123) is reported to have a fever and cough. It is known that any
flu typically has symptoms of fever and cough. Use RDF to represent this information. Based
on the RDF representation, what conclusion would you suggest?
Example 9. A user (User1) likes Movie1, which is of SciFi genre. Movie2, Movie3, and Movie4
are respectively in the SciFi, Action, and Comedy genres. Write the RDF triples that represent
this information. Based on the RDF representation, which movie can be recommended to the
user?
Since User1 likes Movie1, and Movie1 has the genre SciFi, we can infer that User1 likes SciFi
movies. Therefore, Movie2 can be recommended to the user.
Definition. The Semantic Web extends the web by making information machine-readable and
contextually linked. It leverages structured data models (such as RDF and OWL) to enable
intelligent querying, reasoning, and data integration.
It is an extension of the current web, where information is not just readable by humans but also
understandable by machines.
Today, most web data are presented in a way that appears meaningful to us but is merely text
Draw a semantic graph using nodes to represent entities (underlined words) and labeled arrows
(edges) to show relationships such as discovered, born in, studied at, contributed to, member
of, etc.
Ans:
Draw a semantic graph using nodes to represent entities (underlined words), and labeled arrows
(edges) to show relationships such as invented, born in, studied at, won, is a part of, awarded
in, etc.
Ans:
Together, Ontology, Reification, RDF, and the Semantic Web form the foundation of a smarter,
interconnected digital world, where machines not only store data, but also understand and reason
with it.
(a) Ontology:
(b) Reification:
– Access control and data permissions in different fields, like Cloud-Based Collaborative
Platforms, Healthcare Systems, Legal & Government Systems, etc.
(c) RDF:
– Smart travel assistants that combine weather, location, and reservation data.