- From: Luca Matteis <lmatteis@gmail.com>
- Date: Tue, 14 May 2013 00:41:24 +0200
- To: Sam Kuper <sam.kuper@uclmail.net>
- Cc: public-lod <public-lod@w3.org>
Received on Monday, 13 May 2013 22:41:51 UTC
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 <sam.kuper@uclmail.net> wrote:
> On 13/05/2013, Sam Kuper <sam.kuper@uclmail.net> 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
>
>
Received on Monday, 13 May 2013 22:41:51 UTC