Class: CountOfPredicates
Number of distinct usages of a predicate. NOTE MAY CHANGE: does not currently count existential usage in OWL
URI: semsql_rdf:CountOfPredicates
classDiagram
RdfLevelSummaryStatistic <|-- CountOfPredicates
CountOfPredicates : count_value
CountOfPredicates : element
Usage
SELECT * FROM count_of_predicates;
Inheritance
- RdfLevelSummaryStatistic [ is_report]
- CountOfPredicates
Slots
Name | Cardinality and Range | Description |
---|---|---|
element | 0..1 Node |
|
count_value | 0..1 xsd:integer |
Usages
Comments
- sqlview>> SELECT predicate AS element, count(*) AS count_value FROM statements GROUP BY predicate ORDER BY count_value DESC
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/semsql/rdf
SQL View
This class has a SQL view definition:
sqlview>> SELECT predicate AS element, count(*) AS count_value FROM statements GROUP BY predicate ORDER BY count_value DESC
Mappings
Mapping Type | Mapped Value |
---|---|
self | ['semsql_rdf:CountOfPredicates'] |
native | ['semsql_rdf:CountOfPredicates'] |
LinkML Specification
Direct
name: count_of_predicates
description: 'Number of distinct usages of a predicate. NOTE MAY CHANGE: does not
currently count existential usage in OWL'
comments:
- sqlview>> SELECT predicate AS element, count(*) AS count_value FROM statements GROUP
BY predicate ORDER BY count_value DESC
from_schema: https://w3id.org/semsql/rdf
rank: 1000
is_a: rdf_level_summary_statistic
Induced
name: count_of_predicates
description: 'Number of distinct usages of a predicate. NOTE MAY CHANGE: does not
currently count existential usage in OWL'
comments:
- sqlview>> SELECT predicate AS element, count(*) AS count_value FROM statements GROUP
BY predicate ORDER BY count_value DESC
from_schema: https://w3id.org/semsql/rdf
rank: 1000
is_a: rdf_level_summary_statistic
attributes:
element:
name: element
from_schema: https://w3id.org/semsql/rdf
rank: 1000
alias: element
owner: count_of_predicates
domain_of:
- rdf_level_summary_statistic
range: node
count_value:
name: count_value
from_schema: https://w3id.org/semsql/rdf
rank: 1000
alias: count_value
owner: count_of_predicates
domain_of:
- rdf_level_summary_statistic
range: integer