Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
thatcamp_2014:ressources_sparql [2014/10/08 08:28] Francesco Beretta [Endpoints] |
thatcamp_2014:ressources_sparql [2014/10/29 12:03] (Version actuelle) |
||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Ressources concernant le web des données ====== | ====== Ressources concernant le web des données ====== | ||
| - | |||
| - | ===== Standards ===== | ||
| - | |||
| - | |||
| - | [[http://www.w3.org/TR/sparql11-query/|SPARQL 1.1 Query Language]] | ||
| - | |||
| - | [[http://www.opengeospatial.org/standards/geosparql|GeoSPARQL]] - A Geographic Query Language for RDF Data | ||
| - | |||
| - | |||
| - | ===== Tutoriels ===== | ||
| - | |||
| - | http://wifo5-03.informatik.uni-mannheim.de/latc/www2012/Session%201.html | ||
| Ligne 32: | Ligne 20: | ||
| [[http://www.geosparql.org/|GeoSPARQL]] Adresse du service: http://www.lotico.com:3030/lotico/sparql | [[http://www.geosparql.org/|GeoSPARQL]] Adresse du service: http://www.lotico.com:3030/lotico/sparql | ||
| - | [[http://data.clarosnet.org/|CLAROS data]] | ||
| - | Exemple: compter le nombre de papyrus | + | ==== CLAROS Data ==== |
| - | <code> | + | |
| - | SELECT (count(?s) as ?nombre) WHERE { ?s crm:P2_has_type | + | |
| - | <http://id.clarosnet.org/type/object/papyrus> | + | |
| - | } | + | |
| - | </code> | + | |
| - | ===== Sites/Données ===== | + | |
| + | [[http://data.clarosnet.org/|CLAROS data]] – [[http://data.clarosnet.org/sparql/|SPARQL Endpoint]] | ||
| + | Exemple | ||
| - | Un exemple de [[http://live.dbpedia.org/page/Italy|page DBPedia (live) concernant l'Italie]] | + | * compter le nombre de papyrus |
| - | + | <code> | |
| - | + | SELECT (count(?s) as ?nombre) WHERE {?s crm:P2_has_type | |
| - | [[http://eurostat.linked-statistics.org/|Eurostat linked data]] | + | <http://id.clarosnet.org/type/object/papyrus>} |
| - | + | </code> | |
| - | [[http://datahub.io/dataset/linked-nuts|Linked NUTS]] | + | * les propriétés des papyrus |
| + | <code> | ||
| + | SELECT DISTINCT ?p WHERE { ?s crm:P2_has_type | ||
| + | <http://id.clarosnet.org/type/object/papyrus>. | ||
| + | ?s ?p ?o} | ||
| + | </code> | ||
| + | rdf:type | ||
| + | crm:P70i_is_documented_in | ||
| + | crm:P102_has_title | ||
| + | rdfs:label | ||
| + | crm:P108i_was_produced_by | ||
| + | crm:P67i_is_referred_to_by | ||
| + | crm:P138i_has_representation | ||
| + | crm:P2_has_type | ||
| + | crm:P53_has_former_or_current_location | ||
| + | crm:P16i_was_used_for | ||
| + | crm:P45_consists_of | ||
| + | crm:P44_has_condition | ||
| + | claros:coordinates-find | ||
| + | claros:coordinates-current | ||
| + | <code> | ||
| + | SELECT DISTINCT ?o ?o2 WHERE { ?s crm:P2_has_type | ||
| + | <http://id.clarosnet.org/type/object/papyrus>. | ||
| + | ?s claros:coordinates-find ?o. | ||
| + | ?o ?p ?o2. | ||
| + | #?o2 claros:has_geoObject ?o3 | ||
| + | } | ||
| + | </code> | ||