Extending SiDIF

From BITPlan cr Wiki
Revision as of 10:45, 28 January 2025 by Wf (talk | contribs)
Jump to navigation Jump to search

SiDIF Extension Proposal

1. Statement Representations and Evolution

1.1 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)

1.2 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.

1.3 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.

2. Current SiDIF Reference Mechanism

2.1 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.

2.2 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.

3. Core Concepts and Bridging

3.1 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

3.2 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

4. Semantic Web Foundation

4.1 Description Logic Basis

OWL/Description Logic components:

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

4.2 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

5. Design Decisions

5.1 Reference Keywords Options

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

5.2 Key Bridging Concepts

1. 'it' semantics bridges:

  * OO: self/this/me
  * Semantic Web: subject reference

2. Statement part references enable:

  * Metadata about relationships
  * Integration with semantic web identifiers
  * Technology-specific bindings

5.3 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