Difference between revisions of "Snapquery/Scholia Graph Split"

From BITPlan cr Wiki
Jump to navigation Jump to search
 
Line 4: Line 4:
 
# let snapquery run all (scholia) queries against the current main graph
 
# let snapquery run all (scholia) queries against the current main graph
 
# compare to result of queries against legacy graph on different endpoints (Wikimedia Foundation, scatter-red, RWTH-DBIS, Wolfgang's personal fur)
 
# compare to result of queries against legacy graph on different endpoints (Wikimedia Foundation, scatter-red, RWTH-DBIS, Wolfgang's personal fur)
 +
<source lang='bash' highlight='1,9-10'>
 +
wf@fur:~/source/python$ git clone https://github.com/WolfgangFahl/snapquery
 +
Cloning into 'snapquery'...
 +
remote: Enumerating objects: 2194, done.
 +
remote: Counting objects: 100% (747/747), done.
 +
remote: Compressing objects: 100% (333/333), done.
 +
remote: Total 2194 (delta 462), reused 680 (delta 401), pack-reused 1447 (from 1)
 +
Receiving objects: 100% (2194/2194), 1.75 MiB | 8.73 MiB/s, done.
 +
Resolving deltas: 100% (1538/1538), done.
 +
cd snapquery
 +
pipx install snapquery
 +
...
 +
Successfully installed fastapi-0.115.13 h11-0.16.0 httpcore-1.0.9 jinja2-3.1.6 nameparser-1.1.3 narwhals-1.43.1 ngwidgets-0.28.0 nicegui-2.20.0 packaging-25.0 plotly-6.1.2 py-ez-wikidata-0.3.1 pyopensourceprojects-0.2.3 python-engineio-4.12.2 requests-2.32.4 snapquery-0.1.0 starlette-0.46.2
 +
</source>

Latest revision as of 06:29, 20 June 2025

see Scholia issue #2664: all SPARQL queries need checking to not run on legacy

Steps:

  1. let snapquery run all (scholia) queries against the current main graph
  2. compare to result of queries against legacy graph on different endpoints (Wikimedia Foundation, scatter-red, RWTH-DBIS, Wolfgang's personal fur)
wf@fur:~/source/python$ git clone https://github.com/WolfgangFahl/snapquery
Cloning into 'snapquery'...
remote: Enumerating objects: 2194, done.
remote: Counting objects: 100% (747/747), done.
remote: Compressing objects: 100% (333/333), done.
remote: Total 2194 (delta 462), reused 680 (delta 401), pack-reused 1447 (from 1)
Receiving objects: 100% (2194/2194), 1.75 MiB | 8.73 MiB/s, done.
Resolving deltas: 100% (1538/1538), done.
cd snapquery
pipx install snapquery
...
Successfully installed fastapi-0.115.13 h11-0.16.0 httpcore-1.0.9 jinja2-3.1.6 nameparser-1.1.3 narwhals-1.43.1 ngwidgets-0.28.0 nicegui-2.20.0 packaging-25.0 plotly-6.1.2 py-ez-wikidata-0.3.1 pyopensourceprojects-0.2.3 python-engineio-4.12.2 requests-2.32.4 snapquery-0.1.0 starlette-0.46.2