Skip to content

Commit

Permalink
update apis
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanhb committed Oct 23, 2023
1 parent 2a768e7 commit c430e7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions doci_v1.hf
Original file line number Diff line number Diff line change
Expand Up @@ -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: <http://purl.org/spar/cito/>
Expand All @@ -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: <http://purl.org/spar/cito/>
Expand Down
2 changes: 1 addition & 1 deletion indexapi_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = """
Expand Down

0 comments on commit c430e7f

Please sign in to comment.