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:30] 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 33: | Ligne 21: | ||
| - | === CLAROS Data === | + | ==== CLAROS Data ==== |
| - | [[http://data.clarosnet.org/|CLAROS data]] | + | [[http://data.clarosnet.org/|CLAROS data]] – [[http://data.clarosnet.org/sparql/|SPARQL Endpoint]] |
| Exemple | Exemple | ||
| - | * compter le nombre de papyrus | + | |
| + | * compter le nombre de papyrus | ||
| <code> | <code> | ||
| SELECT (count(?s) as ?nombre) WHERE {?s crm:P2_has_type | SELECT (count(?s) as ?nombre) WHERE {?s crm:P2_has_type | ||
| <http://id.clarosnet.org/type/object/papyrus>} | <http://id.clarosnet.org/type/object/papyrus>} | ||
| </code> | </code> | ||
| - | * les propriétés des papyrus | + | * les propriétés des papyrus |
| <code> | <code> | ||
| SELECT DISTINCT ?p WHERE { ?s crm:P2_has_type | SELECT DISTINCT ?p WHERE { ?s crm:P2_has_type | ||
| Ligne 50: | Ligne 39: | ||
| ?s ?p ?o} | ?s ?p ?o} | ||
| </code> | </code> | ||
| - | ===== Sites/Données ===== | + | rdf:type |
| - | + | crm:P70i_is_documented_in | |
| - | + | crm:P102_has_title | |
| - | + | rdfs:label | |
| - | + | crm:P108i_was_produced_by | |
| - | Un exemple de [[http://live.dbpedia.org/page/Italy|page DBPedia (live) concernant l'Italie]] | + | crm:P67i_is_referred_to_by |
| - | + | crm:P138i_has_representation | |
| - | + | crm:P2_has_type | |
| - | [[http://eurostat.linked-statistics.org/|Eurostat linked data]] | + | crm:P53_has_former_or_current_location |
| - | + | crm:P16i_was_used_for | |
| - | [[http://datahub.io/dataset/linked-nuts|Linked NUTS]] | + | 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> | ||