Egisto Sani, CC BY-SA 4.0 https://creativecommons.org/licenses/by-sa/4.0, via Wikimedia Commons
Semantic Web / Web of Data
Semantic Web is an extension of the Web of documents to the Web of data. It is about creating links between documents, datasets etc. that are understandable and readable to both humans and machines. Linked Open Data is at the core of the Semantic Web providing tools and best practices to make these links.
http://
(or https://
) protocolURLs, URIs & IRIs
URL (Uniform Resource Locator) – locates and allows retrieval of things on the Web.
URN (Universal Resource Name) – identifies but does not locate.
URI (Uniform Resource Identifier, formerly Universal Resource Identifier) – identifies (both abstract or physical) things (resources) in the Web.
IRI (Internationalized Resource identifier) – same as URI, allows wider range of characters to accomodate various writing systems.
https://www.wikidata.org/
~12,5 billion triples
http://dbpedia.org/
~9,5 billion triples
The Linked Open Data Cloud from lod-cloud.net (2024-07-04)
Far too many things are called Ariadne!
We need unique identifiers!
Identifier: Q184874
Egisto Sani, CC BY-SA 4.0 https://creativecommons.org/licenses/by-sa/4.0, via Wikimedia Commons
dbo: http://dbpedia.org/ontology/
dbr: http://dbpedia.org/resource/
gn: http://sws.geonames.org/
dbo: http://dbpedia.org/ontology/
dbr: http://dbpedia.org/resource/
gn: https://sws.geonames.org/
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
owl: http://www.w3.org/2002/07/owl#
.
)<http://dbpedia.org/resource/Ariadne>
<http://www.w3.org/2000/01/rdf-schema#label>
"Ariadne"@en .
<http://dbpedia.org/resource/Ariadne>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://dbpedia.org/ontology/MythologicalFigure> .
<http://dbpedia.org/resource/Ariadne>
<http://dbpedia.org/ontology/origin>
<http://dbpedia.org/resource/Crete> .
<http://dbpedia.org/resource/Crete>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://dbpedia.org/ontology/Island> .
<http://dbpedia.org/resource/Crete>
<http://www.w3.org/2002/07/owl#sameAs>
<https://sws.geonames.org/258763> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dbo: <http://dbpedia.org/ontology/> .
@prefix dbr: <http://dbpedia.org/resource/> .
dbr:Ariadne rdfs:label "Ariadne"@en .
dbr:Ariadne rdf:type dbo:MythologicalFigure .
dbr:Ariadne dbo:origin dbr:Crete .
dbr:Crete rdf:type dbo:Island .
dbr:Crete owl:sameAs <https://sws.geonames.org/258763> .
;
).
)@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dbo: <http://dbpedia.org/ontology/> .
@prefix dbr: <http://dbpedia.org/resource/> .
dbr:Ariadne
rdfs:label "Ariadne"@en ;
rdf:type dbo:MythologicalFigure ;
dbo:origin dbr:Crete .
dbr:Crete
rdf:type dbo:Island ;
owl:sameAs <https://sws.geonames.org/258763> .
https://www.w3.org/standards/techs/rdf
and many more…
RDF converter: https://www.easyrdf.org/converter
.ttl
.<
, >
)."
).;
).,
).@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dbo: <http://dbpedia.org/ontology/> .
@prefix dbr: <http://dbpedia.org/resource/> .
dbr:Ariadne
rdfs:label "Ariadne"@en ;
rdf:type dbo:MythologicalFigure ;
dbo:origin dbr:Crete .
dbr:Crete
rdf:type dbo:Island ;
owl:sameAs <https://sws.geonames.org/258763> .
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
xsd:string
can be omitted)"Ariadne"^^xsd:string
is the same as "Ariadne"
"3.14"^^xsd:decimal
is the same as 3.14
"2024-09-17"^^xsd:date
.rdf
.<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:dbo="http://dbpedia.org/ontology/">
<rdf:Description rdf:about="http://dbpedia.org/resource/Ariadne">
<rdfs:label xml:lang="en">Ariadne</rdfs:label>
<rdf:type rdf:resource="http://dbpedia.org/ontology/MythologicalFigure"/>
<dbo:origin>
<dbo:Island rdf:about="http://dbpedia.org/resource/Crete">
<owl:sameAs rdf:resource="https://sws.geonames.org/258763"/>
</dbo:Island>
</dbo:origin>
</rdf:Description>
</rdf:RDF>
For example a table like this:
ID | human | source | delta15N | delta13C |
---|---|---|---|---|
sample01 | TRUE | coll | 6.9 | -19.2 |
sample02 | FALSE | coll | 4.2 | -21.83 |
… | … | … | … | … |
sample42 | NA | coll | 12.02 | NA |
Can become this:
subject | predicate | object |
---|---|---|
sample01 | fromHuman | TRUE |
sample01 | source | coll |
sample01 | delta15N | 6.9 |
sample01 | delta13C | -19.2 |
sample02 | fromHuman | FALSE |
… | … | … |
sample42 | delta13C | NA |
Prefixes:
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# .
xsd: <http://www.w3.org/2001/XMLSchema#> .
owl: http://www.w3.org/2002/07/owl# .
dbo: http://dbpedia.org/ontology/ .
dbr: http://dbpedia.org/resource/ .
dbp: http://dbpedia.org/property/ .
gn: http://sws.geonames.org/ .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dbo: <http://dbpedia.org/ontology/> .
@prefix dbr: <http://dbpedia.org/resource/> .
@prefix dbp: <http://dbpedia.org/property/> .
@prefix gn: <http://sws.geonames.org/> .
dbr:Phaistos_Disc
rdf:type dbr:Artifact_(archaeology) ;
dbp:discoveredDate "1908-07-03"^^xsd:date ;
dbp:discoveredPlace dbr:Crete .
dbr:Crete
rdf:type dbo:Island ;
owl:sameAs gn:258763 .
Let’s brainstorm…
rdfs:domain
and rdfs:range
properties
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <http://schema.org/> .
@prefix dbo: <http://dbpedia.org/ontology/> .
@prefix dbr: <http://dbpedia.org/resource/> .
dbo:MythologicalFigure rdfs:subClassOf dbo:Person .
dbo:origin rdf:type rdf:Property ;
rdfs:domain dbo:Person ;
rdfs:range dbo:PopulatedPlace .
dbr:Ariadne
rdf:type dbo:MythologicalFigure ;
dbo:origin dbr:Crete .
dbr:Crete
rdf:type dbo:PopulatedPlace .
Felicetti A., Meghini C., Richards J., Theodoridou M. 2023: The AO-Cat Ontology. doi:10.5281/zenodo.7818374.
https://ariadne-infrastructure.eu/aocat/
AO_
AO_Spatial_Region
AO_Spatial_Region_Point
AO_Spatial_Region_Polygon
AO_Spatial_Region_BBox
AO_Spatial_Region_StdName
AO_Temporal_Region
AO_Concept
has_ARIADNE_subject
)has_derived_subject
)has_native_subject
)