SPARQL Query
GPTKB can be queried by a SPARQL API. The SPARQL endpoint URI is /query/sparql. You can also fire a SPARQL query directly in the field below. If you plan to launch a large set of queries, please download the KB instead.
Example SPARQL queries
- People influenced by Gandhi within 2 hops
- Most frequent hobbies
- Entities headquartered in Mountain View
- Most frequent properties
- Distribution of triples per subject
- Most frequent classes
- Count of triples
- Count of properties
- Count of classes
- Most frequent properties of humans
- Gender distribution
- Nationality distribution
- Property path example
- All dukes
- All patents