From 9f71ada6add8ce95697b196a2c8ee6eac23cf01d Mon Sep 17 00:00:00 2001 From: StanRonzhin Date: Fri, 30 Nov 2018 11:01:52 +0100 Subject: [PATCH] improved BPIL3 and BPIL4 --- public/markdown/BPIL3.MD | 31 +++++++++++-------------------- public/markdown/BPIL4.MD | 4 ++-- 2 files changed, 13 insertions(+), 22 deletions(-) diff --git a/public/markdown/BPIL3.MD b/public/markdown/BPIL3.MD index 4a3e645..f56c11a 100644 --- a/public/markdown/BPIL3.MD +++ b/public/markdown/BPIL3.MD @@ -1,33 +1,24 @@ -# Assignment 3: Call mister Postman +# Assignment 3: Find Your Match ## Task -[SPARQL queries](https://www.w3.org/TR/2013/REC-sparql11-protocol-20130321/) are sent via WEB using the HTTP protocol. -In short, a client sends an HTTP request to a SPARQL endpoint that handle the request and sends HTTP response back to the originating client. -In this way, you can send SELECT queries as well as UPDATE queries. -The latter allows managing data in a remote triple store. You can use both GET and POST requests. -Triple stores are able to response in mny formats and serialisations (e.g Turtle, RDF/XML, JSON and JSON-LD) - -In this assignment you are asked to perform an HTTP request with a SPARQL query using an HTTP client. -You will use the last query (about product information) of the second assignment. -After you succeed in an HTTP client, you will send the same request from your Mendix application. +In this assignment you are asked to query company data generated in the BPIL assignment 1 : Explain Yourself. Your goal is to +find matching offerings and interests. The final query will be required for the last BPIL assignment. ### Required knowledge 1. The student knows how to query Linked Data using SPARQL - 2. The student knows the concept of federated querying - 3. The student knows how to send an HTTP request from Mendix software + 2. The student has accomplished the BPIL Assignment 1 : Explain Yourself. + 3. The student has accomplished the BPIL Assignment 2 : Enrich It. ### Goals - 1. To understand how SPARQL requests are constructed - 2. To sand a SPARQL query from within Mendix app + 1. To improve understanding of SPARQL requests + 2. To gain practical experience in analysis of data semantics and structures. ### Assignment steps -* **Install [Postman](https://www.getpostman.com/apps)** for your platform. Postman is a user friendly HTTP client that is handy when it comes to development of HTTP requests. -* **Encode a query into a URL** using the URL-encoding [service](https://meyerweb.com/eric/tools/dencoder/). Use the last query from the previous assignment (about products). -* **Construct an HTTP request** by adding your encoded query to the base `http://virtuoso.almere.pilod.nl/sparql?query=` -* **Send the request** from Postman -* **Change query parameters** to have response in a desired format by changing the accept header e.g (to `accept:json` for JSON encoding) -* **Send the same request** from Mendix \ No newline at end of file +* **Find all the companies in the repository** Make a SPARQL query that lists all the companies. +* **Find their offerings** Make a SPARQL query that retrieves company offerings. +* **Find their interests** Make a SPARQL query that retrieves company interests. +* **Construct a SPARQL query that matches offerings and interests** This query will be reused later in the last BPIL assignment. \ No newline at end of file diff --git a/public/markdown/BPIL4.MD b/public/markdown/BPIL4.MD index 4a3e645..f0ac662 100644 --- a/public/markdown/BPIL4.MD +++ b/public/markdown/BPIL4.MD @@ -9,7 +9,7 @@ The latter allows managing data in a remote triple store. You can use both GET a Triple stores are able to response in mny formats and serialisations (e.g Turtle, RDF/XML, JSON and JSON-LD) In this assignment you are asked to perform an HTTP request with a SPARQL query using an HTTP client. -You will use the last query (about product information) of the second assignment. +You will use the last query (find a match) of the third assignment. After you succeed in an HTTP client, you will send the same request from your Mendix application. ### Required knowledge @@ -26,7 +26,7 @@ After you succeed in an HTTP client, you will send the same request from your Me ### Assignment steps * **Install [Postman](https://www.getpostman.com/apps)** for your platform. Postman is a user friendly HTTP client that is handy when it comes to development of HTTP requests. -* **Encode a query into a URL** using the URL-encoding [service](https://meyerweb.com/eric/tools/dencoder/). Use the last query from the previous assignment (about products). +* **Encode a query into a URL** using the URL-encoding [service](https://meyerweb.com/eric/tools/dencoder/). Use the last query from the previous assignment (find a match). * **Construct an HTTP request** by adding your encoded query to the base `http://virtuoso.almere.pilod.nl/sparql?query=` * **Send the request** from Postman * **Change query parameters** to have response in a desired format by changing the accept header e.g (to `accept:json` for JSON encoding)