reteplayground
Select

A version and its source project's stars / forks

SELECT ?name ?version ?stars ?forks ?repo WHERE {
  ?v deps:purl "pkg:pypi/requests@2.31.0" ;
     deps:packageName ?name ; schema:softwareVersion ?ver…
     deps:hasProject ?p .
  ?p deps:starsCount ?stars ; deps:forksCount ?forks ; sc…
}
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 1 row · 6.8 s · no server, no download — the query runs in your browser.

The query

PREFIX deps: <https://w3id.org/rete/deps-dev#> PREFIX schema: <https://schema.org/> SELECT ?name ?version ?stars ?forks ?repo WHERE { ?v deps:purl "pkg:pypi/requests@2.31.0" ; deps:packageName ?name ; schema:softwareVersion ?version ; deps:hasProject ?p . ?p deps:starsCount ?stars ; deps:forksCount ?forks ; schema:url ?repo . }

rete playground · documentation · github.com/caviri/rete