Complementary:
SELECT count (*)
WHERE {
?s ?p ?o .
}
It is useful to know the number of triples in the sparql endpoint.
Regards.
On Thu, 22 Jan 2015 15:27:24 +0100
Bernard Vatant <[email protected]> wrote:
Hi Juan
My strategy is as following
Q1 : Which types are used?
SELECT DISTINCT ?type
WHERE {?x rdf:type ?type}
Q2 : Which predicates are used?
SELECT DISTINCT ?p
WHERE {?x ?p ?o}
Q3 : Which predicates are used by instances of the type :foo found
in Q1
I'm interested in
SELECT DISTINCT ?p
WHERE {?x ?p :foo}
2015-01-22 15:09 GMT+01:00 Juan Sequeda <[email protected]>:
Assume you are given a URL for a SPARQL endpoint. You have no idea
what
data is being exposed.
What do you do to explore that endpoint? What queries do you write?
Juan Sequeda
+1-575-SEQ-UEDA
www.juansequeda.com
--
*Bernard Vatant*
Vocabularies & Data Engineering
Tel : + 33 (0)9 71 48 84 59
Skype : bernard.vatant
http://google.com/+BernardVatant
--------------------------------------------------------
*Mondeca*
35 boulevard de Strasbourg 75010 Paris
www.mondeca.com
Follow us on Twitter : @mondecanews
<http://twitter.com/#%21/mondecanews>
----------------------------------------------------------
______________________
Francisco Cifuentes Silva
Sistemas y Servicios de Información en Red
Biblioteca del Congreso Nacional de Chile
Tel: +56 032 2263969