Summary Part-Exam 2 - Knowledge & Data (5072KNDA6Y)
48 views 2 purchases
Course
Knowledge & Data (5072KNDA6Y)
Institution
Universiteit Van Amsterdam (UvA)
A complete summary of the “Knowledge & Data” course that includes all exam material for the second sub-exam. This summary provides a clear explanation of complex concepts, practical examples and visual support so that you are well prepared for the exam
• Recap RDF
• RDF ➔ graph data model for the web
• Uses triples:
• RDF triple ➔ <subject><predicate><object>
• <thing><relationship><thing>
• Resources: things about which we want to make statements
• URl's
• Literals: values like strings, numbers, dates, booleans
• Subjects and predicates are alwayd resources
• Objects can be resources or literals
• SPARQL
• SELECT clause:
• SELECT*: select all rows that match the where clause
• SELECT ?thing: select a column ?
• SELECT DISTINCT: each result row must be unique
, • ASK ➔ returns true if there is a match, false otherwise
• CONSTRUCT ➔ returns an RDF graph based on the matching
CONSTRUCT clause.
• DESCRIBE ➔ returns an RDF graph 'describing the returned results.'
• WHERE clause: specifies what to match in the data
• Triple pattern ➔ a triple with O or more variables. One or more variables
can be a wildcard (e.g. ?star)
•
PREFIX ex: <http://ex.org/voc#>
SELECT*
= =
WHERE { ======================== ====
}
• Basic graph pattern ➔ a set of triple patterns
• "What movies did the stars of 'Sharknado' also star in? "
•
Query:
PREFIX ex: <http://ex.org/voc#>
SELECT *
WHERE { ei:eu.u
"Basic Graph Pattern"
(a set of triple patterns)
• Join variable ➔ a variable appearing in more than one triple pattern
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller matthiaslouws. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $7.05. You're not tied to anything after your purchase.