1. Home
  2. Explore
  3. Computer Science
  4. Semantic Web Research

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Semantic Web Research

Knowledge Graphs: Connecting Big Data Semantics

1. The Central Problem: Strings Versus Things

Big data systems must help both people and computers interpret information. Humans usually understand information as meaningful entities, while computers traditionally process information as strings of characters.

For example, the word “Berkeley” may refer to:

  • The University of California, Berkeley

  • George Berkeley, the philosopher

  • Berkeley, California

A human usually has an intended meaning in mind before searching. A conventional search engine, however, may initially treat each occurrence of “Berkeley” as the same sequence of characters. It can count how often the string appears, examine links to and from pages, and rank results using methods such as PageRank, but it may not fully understand which entity the string represents.

A string becomes a thing when metadata supplies contextual meaning.

Metadata

Metadata is data about data. It provides contextual information that allows an otherwise ambiguous string to represent a meaningful entity.

For example:

  • “Berkeley” + “city” identifies Berkeley as a city.

  • “Berkeley” + “university” identifies Berkeley as an educational institution.

  • “Berkeley” + “person” identifies Berkeley as an individual.

Metadata transforms an uninterpreted label into an entity that can be distinguished from other entities with the same name.


2. From Data to Information to Knowledge

The distinction between data, information, and knowledge can be understood as a progression in contextual enrichment.

Data

Data is an isolated value without enough context to determine its meaning.

For example:

  • “40”

The value could represent:

  • 40 apples

  • 40 students

  • 40 people

  • A deadline

  • A measurement

By itself, the number is ambiguous.

Information

Data becomes information when context explains what the value represents.

For example:

  • “40 degrees Fahrenheit”

This indicates that the value refers to temperature. The added unit gives the number an interpretable meaning.

Knowledge

Information becomes knowledge when additional context allows interpretation, comparison, and practical judgment.

For example:

  • 40 degrees Fahrenheit in Berkeley in February

  • 40 degrees Fahrenheit in Bloomington in February

The same temperature may lead to different judgments depending on the location and season. A person familiar with Bloomington’s severe winters may regard 40 degrees Fahrenheit as relatively warm, whereas the same temperature may feel cold in Berkeley.

This progression can be summarized as:

  1. Data: an isolated value

  2. Information: the value plus descriptive context

  3. Knowledge: the information plus situational, comparative, or experiential context

The key idea is that meaningful interpretation depends on adding the appropriate layers of context.


3. The Evolution of Search

Search technology is presented as developing through several stages.

Search over Strings

Traditional search systems primarily search for text strings. They identify matching words and rank documents based on factors such as:

  • Frequency of a term

  • The importance of pages containing the term

  • Links and citations pointing to those pages

  • The authority of neighboring pages

This approach can be effective, but it does not necessarily distinguish among different meanings of the same word.

Search over Things or Entities

The introduction of knowledge graphs enables search systems to operate over entities rather than only strings.

An entity is a distinct, identifiable thing, such as:

  • A person

  • An organization

  • A city

  • A university

  • A book

  • A chemical compound

  • A disease

  • A gene

Entity-based search can distinguish between multiple things that share the same name.

Search over Relationships

Once entities are identified, the relationships among them become important. A search engine should not only answer “What is this entity?” but also:

  • Who is connected to this person?

  • Which researchers collaborated?

  • Which drug binds to which protein?

  • Which disease is associated with a drug?

  • Which organizations share resources?

  • How are two seemingly unrelated entities connected?

Search over Contextual Subgraphs

The next stage is searching not merely for individual relationships, but for subgraphs that explain how entities are connected.

A subgraph may contain:

  • Two entities of interest

  • The intermediate entities connecting them

  • The relationships linking each step

  • Context about why the connection matters

This allows a system to answer questions such as:

  • How are two researchers indirectly connected?

  • Which intermediary person links two academic communities?

  • Through which genes are two drugs associated?

  • What sequence of databases and relationships supports a conclusion?


4. Relationships as Knowledge

A relationship can be understood as an edge connecting two nodes in a graph.

  • Nodes represent entities.

  • Edges represent relationships.

  • Properties of edges describe the relationship itself.

For example, two researchers may be connected because they:

  • Co-authored a paper

  • Worked at the same institution

  • Shared a grant

  • Were advisor and student

  • Were collaborators

  • Were family members

The same pair of people may have multiple relationships at once. This makes relationships richer than simple links.

Example: Academic Relationships

A search for an economist may reveal:

  • Books written by that person

  • Co-authors

  • Frequently associated researchers

  • Institutional affiliations

  • Shared research foundations

  • Personal relationships

Two researchers may appear unrelated when examining only their individual profiles, but their broader network may reveal a connection through:

  1. A shared co-author

  2. A grant collaboration

  3. A common institution

  4. A shared publication or project

Relationships therefore provide information that cannot be obtained from isolated entity descriptions.


5. Subgraphs and Paths

A path is a sequence of connected nodes and relationships. A subgraph is a portion of a larger graph containing relevant nodes and edges.

A subgraph between two people may reveal:

  • Direct connections

  • Indirect connections

  • The number of steps between them

  • The most important intermediary

  • The type of relationship at each step

Why Paths Matter

Suppose a researcher wants to learn more about another researcher. If there is no direct relationship, the researcher may examine the path connecting them and identify people who can provide an introduction or additional information.

A path can also identify a focal point—an intermediary that plays a particularly important role in connecting two otherwise separate parts of a network.

Example of Cross-Domain Connection

Two professors from different areas of a university may appear unrelated. A connected data system might reveal:

  1. Professor A co-authored with Researcher B.

  2. Researcher B received a grant with Professor C.

  3. Professor C is the person of interest.

Without connecting publication data and grant data, this path would remain hidden. The example demonstrates why data integration and semantic relationships are necessary for discovering connections.


6. Knowledge Graphs

A knowledge graph represents entities, their attributes, and their relationships in a graph structure.

Knowledge graphs are especially useful when information comes from many sources and must be integrated into a unified system.

Core Components

  • Entities: people, organizations, drugs, genes, diseases, documents, and other identifiable things

  • Identifiers: labels that distinguish entities

  • Properties: characteristics of entities

  • Relationships: links between entities

  • Context: information about how, when, and where relationships were established

  • Provenance: information about the source and history of a claim

Knowledge graphs support more meaningful search, integration, discovery, and prediction than systems that treat information only as isolated strings.


7. VIVO: Modeling Networks of Scientists

Purpose of VIVO

VIVO is a project designed to collect and share information about researchers and academic resources. Its goals include:

  • Facilitating scientific collaboration

  • Helping researchers discover one another

  • Allowing institutions to share information

  • Making academic resources visible

  • Supporting scientific innovation

A related project focused on resources such as equipment and facilities. Another effort connected information about people with information about available resources.

Why People and Resources Matter

Scientific collaboration depends on discovering both:

  • People: researchers with relevant expertise

  • Resources: equipment, facilities, projects, datasets, and other research capabilities

For example, a laboratory may not need to purchase a machine if another nearby laboratory already owns it and can share access.


8. Ontologies as Rich Schemas

An ontology is a structured representation of concepts, categories, properties, and relationships within a domain.

An ontology can be viewed as a schema, but it is more expressive than a traditional relational database schema.

Relational Database Schema

A relational database generally represents information in tables with rows and columns. Relationships are often represented through identifiers or literal values.

Ontology-Based Representation

An ontology allows systems to represent:

  • Hierarchies among concepts

  • Classes and subclasses

  • Relationships between concepts

  • Object properties connecting entities

  • More complex semantic structures

For example:

  • A person may be a faculty member.

  • A faculty member may produce a publication.

  • A publication may be part of a research project.

  • A project may be associated with a grant.

The relationships themselves can be explicitly represented rather than being hidden in separate tables.

An ontology is a semantic schema that supports hierarchies and explicit relationships among entities.


9. Ontology Reuse and Interoperability

Ontology development should avoid reinventing existing models. When an appropriate ontology already exists, it should be reused.

Ontology reuse improves interoperability because different systems can represent similar concepts using shared terms and structures.

Examples of reused ontologies and vocabularies include:

  • Biomedical resource ontologies

  • Project ontologies

  • Bibliographic ontologies

  • Taxonomy frameworks

  • Person and organization vocabularies

  • General metadata vocabularies

The general strategy is:

  1. Identify the concepts that need to be represented.

  2. Search for existing ontologies covering those concepts.

  3. Reuse compatible classes and properties.

  4. Align the reused ontologies.

  5. Create new classes only when no suitable model exists.

This approach allows independently developed datasets to communicate with one another.


10. Modeling a Scientific Community

A scientist-centered ontology must represent the major components of academic work.

People

People are the central entities in a scientific network. The ontology may represent:

  • Identity

  • Contact information

  • Education

  • Credentials

  • Research interests

  • Teaching activities

  • Institutional affiliations

  • Publications

  • Grants

  • Projects

  • Professional service

Research

Research-related information may include:

  • Publications

  • Grants

  • Projects

  • Research laboratories

  • Research events

  • Other scholarly outputs

Teaching

Teaching information may include:

  • Courses taught

  • Teaching roles

  • Instructional activities

  • Course participation

Service

Professional service may include:

  • Editorial board membership

  • Program committee membership

  • Conference organization

  • Other academic responsibilities

Expertise

Expertise is difficult to model because it is domain-specific. There is no single taxonomy that accurately describes every field.

Different subject areas may use different classification systems:

  • Medical sciences may use biomedical or clinical vocabularies.

  • Computer science may use computing taxonomies.

  • Other disciplines may use their own specialized systems.

A flexible solution is to use a general concept framework as a placeholder and connect it to a domain-specific taxonomy when needed.


11. Handling Properties of Properties

One significant modeling challenge is representing information about a relationship or property.

For example, a person’s position is not merely “at an organization.” The system may also need to represent:

  • Start date

  • End date

  • Position type

  • Whether the position is current or past

Similarly, an authorship relationship may need to include:

  • Author order

  • Role of the author

  • Contribution type

Reification Through an Intermediate Class

A common strategy is to transform the relationship into a class.

Instead of representing:

  • Person → has position → Organization

the system creates a position entity:

  • Person → has position record → Position

  • Position → affiliated with → Organization

  • Position → has start time → Date

  • Position → has end time → Date

The position record allows the system to store additional information about the relationship.

Authorship Example

Instead of simply recording that a person wrote an article, the ontology creates an authorship entity:

  • Person → has authorship → Authorship

  • Authorship → concerns article → Article

  • Authorship → has author rank → Value

This makes it possible to distinguish first authors, second authors, and later authors.

Trade-Off

The intermediate class provides richer information but makes graph paths longer and increases the number of triples that must be stored and queried.


12. Ontology Localization and Extensions

No ontology can perfectly meet the needs of every institution or community.

Different universities may classify the same role differently. For example, a doctor or researcher might be classified as:

  • A faculty member

  • A nonacademic employee

  • A student

  • A professional staff member

Rather than forcing every institution into one rigid structure, a core ontology can be extended locally.

Namespace-Based Extension

A namespace identifies the vocabulary in which a class or property is defined.

A shared core ontology may define broad classes such as:

  • Person

  • Faculty member

  • Nonacademic employee

An institution-specific namespace can then define more specialized subclasses, such as:

  • Professional staff

  • Administrative service staff

This produces two levels of interoperability:

  • Core-level interoperability: all institutions share the general concepts.

  • Local-level specialization: an institution can represent concepts specific to its own practices.

A federated search system may rely on the shared core ontology, while a local institutional portal can support more detailed extensions.


13. RDF and Triples

Academic data can be converted into RDF, allowing it to be represented in a common graph format.

RDF, or the Resource Description Framework, represents information as triples:

  1. Subject

  2. Predicate

  3. Object

A natural-language sentence has a similar structure:

  • “A researcher gives a talk.”

  • Subject: researcher

  • Predicate: gives

  • Object: talk

In semantic data systems, the subject and object should preferably be identified by globally meaningful URIs rather than ambiguous strings.

Why URIs Matter

A URI allows independently created datasets to refer to the same entity.

For example:

  • One database may state that a drug binds to a protein.

  • Another database may state that the same protein participates in a biological pathway.

  • If both datasets use compatible identifiers, the statements can be connected automatically.

URIs therefore help transform separate datasets into a connected graph.

RDF provides the triple-based data model, while URIs make it possible to connect entities across independently created datasets.


14. Representing Co-Authorship in RDF

A publication can be modeled as a graph involving:

  • A faculty member

  • An authorship record

  • An article

  • Additional authorship records

  • Other authors

For example:

  1. Person A is an instance of a faculty member.

  2. Person A has an authorship record.

  3. The authorship record is associated with an article.

  4. Person B has another authorship record.

  5. Person B’s authorship record indicates that Person B is the second author.

  6. Both authorship records connect to the same article.

This graph captures:

  • The identities of the authors

  • Their relationship to the article

  • Their author order

  • Their co-authorship relationship

The resulting structure is a heterogeneous graph, because it contains multiple types of nodes, such as people, articles, and authorship records.


15. Querying Knowledge Graphs with SPARQL

RDF graphs are queried using SPARQL, a graph-pattern query language.

Graph Pattern Searching

A SPARQL query describes a pattern that the desired data must match. The system returns entities and relationships satisfying that pattern.

A query might ask for:

  • A person with a particular name

  • Publications associated with that person

  • Articles published in a particular year

  • Titles of those articles

The query pattern might conceptually follow this structure:

  1. Find a person whose name matches a value.

  2. Follow the person’s publication relationship.

  3. Identify the associated research paper.

  4. Retrieve the paper’s title.

  5. Restrict the publication date to a specified year.

Difficulty of SPARQL

SPARQL can be difficult because users must know:

  • The ontology structure

  • The names of classes

  • The names of properties

  • The required graph path

  • The syntax of the query language

Users often do not know the path pattern in advance, even though discovering that path is part of the task.

SPARQL Query Builders

A visual query builder can allow users to:

  1. Select a class, such as Person.

  2. Add a property, such as name.

  3. Enter a value, such as a researcher’s name.

  4. Add a publication relationship.

  5. Select a paper class.

  6. Add title and publication-date properties.

  7. Specify a date restriction.

  8. Generate and execute the corresponding SPARQL query.

This approach makes graph querying accessible to users who do not know SPARQL syntax.


16. Federated Search and Portable Profiles

A federated search system combines information from multiple institutions or datasets.

Search results may be organized into facets such as:

  • People

  • Publications

  • Organizations

  • Activities

  • Events

  • Courses

  • Equipment

The system may also identify the institution associated with each result.

Portable RDF Profiles

A researcher’s profile can be represented as portable RDF. If the researcher moves to another institution that supports the same profile system, the profile can be transferred rather than recreated from scratch.

A unified profile can contain:

  • Contact information

  • Current and past positions

  • Research areas

  • Publications

  • Courses taught

  • Co-authors

  • Institutional affiliations

Because co-author profiles are also connected, users can navigate from one researcher to another and inspect the surrounding collaboration network.


17. Life-Science Big Data

The medical and life-science domain contains enormous quantities of structured and unstructured data.

Structured Data

Structured data is stored in organized databases and may include:

  • Experimental results

  • Protein information

  • Biological pathways

  • Drug-target relationships

  • Chemical compounds

  • Patient or electronic medical record data

Unstructured Data

Unstructured data includes scientific literature, such as:

  • Journal abstracts

  • Full-text articles

  • Methodology sections

  • Research findings

The combination of structured databases and textual publications enables cross-validation. A relationship found in a database may be supported, questioned, or enriched by evidence in the literature.


18. Rich Relationships in Biomedical Data

Biomedical entities can be connected by many different types of relationships.

A drug and a gene, for example, may be related because:

  • They frequently co-occur in an abstract.

  • They co-occur in a methodology section.

  • The drug produces a measurable biological effect.

  • A biological assay measures their interaction.

  • They have a statistical association.

  • They share a docking relationship.

  • They are linked through a crystal structure.

  • The drug binds to a protein encoded by the gene.

A simple edge between two nodes would lose important distinctions. A knowledge graph must represent the type, strength, evidence, and context of the relationship.


19. Biomedical Data Integration

A life-science knowledge graph can be developed through the following pipeline:

  1. Gather information from structured databases and scientific literature.

  2. Convert data from different formats into a common representation.

  3. Identify entities such as drugs, genes, proteins, diseases, and compounds.

  4. Connect entities using shared identifiers.

  5. Link the resulting data to other linked-data resources.

  6. Store the information in a graph or triple store.

  7. Develop tools for querying, visualization, discovery, and prediction.

Common Data Formats

Biomedical data may originally be stored as:

  • Relational tables

  • Text

  • XML

  • Database records

  • Other structured formats

Converting these sources into RDF makes them easier to connect.

Triple Stores

A triple store is a database designed to store and query RDF triples. It can be viewed as a graph-oriented or NoSQL-style database.

A triple store may support:

  • Browsing entities

  • Following links across databases

  • Executing SPARQL queries

  • Searching for graph patterns

  • Connecting external visualization tools


20. Linked Data

Data becomes linked data when it is connected not only internally but also to other datasets.

For example:

  • A drug in one database can link to a target protein in another.

  • The target protein can link to a gene in a third database.

  • The gene can link to a biological pathway in a fourth database.

The graph becomes more useful as additional compatible datasets are connected.

Cross-Database Query Example

A single query might follow this sequence:

  1. Identify a drug in a drug database.

  2. Find the protein targets of that drug.

  3. Link those proteins to entries in a protein database.

  4. Identify corresponding genes.

  5. Link the genes to a gene ontology.

  6. Find the biological pathways in which the genes participate.

This illustrates the power of connected data: one query can traverse multiple databases and return an integrated result.


21. The Need for Semantics Beyond Linking

Linking data through identifiers is necessary but not always sufficient. Different sources may use different names for the same entity.

For example, the same drug may appear under:

  • A formal chemical name

  • A trade name

  • A code name

  • A database-specific identifier

If the system does not recognize that these names refer to one entity, it may treat them as separate drugs.

Entity Unification

Entity unification combines different references that represent the same real-world entity.

This is more than simply adding a loose equivalence link. The goal is to create a genuinely unified representation that allows all associated facts to be interpreted as statements about the same entity.

Limitations of Simple Equivalence Links

A generic “same as” relationship can create problems:

  • It may introduce indirect and noisy paths.

  • It may make queries more complicated.

  • It may not resolve differences in the meaning or scope of the entities.

  • It may be difficult to determine which equivalence claims are trustworthy.

In decentralized systems, equivalence links may still be useful, but carefully designed ontologies can produce more consistent integration.


22. Biomedical Ontologies and Interaction Modeling

A biomedical ontology may include major entity categories such as:

  • Drugs

  • Side effects

  • Diseases

  • Genes

  • Proteins

  • Compounds

It can also connect to specialized disease and drug ontologies.

A major focus is modeling interactions. An interaction ontology can distinguish among many classes and subclasses of relationships, such as:

  • Drug binding

  • Drug-target association

  • Gene involvement

  • Side-effect relationships

  • Disease associations

  • Experimental evidence

  • Statistical relationships

After entity names and identifiers are unified, a knowledge graph can provide a consistent view of biomedical facts.


23. Knowledge-Graph Discovery

Once a knowledge graph has been created, it can support discovery rather than merely data retrieval.

A basic discovery task is to find paths between two entities.

For example:

  • Find the connections between a drug and a target.

  • Find the genes linking two drugs.

  • Find the diseases associated with a drug.

  • Find the biological pathway connecting two compounds.

The Problem of Too Many Paths

A graph may contain thousands of paths between two entities. Returning every path is not useful, so the system must:

  • Rank paths

  • Select meaningful subgraphs

  • Distinguish strong relationships from weak ones

  • Filter by entity type

  • Highlight relevant evidence


24. Topic Modeling for Path Ranking

Scientific literature can help determine which paths are most meaningful.

Latent Dirichlet Allocation

Latent Dirichlet Allocation, commonly abbreviated LDA, is a topic-modeling technique that identifies recurring topics in a collection of documents.

In a biomedical setting, topic modeling can be applied to:

  • Titles

  • Abstracts

  • Full-text research literature

The system learns:

  • A distribution of topics for each biomedical entity

  • The words associated with each topic

  • The probability that an entity belongs to each topic

For example, one learned topic may be associated with depression and include:

  • Depression-related terms

  • Bipolar disorder

  • Relevant drugs

  • Related genes

  • Associated diseases

Ranking Paths

A path consists of a sequence of entities. Each entity can be represented by a topic vector. The system compares the topic vectors of entities on the path using a divergence measure such as KL divergence.

The general process is:

  1. Apply topic modeling to biomedical literature.

  2. Generate a topic vector for each entity.

  3. Identify paths between two target entities.

  4. Compare the topic distributions of entities along each path.

  5. Calculate a path weight.

  6. Rank paths according to semantic coherence.

This method prioritizes paths whose entities discuss related biomedical topics.


25. Controlling Graph Diversity

Different users may want different types of subgraphs.

For example:

  • A geneticist may want a graph containing only genes.

  • A pharmacologist may want drugs, targets, and side effects.

  • A clinician may want diseases, treatments, and outcomes.

  • A systems biologist may want pathways and multiple biological entity types.

Graph-selection functions can:

  • Encourage particular entity types

  • Penalize unwanted entity types

  • Require diversity among node categories

  • Restrict paths through selected intermediary nodes

The system can also search for paths that pass through a specified third entity.


26. Biomedical Example: Drug Side Effects

Three drugs used in the treatment of type II diabetes illustrate the value of connected biomedical data:

  • Troglitazone was withdrawn because of liver-related problems.

  • Rosiglitazone was associated with cardiac problems, including myocardial infarction.

  • Pioglitazone remained available but was associated with bladder tumors and kidney-related concerns.

A knowledge graph can examine how these drugs are connected through genes and other biological entities.

Interpreting the Gene Connections

Some genes in the graph may be associated with harmful effects, while others may be associated with protective or beneficial effects.

The connections can help explain why:

  • Rosiglitazone is associated with myocardial infarction.

  • Troglitazone is not connected to the same cardiac-risk genes.

  • Pioglitazone may be associated with fluid retention and congestive heart failure through particular biological pathways.

The significance of the graph is not merely that it displays connections. It can reveal possible mechanistic relationships that may help identify safety concerns before they become widespread clinical problems.

Connecting drugs, genes, pathways, and clinical effects can support the early detection of potential biomedical risks.


27. Prediction in Knowledge Graphs

After identifying existing associations, researchers may try to predict previously unknown relationships.

Limitations of Common-Neighbor Prediction

In social networks, a common prediction method assumes that two people who share many friends are likely to become connected.

This principle is useful in social systems but may not work well in biology. A common neighbor in a biological graph may be unsurprising and may not provide meaningful predictive evidence.

Long Paths and Weak Connections

Long paths also create problems.

In social networks, the “six degrees of separation” idea means that many people are connected by relatively short paths. If all paths are treated equally, the network becomes overly dense and loses predictive value.

A path therefore needs to be evaluated based on:

  • The types of relationships

  • The biological meaning of the intermediaries

  • The strength of evidence

  • The rarity or significance of structural features

  • The semantic compatibility of the connected entities


28. Semantic Prediction of Drug-Target Relationships

A prediction system can infer that a drug may interact with a target based on several kinds of evidence.

Drug-Based Evidence

Two drugs may be related because they:

  • Share chemical substructures

  • Have similar molecular structures

  • Produce similar side effects

  • Belong to the same chemical ontology category

  • Affect similar gene-expression patterns

If one drug binds a target and the second drug resembles it sufficiently, the second drug may also bind that target.

Target-Based Evidence

Two targets may be related because they:

  • Have similar sequences

  • Share a three-dimensional structure

  • Belong to the same gene ontology category

  • Bind similar ligands

  • Participate in similar biological processes

If one drug binds one target and that target resembles another target, the drug may also interact with the second target.

Structural and Semantic Weights

Not all similarities should receive equal weight.

For example:

  • A rare shared chemical substructure may be more informative than a common one.

  • A strong sequence similarity may matter more than a weak functional association.

  • A direct binding relationship may be weighted differently from a general co-occurrence.

The prediction system can therefore:

  1. Identify graph patterns between drugs and targets.

  2. Evaluate the topology of those patterns.

  3. Assign weights to structural and semantic relationships.

  4. Calculate a path score.

  5. Normalize the score.

  6. Produce a prediction.


29. Prediction Pipeline

A general semantic-prediction pipeline is:

  1. Collect raw data.

  2. Convert the data into RDF.

  3. Use ontologies to unify concepts and relationships.

  4. Create a knowledge graph.

  5. Link the graph to external linked-data resources.

  6. Identify connections between two entities.

  7. Detect meaningful graph patterns.

  8. Assign weights to the relationships and paths.

  9. Calculate and normalize prediction scores.

  10. Output likely new associations.

The approach combines graph structure with semantic interpretation rather than relying only on statistical similarity.

Evaluation

Predictions can be compared with experimentally tested results. In one evaluation, many predicted compound-target relationships were confirmed experimentally, although some could not be evaluated because the relevant entities were absent from the available data.

This illustrates two important points:

  • Knowledge graphs can generate useful hypotheses.

  • Prediction quality depends on both the model and the completeness of the underlying data.


30. Drug Repurposing

A knowledge graph can also reveal that one drug is associated with multiple diseases.

A graph may connect:

  • Drugs

  • Human targets

  • Diseases

  • Biological pathways

If a drug has strong associations with targets involved in more than one disease, it may have potential for drug repurposing.

Drug repurposing is the use of an existing drug for a condition other than the one for which it was originally developed.

Graph-based disease-drug maps can reveal:

  • Shared targets between diseases

  • Drugs that affect multiple disease pathways

  • Unexpected disease associations

  • Potential therapeutic applications


31. Major Challenges

Entity Identification and URI Management

Creating an entity is not trivial. The system must determine:

  • Which real-world entity a string represents

  • Which identifier should be assigned

  • Whether two identifiers refer to the same entity

  • How independently created identifiers can be reconciled

The decentralized nature of the web makes this especially difficult because different organizations may create different URIs for the same person, drug, or institution.

Semantic Interpretation

Adding a tag does not automatically guarantee understanding. A computer must distinguish the meaning of tags such as:

  • City

  • University

  • Person

  • Disease

  • Drug

Semantic systems therefore require well-defined vocabularies and relationships.

Relationship Modeling

Relationships can have their own properties, including:

  • Dates

  • Roles

  • Confidence

  • Evidence

  • Order

  • Source

  • Context

Representing these properties often requires intermediate classes, which create longer graph paths and more complex queries.

Relationship Ranking

Future search engines will need to rank results based not only on the relevance of entities but also on the relevance and quality of relationships.

Important questions include:

  • Which relationship is most authoritative?

  • Which path is shortest or strongest?

  • Which intermediary is most significant?

  • Which evidence supports the relationship?

  • How should conflicting relationships be ranked?

Context and Provenance

A triple may state that one entity is related to another, but it may not indicate:

  • Who made the claim

  • Where the data came from

  • When it was generated

  • How it was calculated

  • Which workflow produced it

  • Whether it has been independently confirmed

Provenance records the origin, history, and generation process of data.

Levels of Provenance

Provenance may describe:

  • Who stated a claim

  • Which organization published it

  • How a value was calculated

  • Which datasets were combined

  • Which workflow or sequence of services produced the result

For example, a temperature value may require information about:

  • The source of the measurement

  • The time of measurement

  • The method of calculation

  • The services used to generate it

Triples and Quads

A simple triple represents a statement about a subject and object. More complex provenance may require a fourth component identifying the source or graph in which the statement occurs.

This is why some systems use quads rather than triples: the additional component can represent the graph, source, or provenance of the statement.

Query Efficiency

Large knowledge graphs may contain millions or billions of triples. Queries that traverse many relationships can become computationally expensive.

Data Security

Integrated data may contain sensitive information, especially in medical and institutional settings. Systems must control:

  • Who can access data

  • Which information can be shared

  • How sensitive relationships are protected

  • How identity and confidentiality are maintained

Data Quality

Knowledge graphs may contain:

  • Missing information

  • Conflicting claims

  • Duplicate entities

  • Incorrect identifiers

  • Outdated facts

  • Uneven levels of evidence

Reliable discovery requires mechanisms for evaluating and improving data quality.

Versioning and Updating

Semantic systems are often difficult to update. New evidence may require changes to:

  1. The underlying data

  2. The ontology

  3. Entity annotations

  4. Relationships

  5. Inference results

A new discovery may not fit the existing ontology, requiring the ontology to be revised before the data can be integrated.

This creates a potential delay between the appearance of new evidence and its incorporation into the knowledge graph.


32. Domain-Specific Versus General Ontologies

Semantic technologies work especially well in established domains where concepts and relationships are relatively stable.

Established Domains

Fields such as biology, medicine, and mathematics may have:

  • Well-defined entities

  • Specialized vocabularies

  • Established relationships

  • Large expert communities

  • Relatively stable facts

For example, a biological ontology may contain many gene-related classes and a smaller number of well-defined relationships.

Social and General-Language Domains

Social domains are more difficult because meanings are unstable and consensus is limited.

For example, the definition of “adult” may vary by country:

  • One legal system may define adulthood as beginning at age 18.

  • Another may use age 21.

A single universal class may therefore be misleading.

A flexible system can instead use:

  • Broad classes

  • Properties such as age

  • Country or jurisdiction information

  • Locally defined named classes

This allows different communities to define specialized interpretations without destroying general interoperability.

Semantic technologies are most reliable when applied to well-established domains, while socially and linguistically unstable domains require more flexible, property-based modeling.


33. Logic, Statistics, and Explainability

Knowledge-graph discovery combines two broad approaches.

Statistical Methods

Statistical techniques can:

  • Detect correlations

  • Learn topic distributions

  • Rank paths

  • Identify patterns

  • Generate predictions

They are often powerful and scalable, but their results may be difficult to explain.

Logical and Ontological Methods

Ontologies and logical relationships can:

  • Represent explicit meanings

  • Define valid categories

  • Support interpretable inference

  • Track how a conclusion was derived

  • Provide provenance

They can improve trust and explainability but may be slower and more difficult to maintain.

Combining Both Approaches

A promising direction is to combine:

  • Statistical correlation for discovery

  • Ontological reasoning for interpretation

  • Provenance for verification

  • Expert review for validation

Statistical correlation does not establish causation. A knowledge graph can make a relationship visible, but additional evidence is required to determine whether one factor causes another.


34. Machine-Readable Scientific Publishing

Scientific publications are commonly written for human readers, often in formats that computers cannot easily interpret.

A future-oriented approach is semantic publishing, in which research results are accompanied by machine-readable representations.

Possible Advantages

Machine-readable results could:

  • Enter knowledge bases immediately

  • Make findings easier to search

  • Improve cross-paper comparison

  • Support automated discovery

  • Increase the visibility of publications

  • Help determine whether findings are independently repeated

If many publications report the same result, a knowledge graph could help identify that result as more trustworthy, provided the sources are evaluated appropriately.

Publishers may also benefit because structured representations can:

  • Advertise the key contributions of a paper

  • Improve discoverability

  • Encourage citation

  • Make valuable findings easier to license and reuse

Machine-readable publication could therefore accelerate the transformation of research findings into connected scientific knowledge.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent