W3C home > Mailing lists > Public > public-schemaorg@w3.org > September 2018

Re: Property usage ranking for a class

From: David Riccitelli <david@wordlift.io>
Date: Tue, 25 Sep 2018 11:46:25 +0200
Message-ID: <CAG94HGi6NwF58SXE+e6uVgsRwzWuJETWQyTnDADkNvCHwwNiQw@mail.gmail.com>
To: Jan Schlenker <jan.schlenker@sti2.at>
Cc: "schema.org Mailing List" <public-schemaorg@w3.org>
Hello,

I would probably run a query like this on a dataset:

SELECT DISTINCT ?type ?p ( COUNT( ?p ) AS ?ranking ) WHERE {
    ?s a ?type ; ?p [] .

    FILTER strstarts( str( ?type ), 'http://schema.org/' )
    FILTER strstarts( str( ?p ), 'http://schema.org/' )
}
GROUP BY ?type ?p

BR
David

On 24 September 2018 at 17:06, Jan Schlenker <jan.schlenker@sti2.at> wrote:

> Hi schema,
>
> Have you ever heard of a method to find out which schema.org annotation
> properties are used the most for a class?
> Optimum would be some kind of ranking.
>
>
> Best regards
> Jan
>
Received on Tuesday, 25 September 2018 09:46:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:12:43 UTC