Hi folks,<div><br></div><div>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:</div>
<div><div><div>SELECT *</div><div>WHERE {</div><div> ?project rdf:type doap:Project .</div><div> ?project doap:shortname ?projectId .</div><div> ?project doap:repository ?repository .</div><div> ?repository doap:location ?location .</div>
<div> OPTIONAL { ?repository doap:browse ?browse }</div><div>}</div></div></div><div><br></div><div>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?</div>
<div><br></div><div>Rob</div><div><br></div>