Czech SRTI via SPARQL¶
- Dataset:
- Protocol:
- Url:
- Graph:
https://lod.tamtamresearch.com/resource/dtx_srti/SituationRecord/
To test the data source:
Visit https://lod.tamtamresearch.com/sparql to show SPARQL Query Editor
For Default Data Set Name (Graph IRI) anter the “Graph” value https://lod.tamtamresearch.com/resource/dtx_srti/SituationRecord/.
Enter a SPARQL query, e..g select ?s where {?s ?p ?o} limit 10
Select some Result Format.
Click “Execute Query” to get the results.
To do the same using HTTPie - Command line HTTP Client:
Create a file query.sparql:
# return IRI of up to 3 situation records (incl. subclassses).
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX dtx_srti: <http://cef.uv.es/lodroadtran18/def/transporte/dtx_srti#>
SELECT ?entity
WHERE {
?entity rdf:type/rdfs:subClassOf+ dtx_srti:SituationRecord.
}
LIMIT 3
Use it asking for csv result format:
$ https --body lod.tamtamresearch.com/sparql \
query==@query.sparql \
format==text/csv
"entity"
"https://lod.tamtamresearch.com/resource/dtx_srti/SituationRecord/ff808181-7fd6-d35d-0183-a45277145deb_AnimalPresenceObstruction/2"
"https://lod.tamtamresearch.com/resource/dtx_srti/SituationRecord/ff808181-7fd6-d35d-0183-a45c59025e27_AnimalPresenceObstruction/2"
"https://lod.tamtamresearch.com/resource/dtx_srti/SituationRecord/ff808181-7fd6-d35d-0183-a474b9345e66_AnimalPresenceObstruction/2"
Previous: Data Sources | Next: Czech SRTI Snapshot via HTTP GET