Extending SiDIF

From BITPlan cr Wiki
Jump to navigation Jump to search

⚠️ LLM-generated content notice: Parts of this page may have been created or edited with the assistance of a large language model (LLM). The prompts that have been used might be on the page itself, the discussion page or in straight forward cases the prompt was just "Write a mediawiki page on X" with X being the page name. While the content has been reviewed it might still not be accurate or error-free. - by asking Claude AI to format and explain Talk:Extending_SiDIF

SiDIF Extension Proposal

Statement Representations and Evolution

Natural Language Statement

dad loves mom

This represents the most basic, human-readable form of a statement. It contains:

  • subject (dad)
  • predicate (loves)
  • object (mom)

Semantic Web Identifiers

The same triple structure with Wikidata URLs:

https://www.wikidata.org/wiki/Q76 https://www.wikidata.org/wiki/Property:P26 https://www.wikidata.org/wiki/Q13133

https://www.wikidata.org/wiki/Q76 https://www.wikidata.org/wiki/Property:P26 https://www.wikidata.org/wiki/Q13133

Now each part has a unique identifier in the semantic web space. The first version shows the raw syntax, while the second version shows the actual linked URIs.

Human-Readable with Links

[https://www.wikidata.org/wiki/Q76 Barack Obama] [https://www.wikidata.org/wiki/Property:P26 spouse] [https://www.wikidata.org/wiki/Q13133 Michelle Obama]

Barack Obama spouse Michelle Obama

Combines human readability with semantic web identifiers.

Current SiDIF Reference Mechanism

Using 'it' Keyword

dad loves mom
https://www.wikidata.org/wiki/Q76 is wikidata_url of it

'it' refers to the subject of the previous statement, bridging Object-Oriented concepts (this/self) with semantic web references.

Proposed Extension for Statement Parts

https://www.wikidata.org/wiki/Q76 is wikidata_url of subject
1992-10-03 is date of predicate
https://www.wikidata.org/wiki/Q13133 is wikidata_url of object

Allows referencing any part of the previous statement.

Core Concepts and Bridging

Fundamental Elements

Entity - Object
Link - relation between two objects

These map to both OO and Semantic Web paradigms:

  • OO: Objects and their relationships
  • Semantic Web: Resources and their properties

Technology Integration Example

Person isA Concept

# Technology binding options
Person_Sparql is sparql_impl of subject
http://foaf/... is prefix_url of subject
foaf is prefix of subject

Barack1950 isA Person
"Barack" is firstname of subject

Semantic Web Foundation

Description Logic Basis

OWL/Description Logic components:

  • Concepts (Classes)
  • Roles (Properties)
  • Individuals (Instances)

RDF/OWL Mappings

# Class hierarchy
Concept subClassOf owl:Thing    # Top concept (T with bar)
owl:Nothing                     # Bottom concept (inverted T)

# Instance relationship
Barack rdfType Person          # Individual -> Class relationship

Design Decisions

Reference Keywords Options

  1. Full form: subject/predicate/object
  2. Short form: s/p/o
  3. Alternative: subject/link/object

Key Bridging Concepts

  1. 'it' semantics bridges:
    • OO: self/this/me
    • Semantic Web: subject reference
  1. Statement part references enable:
    • Metadata about relationships
    • Integration with semantic web identifiers
    • Technology-specific bindings

Relationship Considerations

# 1:n relations bring:
# Good: Flexibility for different tech bindings
# Challenge: Increased complexity
Person_Sparql is sparql_impl of subject
foaf is prefix of subject