<p>add to your query a triple pattern like:</p>
<p>?repository a ?repositoryType</p>
<p>Cheers,<br>
</p>
<p><blockquote type="cite">El 17/04/2010 05:28, &quot;Rob Lanphier&quot; &lt;<a href="mailto:robla@robla.net">robla@robla.net</a>&gt; escribió:<br><br>Hi folks,<div><br></div><div>I&#39;m working on a DOAP-tool, and I&#39;ve hit a wall that I&#39;m hoping someone can help me over/around.  I&#39;m trying to use SPARQL queries on DOAP.  I&#39;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&#39;t get the repository type (e.g. &quot;SVNRepository&quot;, &quot;HgRepository&quot;, etc).  What&#39;s the best way of getting that information via SPARQL?</div>

<div><br></div><font color="#888888"><div>Rob</div><div><br></div>
</font><br>_______________________________________________<br>
doap-interest mailing list<br>
<a href="mailto:doap-interest@lists.usefulinc.com">doap-interest@lists.usefulinc.com</a><br>
<a href="http://lists.usefulinc.com/mailman/listinfo/doap-interest" target="_blank">http://lists.usefulinc.com/mailman/listinfo/doap-interest</a><br></blockquote></p>