Difference between revisions of "Extending SiDIF"
Line 2: | Line 2: | ||
= SiDIF Extension Proposal = | = SiDIF Extension Proposal = | ||
− | == | + | == Statement Representations and Evolution == |
− | === | + | === Natural Language Statement === |
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
dad loves mom | dad loves mom | ||
Line 13: | Line 13: | ||
* object (mom) | * object (mom) | ||
− | === | + | === Semantic Web Identifiers === |
The same triple structure with Wikidata URLs: | The same triple structure with Wikidata URLs: | ||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
Line 23: | Line 23: | ||
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. | 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 === |
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
[https://www.wikidata.org/wiki/Q76 Barack Obama] [https://www.wikidata.org/wiki/Property:P26 spouse] [https://www.wikidata.org/wiki/Q13133 Michelle Obama] | [https://www.wikidata.org/wiki/Q76 Barack Obama] [https://www.wikidata.org/wiki/Property:P26 spouse] [https://www.wikidata.org/wiki/Q13133 Michelle Obama] | ||
Line 32: | Line 32: | ||
Combines human readability with semantic web identifiers. | Combines human readability with semantic web identifiers. | ||
− | == | + | == Current SiDIF Reference Mechanism == |
− | === | + | === Using 'it' Keyword === |
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
dad loves mom | dad loves mom | ||
Line 41: | Line 41: | ||
'it' refers to the subject of the previous statement, bridging Object-Oriented concepts (this/self) with semantic web references. | 'it' refers to the subject of the previous statement, bridging Object-Oriented concepts (this/self) with semantic web references. | ||
− | === | + | === Proposed Extension for Statement Parts === |
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
https://www.wikidata.org/wiki/Q76 is wikidata_url of subject | https://www.wikidata.org/wiki/Q76 is wikidata_url of subject | ||
Line 49: | Line 49: | ||
Allows referencing any part of the previous statement. | Allows referencing any part of the previous statement. | ||
− | == | + | == Core Concepts and Bridging == |
− | === | + | === Fundamental Elements === |
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
Entity - Object | Entity - Object | ||
Line 60: | Line 60: | ||
* Semantic Web: Resources and their properties | * Semantic Web: Resources and their properties | ||
− | === | + | === Technology Integration Example === |
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
Person isA Concept | Person isA Concept | ||
Line 73: | Line 73: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | == | + | == Semantic Web Foundation == |
− | === | + | === Description Logic Basis === |
OWL/Description Logic components: | OWL/Description Logic components: | ||
* Concepts (Classes) | * Concepts (Classes) | ||
Line 81: | Line 81: | ||
* Individuals (Instances) | * Individuals (Instances) | ||
− | === | + | === RDF/OWL Mappings === |
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
# Class hierarchy | # Class hierarchy | ||
Line 91: | Line 91: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | == | + | == Design Decisions == |
− | === | + | === Reference Keywords Options === |
− | + | # Full form: subject/predicate/object | |
− | + | # Short form: s/p/o | |
− | + | # Alternative: subject/link/object | |
− | === | + | === Key Bridging Concepts === |
− | + | # 'it' semantics bridges: | |
− | + | * OO: self/this/me | |
− | + | * Semantic Web: subject reference | |
+ | # Statement part references enable: | ||
+ | * Metadata about relationships | ||
+ | * Integration with semantic web identifiers | ||
+ | * Technology-specific bindings | ||
− | + | === Relationship Considerations === | |
− | |||
− | |||
− | |||
− | |||
− | === | ||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
# 1:n relations bring: | # 1:n relations bring: |
Revision as of 10:50, 28 January 2025
⚠️ 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
- Full form: subject/predicate/object
- Short form: s/p/o
- Alternative: subject/link/object
Key Bridging Concepts
- 'it' semantics bridges:
- OO: self/this/me
- Semantic Web: subject reference
- 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