{
  "endpoint": "/sparql",
  "title": "Evidence Action SPARQL 1.1 Endpoint",
  "status": "ready",
  "readOnly": true,
  "specification": "https://www.w3.org/TR/sparql11-protocol/",
  "querySpecification": "https://www.w3.org/TR/sparql11-query/",
  "dataset": {
    "totalQuads": 4901,
    "availableGraphs": [
      "core",
      "focus-area-concepts",
      "ontology",
      "organizations",
      "people",
      "places",
      "program-lifecycle-concepts",
      "website"
    ],
    "defaultGraph": "union-of-all-graphs"
  },
  "supportedMethods": [
    "GET",
    "POST"
  ],
  "supportedContentTypes": [
    "application/sparql-query",
    "application/x-www-form-urlencoded"
  ],
  "supportedFormats": {
    "tupleQueries": {
      "types": [
        "SELECT",
        "ASK"
      ],
      "formats": [
        "application/sparql-results+json (default)",
        "application/sparql-results+xml",
        "text/csv",
        "text/tab-separated-values"
      ]
    },
    "graphQueries": {
      "types": [
        "CONSTRUCT",
        "DESCRIBE"
      ],
      "formats": [
        "text/turtle (default)",
        "application/ld+json",
        "application/n-triples",
        "application/n-quads"
      ]
    }
  },
  "examples": [
    {
      "title": "List All Programs",
      "query": "PREFIX schema: <https://schema.org/>\nSELECT ?program ?name WHERE {\n  ?program a schema:Project ;\n          schema:name ?name .\n} ORDER BY ?name"
    },
    {
      "title": "Count Entities by RDF Type",
      "query": "SELECT ?type (COUNT(?s) AS ?count) WHERE {\n  ?s a ?type .\n} GROUP BY ?type ORDER BY DESC(?count)"
    },
    {
      "title": "Countries and Alternate Names",
      "query": "PREFIX schema: <https://schema.org/>\nSELECT ?country ?name ?code WHERE {\n  ?country a schema:Country ;\n          schema:name ?code ;\n          schema:alternateName ?name .\n} ORDER BY ?name"
    }
  ]
}
