prefix dc:
prefix on:
Prefix foaf:
prefix rdfs:
prefix skos:
prefix category:
prefix sch:
prefix owl:
prefix on_owl:
select ?p ?o (COUNT (?o) AS ?count) where {
?s ?p ?o
FILTER((?o!= category:American_scientists)
&&(?o!= on:Agent)
&&(?o!= on:Person)
&&(?o!= sch:Person)
&&(?o!= foaf:Person)
&&(?o!= owl:Thing)
&&(?o!= on_owl:Agent)
&&(?o!= on_owl:NaturalPerson)
)
}
GROUP BY ?p ?o
ORDER BY DESC(?count)
limit 50
{ select (sum(?s) as ?total)
where { ?s ?p ?o } }