Hey Bob,
does this one do what you're after?
SELECT DISTINCT ?cl (COUNT(DISTINCT ?p) AS ?c)
WHERE {
?s a ?cl .
?s ?p ?o .
}
GROUP BY ?cl
Nicola
Il giorno lun 24 gen 2022 alle ore 23:05 Bob DuCharme ha
scritto:
> Using arq and the data at
>
You're counting the same thing you're grouping by. I think you need:
SELECT ?c (COUNT(DISTINCT ?p) AS ?pcount)
WHERE {
?s a ?c .
?s ?p ?o .
}
GROUP BY ?c
Using arq and the data at
http://www.snee.com/bobdc.blog/files/BeatlesMusicians.ttl, I’m trying to
write a query that will list the classes used in the data and the number
of distinct properties used by instances of that class. I’m having a
hard time and can’t even write a query that lists the
Hi,
I want to merge multiple RDF files into a single ontology under one
namespace URI. E.g. to add custom assertions to ontologies without
touching their original files.
Can LocationMapper/FileManager be made/extended to do this, or do I
need to roll something of my own?
Martynas
atomgraph.com
You're more than welcome :)
On Mon, Jan 24, 2022 at 3:41 PM Vilnis Termanis
wrote:
>
> Hi Martynas,
>
> Thank you very much for the suggestion (and additional information
> out-of-band).
> I've been having a look at LinkedDataHub and will come back to you
> with some questions, if you don't
Hi Andy,
Hope you're well - nice to hear from you. (responses inline)
On Sat, 22 Jan 2022 at 13:57, Andy Seaborne wrote:
>
>
>
> On 21/01/2022 15:26, Martynas Jusevičius wrote:
> > WebAccessControl ontology might be relevant here:
> > https://www.w3.org/wiki/WebAccessControl
> > We're using a
Hi Martynas,
Thank you very much for the suggestion (and additional information out-of-band).
I've been having a look at LinkedDataHub and will come back to you
with some questions, if you don't mind.
Regards,
Vilnis
On Fri, 21 Jan 2022 at 15:26, Martynas Jusevičius
wrote:
>
> WebAccessControl