Difference between revisions of "Extending SiDIF"
(Created page with "# SiDIF Extension Proposal ## 1. Statement Representations and Evolution ### 1.1 Natural Language Statement <syntaxhighlight lang="text"> dad loves mom </syntaxhighlight> Th...") |
|||
Line 1: | Line 1: | ||
− | + | = SiDIF Extension Proposal = | |
− | + | == 1. Statement Representations and Evolution == | |
− | + | === 1.1 Natural Language Statement === | |
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
dad loves mom | dad loves mom | ||
</syntaxhighlight> | </syntaxhighlight> | ||
This represents the most basic, human-readable form of a statement. It contains: | 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: | The same triple structure with Wikidata URLs: | ||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
Line 22: | Line 22: | ||
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. | ||
− | + | === 1.3 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] | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | [https://www.wikidata.org/wiki/Q76 Barack Obama] [https://www.wikidata.org/wiki/Property:P26 spouse] [https://www.wikidata.org/wiki/Q13133 Michelle Obama] | ||
+ | |||
Combines human readability with semantic web identifiers. | Combines human readability with semantic web identifiers. | ||
− | + | == 2. Current SiDIF Reference Mechanism == | |
− | + | === 2.1 Using 'it' Keyword === | |
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
dad loves mom | dad loves mom | ||
Line 37: | Line 40: | ||
'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. | ||
− | + | === 2.2 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 45: | Line 48: | ||
Allows referencing any part of the previous statement. | Allows referencing any part of the previous statement. | ||
− | + | == 3. Core Concepts and Bridging == | |
− | + | === 3.1 Fundamental Elements === | |
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
Entity - Object | Entity - Object | ||
Line 53: | Line 56: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
These map to both OO and Semantic Web paradigms: | 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 === | |
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
Person isA Concept | Person isA Concept | ||
Line 69: | Line 72: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | == 4. Semantic Web Foundation == | |
− | + | === 4.1 Description Logic Basis === | |
OWL/Description Logic components: | OWL/Description Logic components: | ||
− | + | * Concepts (Classes) | |
− | + | * Roles (Properties) | |
− | + | * Individuals (Instances) | |
− | + | === 4.2 RDF/OWL Mappings === | |
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
# Class hierarchy | # Class hierarchy | ||
Line 87: | Line 90: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | == 5. Design Decisions == | |
− | + | === 5.1 Reference Keywords Options === | |
1. Full form: subject/predicate/object | 1. Full form: subject/predicate/object | ||
2. Short form: s/p/o | 2. Short form: s/p/o | ||
3. Alternative: subject/link/object | 3. Alternative: subject/link/object | ||
− | + | === 5.2 Key Bridging Concepts === | |
1. 'it' semantics bridges: | 1. 'it' semantics bridges: | ||
− | + | * OO: self/this/me | |
− | + | * Semantic Web: subject reference | |
2. Statement part references enable: | 2. Statement part references enable: | ||
− | + | * Metadata about relationships | |
− | + | * Integration with semantic web identifiers | |
− | + | * Technology-specific bindings | |
− | + | === 5.3 Relationship Considerations === | |
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
# 1:n relations bring: | # 1:n relations bring: |
Revision as of 10:45, 28 January 2025
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