[doap-interest] Getting DOAP repository type via SPARQL

Rob Lanphier robla at robla.net
Sat Apr 17 05:28:13 CEST 2010


Hi folks,

I'm working on a DOAP-tool, and I've hit a wall that I'm hoping someone can
help me over/around.  I'm trying to use SPARQL queries on DOAP.  I'm trying
to query for all of the repositories in a DOAP file, like so:
SELECT *
WHERE {
      ?project rdf:type doap:Project .
      ?project doap:shortname ?projectId .
      ?project doap:repository ?repository .
      ?repository doap:location ?location .
      OPTIONAL { ?repository doap:browse ?browse }
}

That works just fine, except I don't get the repository type (e.g.
"SVNRepository", "HgRepository", etc).  What's the best way of getting that
information via SPARQL?

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.usefulinc.com/pipermail/doap-interest/attachments/20100416/df9a0c95/attachment.htm 


More information about the doap-interest mailing list