thank you, I just realized that the query I pasted in the email was wrong
and that I made some mess with the message I wrote!
select distinct ?Concept where {[] ?Concept ?o.
?o a <http://dbpedia.org/ontology/Person>} LIMIT 100
the query represents all the properties referring to Person Class and at
the moment it works fine on dbpedia.org/sparql, probably there was some
intense traffic on the endpoint when I was trying to use it...
is http://lod.openlinksw.com/sparql different from (and better of)
http://dbpedia.org/sparql <http://lod.openlinksw.com/sparql> ??
thank again,
2012/12/24 Mohamed Morsey <[email protected]>
> Hi Diego,
>
> On 12/24/2012 12:25 PM, Diego Valerio Camarda wrote:
>
> Hi,
>
> I'm trying to list the properties used for each class but a query like
> this
>
> select distinct ?Concept where {[] ?Concept ?o.
> ?o a <http://dbpedia.org/ontology/Person>} LIMIT 100
>
> is too "heavy" for the dbpedia SPARQL endpoint and it dosen't work.
>
>
> If you are interested in the properties in the ontology namespace you can
> use the following query:
>
> SELECT DISTINCT ?property WHERE { ?property rdfs:domain dbpedia-owl:Person
> }
>
> but if you are interested in all properties you should use the following
> query:
>
> SELECT DISTINCT ?property FROM <http://dbpedia.org> <http://dbpedia.org>WHERE
> { ?subject a
> <http://dbpedia.org/ontology/Person> <http://dbpedia.org/ontology/Person>.
> ?subject ?property ?value } LIMIT 100
>
> But you it's better to run it against endpoint [1], as it is faster, or
> against DBpedia-Live endpoint [2].
>
>
> How can I improve the query?
>
> thanks
> diego
>
>
> Hope that helps.
>
> [1] http://lod.openlinksw.com/sparql
> [2] http://live.dbpedia.org/sparql/
>
> --
> Kind Regards
> Mohamed Morsey
> Department of Computer Science
> University of Leipzig
>
>
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion