diff --git a/doci_v1.hf b/doci_v1.hf index f46024b..36631c8 100644 --- a/doci_v1.hf +++ b/doci_v1.hf @@ -79,11 +79,11 @@ LIMIT 50000 The field returned by this operation is: * *count*: the number of incoming citations to the input bibliographic entity. -#call /citation-count/10.1142/9789812701527_0009 +#call /citation-count/10.15468/opc6g1 #field_type int(count) #output_json [ { - "count": "32" + "count": "62690" } ] #sparql PREFIX cito: @@ -104,11 +104,11 @@ WHERE { The field returned by this operation is: * *count*: the number of outgoing citations from the input bibliographic entity. -#call /reference-count/10.1186/1756-8722-6-59 +#call /reference-count/10.15468/dl.hqvyq2 #field_type int(count) #output_json [ { - "count": "75" + "count": "227" } ] #sparql PREFIX cito: diff --git a/indexapi_v1.py b/indexapi_v1.py index c1b8c8c..6330a9d 100755 --- a/indexapi_v1.py +++ b/indexapi_v1.py @@ -442,7 +442,7 @@ def __normalise(o): return sub("\s+", " ", s).strip() def __br_meta_metadata(values): - sparql_endpoint = "http://127.0.0.1:3003/blazegraph/sparql" + sparql_endpoint = "http://opencitations.net/meta/sparql" # SPARQL query sparql_query = """