Spend SPARQL Endpoint Discover&Analyze Solution API

(GET) - /api/search


./api/search?=keyword{keyword}&page={page}&filter={subject}

Sample Request

./api/search?keyword=sparql&filter=media

Sample Response

{
	"data": {
		"docs": [
			{
				"_id": "5978aa41b891ec866b000064",
				"datasetName": "Edinburgh University Theatre Company Productions",
				"endpointUrl": "http://api.talis.com/stores/eutc-productions/services/sparql",
				"dateCreated": "2015-04-16T00:08:35.000Z",
				"source": "lodstats-lodcloud-sparqles-datahub.io",
				"active1": 0,
				"lastCheckedDate": "2017-07-26T07:30:48.000Z",
				"threadNumber": 9,
				"checkFlag": null,
				"triples": 0,
				"entities": null,
				"distinctResourceURIs": null,
				"distinctClasses": null,
				"distinctPredicates": null,
				"distinctSubjectNodes": null,
				"distinctObjectNodes": null,
				"triplesLCD": null,
				"entitiesLCD": null,
				"distinctResourceURIsLCD": null,
				"distinctClassesLCD": null,
				"distinctPredicatesLCD": null,
				"distinctSubjectNodesLCD": null,
				"distinctObjectNodesLCD": null,
				"sameAs": "http://api.talis.com/stores/eutc-productions/services/sparql",
				"disabled": null,
				"commentsWordCount": 0,
				"outLinksCount": 0,
				"tfidfprocessed": 1,
				"subject": "media",
				"totalcheck1": 981,
				"domain": "talis.com",
				"domainSource": "lodstats-lodcloud-sparqles-datahub.io-spendauto20151226",
				"error": null,
				"advancedFilter": null,
				"servername": null,
				"compliance10": null,
				"compliance11": null,
				"resultsizetreshold": 0,
				"exectime1": null,
				"exectime2": null,
				"exectime3": null,
				"exectime4": null,
				"exectime5": null,
				"exectime6": null,
				"runtime_ask": "Except\tExcept\tExcept\tExcept\tExcept\tExcept\tExcept\tExcept\tExcept\tExcept\tExcept\tExcept\tExcept\tExcept\t",
				"runtime_join": "Except\tExcept\tExcept\tExcept\tExcept\tExcept\t",
				"active": 0,
				"totalcheck": 1479,
				"subjectid": 4
			}
		],
		"total": 12,
		"limit": 5,
		"page": 1,
		"pages": 3
	},
	"keyword": "sparql",
	"filter": "media"
}

(GET) - /api/endpoints


./api/endpoints?page={page number}

Sample Request

./api/endpoints?page=1

Sample Response

{
                                    "page":"1",
                                    "pages":15,
                                    "total":1487,

                                    "docs":[
                                    {
                                    "_id":"5971bfa9b891ecd560000002",
                                    "name":"http://fintrans.publicdata.eu/sparql",
                                    "dataset":"EU: fintrans.publicdata.eu",
                                    "endointUrl":"http://fintrans.publicdata.eu/sparql"
                                    }

                                    ]
}

(GET) - /endpoint


./api/endpoint/{endpoint id}

Sample Request

./api/endpoint/5971bfa9b891ecd56000001e

Sample Response

{
    "_id" : 5971bfa9b891ecd56000001e,
    "name" : "http://datos.bcn.cl/sparql",
    "dataset" : "Datos.bcn.cl",
    "endpoint_details" : {
        "dateCreated" : 2015-04-16T00:08:34.000Z,
        "lastChecked" : 2015-12-28T17:52:52.000Z,
        "source" : "lodstats-lodcloud-sparqles-spendold-datahub.io",
        "subject" : "government,govern",
        "servername" : "Virtuoso/07.10.3207 (Linux) i686-generic-linux-glibc25-64  VDB",
        "entities" : 1301921,
        "totalcheck" : 1471,
        "triples" : {
            "value" : 17598296,
            "last_check_date" : 2015-12-28T17:52:55.000Z"
        },
        "distinctResourceURIs" : {
            "value" : 2334742,
            "last_check_date" : 2015-12-28T17:53:32.000Z
        },
        "distinctClasses" : {
            "value" : 477,
            "last_check_date" : 2015-12-28T17:53:34.000Z
        },
        "distinctPredicates" : {
            "value" : 309,
            "last_check_date" : 2015-12-28T17:53:38.000Z
        },
        "distinctSubjectNodes" : {
            "value" : 1512014,
            "last_check_date" : 2015-12-28T17:53:34.000Z
        },
        "distinctObjectNodes" : {
            "value" : 2230090,
            "last_check_date" : 2015-12-28T17:54:03.000Z
        },
        "compliance" : {
            "compliance_10" : [
                "01-syntax-form-select-01.rq",
                "1",
                "02-join-combo-2.rq",
                "03-opt-filter-1.rq",
                "1",
                "04-syntax-union-01.rq",
                "1",
                "05-syn-bad-empty-optional-01.rq",
                "06-regex-query-001.rq",
                "1",
                "07-regex-query-002.rq",
                "1",
                "08-q-blank-1.rq",
                "1",
                "09-q-iri-1.rq",
                "1",
                "10-query-eq-1.rq",
                "1",
                "11-expr-5.rq",
                "12-query-boolean-literal.rq",
                "1",
                "13-bound1.rq",
                "1",
                "14-syntax-bnode-01.rq",
                "1",
                "15-syntax-dataset-01.rq",
                "1",
                "16-syntax-dataset-02.rq",
                "1",
                "17-graph-08.rq",
                "1",
                "18-graph-07.rq",
                "1",
                "19-syntax-order-01.rq",
                "20-syntax-limit-offset-02.rq",
                "21-syntax-order-03.rq",
                "22-syntax-order-04.rq",
                "23-distinct-1.rq",
                "24-reduced-1.rq",
                "25-query-ident.rq",
                "26-query-reif-2.rq",
                "27-query-construct-optional.rq",
                "28-ask-1.rq",
                ""
            ],
            "compliance_11" : [
                "01-agg-avg-01.rq",
                "02-agg-avg-02.rq",
                "03-agg-max-01.rq",
                "04-agg-min-02.rq",
                "05-agg-sum-01.rq",
                "06-agg02.rq",
                "07-syntax-subquery-01.rq",
                "08-sq01.rq",
                "09-syntax-propertyPaths-01.rq",
                "10-syntax-bindings-09.rq",
                "11-values01.rq",
                "12-syntax-minus-01.rq",
                "13-syntax-exists-01.rq",
                "14-syntax-exists-03.rq",
                "15-starts01.rq",
                "16-contains01.rq",
                "17-abs01.rq",
                "18-in01.rq",
                "19-constructwhere01.rq",
                "20-service01.rq",
                ""
            ]
        }
    },
    "analyze_results" : {
        "available" : 91.6035561409285,
        "runtime_ask" : [
            "0.6746890544891357",
            "0.6439926624298096",
            "0.6778430938720703",
            "0.6757099628448486",
            "0.6668519973754883",
            "0.6978461742401123",
            "0.6913106441497803",
            "0.6907322406768799",
            "0.6612005233764648",
            "0.6521539688110352",
            "0.6390829086303711",
            "0.6395530700683594",
            "0.6632955074310303",
            "0.6416153907775879",
            ""
        ],
        "runtime_join" : [
            "2.5890259742736816",
            "2.5723252296447754",
            "2.6573824882507324",
            "2.6890313625335693",
            "4.122085094451904",
            "3.9472410678863525",
            ""
        ]
    }
}