Global.Church Developer Portal
Global.Church API

GC-Core Ontology

Endpoint:https://api.global.church

Execute SPARQL query (V0)

POST
https://api.global.church
/v0/sparql

Proxies SPARQL queries to the GC-Core ontology repository in GraphDB.

Execute SPARQL query (V0)Headers

  • Authorizationstring · required

    The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

  • Acceptstring · enum

    Desired response format for SPARQL results.

    Enum values:
    application/sparql-results+json
    application/sparql-results+xml
    text/csv
    text/turtle

Execute SPARQL query (V0)Request Body

string

Execute SPARQL query (V0)Responses

SPARQL results

  • headobject
  • resultsobject

CORS preflight for SPARQL (V0)

OPTIONS
https://api.global.church
/v0/sparql

CORS preflight for SPARQL (V0)Responses

No content

No data returned

Ingest RDF triples (V0)

POST
https://api.global.church
/v0/ingest

Inserts RDF triples into the GC-Core ontology repository in GraphDB.

Ingest RDF triples (V0)Headers

  • Authorizationstring · required

    The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Ingest RDF triples (V0)Request Body

string

Ingest RDF triples (V0)Responses

Triples ingested successfully

No data returned

CORS preflight for ingest (V0)

OPTIONS
https://api.global.church
/v0/ingest

CORS preflight for ingest (V0)Responses

No content

No data returned

GC-Core health check (V0)

GET
https://api.global.church
/v0/health

Health check for the GC-Core ontology repository. Returns repository status and triple count. No authentication required.

GC-Core health check (V0)Responses

Repository is healthy

  • statusstring · required
  • tripleCountinteger · required

CORS preflight for health (V0)

OPTIONS
https://api.global.church
/v0/health

CORS preflight for health (V0)Responses

No content

No data returned