



Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!




URI Extension of URL, identifier like a serial number. It always refears to the same entity Node Entitiy that has attributes Can be: Blank: needs an indentifier, the subject is not ifentified unically. It can be called “Main logical subject”, It is defined just locally, it doesn’t have a URI Identifier Uses URI, It’s like a blank node but unically identified. (has a name like “id1”) should be used when identifying reusable or linkable resources. Predicate Gives properties (e.g. hasName) Qualified Relation
Way to transform relations into binary
Modelling patterns
Useful to describe “non-binary” relations
Ontology Modeling the knowledge of the domain in a shared conceptualization. Why Ontologies? Not only to answer questions, but also to think on them. Taxonomy Hierarchical structure of classes and subclasses Cardinality Range = (e.g. “how many legs can an animal have?”) Data Properties
Attributes (strings, numbers, dates) __ Object Properties
Relation that connects 2 different classes __ Subclass IS_A → Student IS_A Person → Student is a subclass of person → S ⊂ A
rdfs:subClassOf permette di definire gerarchie tra classi. Se S è sottoclasse di A, ogni istanza di S è anche istanza di A. Type Belongs to: Adele Type Person → Adele ∈ Person
It is an instance
Literal String, number, date (NOT A RESOURCE)
Integer Numero intero
String Set of characters (Road, Mario, 345, ...)
A-Box Asssertion Box (in a HTML page → JSON-LD), Syntactic rapresentation
T-Box Terminology Box (vocabulary)
IRI Internationalized URI (unicode characters). It defines uniquely the ontology individuals Instances (it is case sensitive)
Domain Subject of the assertion (class of the subject)
Range Object of the assertion. It states that the object of a property belongs to a specific class. Assertion Quante frecce escono dal nodo
e.g. ex.[...].it/corsi#FI
RDF Language representing data models (subject – predicate - object). It provides syntax, the structure. It doesn’t explain the semantics RDFS (RDF Schema)
New way to represent classes and individuals. It uses RDF syntax to define the vocabulary. Can be seen as a semantic extension of RFD. It allows to define the ontology (used in Protegè for e.g.).. It provides basic vocabulary for class and property hierarchies. OWL Richer semantics. Owl exploits RDFS, which exploits RDF. Uses unions and many more features to express complex relations. A good number of subclasses is between 2 and 8. It uses more specific constrictions and relationship between classes. Turtle Simple way to write triples. Easier for humans (syntax) to read, binded to the triples. Turtle è un formato RDF testuale che rappresenta esplicitamente la struttura a grafo tramite prefissi e sintassi compatta. CSV e JSON non sono nativamente RDF, HTML non è una serializzazione RDF. Shortcuts : e.g. rdf:type can be used to state that a resource belongs to a class – it can be abbreviated using “a”
Turtle compact syntax
Write one time the subject, separate the objects with semicolumns e.g. Prefix ex:<...> ex:subject ex:predicate “Value1”, “Value2”. Multiple predicates ex:subject ex:predicate1 “Value1”; ex:predicate2 “Value2”; ex:predicate3 “Value3”. Eliciting knowledge
Drawing out information from experts (very complex task), used also not to have ambiguity
"John".
Subject
(URI/IRI)
Predicate
(URI/IRI)
Object
VALUE
full stop
Transative property Triple Store Endpoints
Storages containing triples (text documents)
RDF Agent Takes the data from repository and stores the data to be queried and to provide other resources. It doesn’t take from just one repository (e.g. Google bot: extraction of semantic annotation and indexing). Google Semantic Knowledge graph
Semantic rapresentation of data, the biggest and oldest ever existing. It can be queried.
SPARQL SPARQL is a query language used to retrieve and manipulate data stored in RDF graphs. A SPARQL query works by matching graph patterns against the RDF data and returning bindings for the variables that satisfy those patterns. It is useful when querying structured semantic data, especially across heterogeneous and distributed datasets. In the domain of museum collections, SPARQL can be used to retrieve all artworks created by a specific artist, exhibited in a certain period, or located in a particular museum, by querying linked cultural heritage datasets. Inferences Way to extract knowledge from a given topic
sameAs Property that associates two resources at the level of A-Box (associated, NOT equivalent – definizione di manica larga) Rich snippet search results pulled from code called schema markup
CIDOC-CRM Vocabulary that provides conceptual model for rapresenting cultura objects. Originally it was created as a conceptual reference model (to model knowledge) EDM Extended existing vocabularies already
SKOS Simple Knowledge Organization System. Concepts in knowledge structure. It has properties like broader, narrower, related. It allows