Sam,
How about using a little FILTER and REGEX in the SPARQL query to DBpedia
(no need to touch Wikipedia's API):
SELECT ?university ?website ?title
WHERE { ?university <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://dbpedia.org/ontology/University>.
?university dbpedia2:website ?website.
?university rdfs:label ?title.
FILTER(REGEX(?title, "Cambridge")) .
}
On Tue, May 14, 2013 at 12:26 AM, Sam Kuper <[email protected]> wrote:
> On 13/05/2013, Sam Kuper <[email protected]> wrote:
> > [...]
> > (3) In step 3, I am using HTML output from the SPARQL query only [...]
>
> s/In step 3/In step 2/
>
> Apologies for the typo.
>
> Regards,
>
> Sam
>
>