[ Date Index ]
[ Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
Re: [LUG] SPARCQL
- To: list@xxxxxxxxxxxxx
- Subject: Re: [LUG] SPARCQL
- From: Martin Gautier <martin.gautier@xxxxxxxxxxxxx>
- Date: Tue, 14 Sep 2021 13:50:37 +0100
- Content-language: en-GB
- Delivered-to: dclug@xxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dcglug.org.uk; s=1618045561; h=Sender:Content-Type: Content-Transfer-Encoding:Reply-To:List-Subscribe:List-Help:List-Post: List-Unsubscribe:List-Id:Subject:References:In-Reply-To:Date:To:From: MIME-Version:Message-Id:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner: List-Archive; bh=5JT0b13Agv88D/kYCEGwny5yMaOvgEVxwQmSlA7VGro=; b=u6wQkFdHdzkk deooiSaFi0PjnDiPnkkCGj77XxeFxBm9P7obra7p8b5VqPVAJQTwPqAGvmG+2JFn4521gD6HecO8t CYSqN5uhXX8mBSfLN7wtq1TOlO7i7+dnaqETuSTopLx/eJrrg8pl+WvYo9L1WBefJZ1CXQHRz9kWm Wi4LE=;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=myrnham.co.uk; i=martin.gautier@xxxxxxxxxxxxx; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe-post:list-unsubscribe: feedback-id:in-reply-to:references:x-csa-complaints:x-mj-mid:x-mj-smtpguid: x-report-abuse-to:content-type:content-transfer-encoding:content-language; bh=GnOAxSdHOAucCpByl0xyYYMl2tqLGBP3gN/CXlb7z1s=; b=oUaf+KL5VHRz7HOuH7W7kyVbQlm0nt6Xn09Dk3Jg9HcQEQyuXRHrbF6/g +PnPGPUEbrTHh6yu4ahnUF3psnuzmrXQHyLdoCMSfbI3wiCldE944cBsGsWF TDlIgbRnE19MNHWuaEfYmbqKZmnamP1aU3D4RSFp2uIgeDgs9Pr8hY=
- Feedback-id: 42.89391.85495:MJ
On 13/09/2021 21:27, Peter Walker wrote:
On 13/09/2021 16:14, Martin Gautier wrote:
Hi
Hands up anyone that knows how to drive SPARQL via a HTTP URI.
I need to be able to pull a list of organisations from
https://edmo.seadatanet.org/ but they don't make it easy.
TIA
They really don't make it easy, do they?
Is this what you were looking for?
PREFIX skos:<http://www.w3.org/2004/02/skos/core#>
PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?s ?p WHERE {?s rdf:type
<http://www.w3.org/ns/org#Organization>. ?s skos:prefLabel ?p} ORDER By ?p
Shamelessly stolen from Github,
https://github.com/adamml/seadatanet-sparql-queries/blob/master/getAllEDMOs.rq
I am not a SPARQL expert either.
Cheers,
Pete
Pete, thanks. That github project is a nice find. I missed it...
--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dcglug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq