Hi Anatoly,
This looks really interesting!
I wanted to try it out myself, but didn't manage. Installing iolanta as
you described didn't work for me:
> $ pip install iolanta
> error: externally-managed-environment
>
> × This environment is externally managed
> ╰─> To install Python packages system-wide, try apt install
> python3-xyz, where xyz is the package you are trying to
> install.
>
> If you wish to install a non-Debian-packaged Python package,
> create a virtual environment using python3 -m venv path/to/venv.
> Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
> sure you have python3-full installed.
>
> If you wish to install a non-Debian packaged Python application,
> it may be easiest to use pipx install xyz, which will manage a
> virtual environment for you. Make sure you have pipx installed.
>
> See /usr/share/doc/python3.12/README.venv for more information.
>
> note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
> hint: See PEP 668 for the detailed specification.
So, I installed it in a virtual environment as instructed, which seems
to have worked, but now running the command as you wrote, gives me
another error message:
> $ bin/iolanta
http://purl.org/np/RAYskLSM5x29icArnWvo9nVrIVEN2mfPoDq3TQSgm-9kk
> Usage: iolanta [OPTIONS] COMMAND [ARGS]...
> Try 'iolanta --help' for help.
> ╭─ Error ─────────────────────────────────────────────────────────────────────────────────────────────╮
> │ No such command '
http://purl.org/np/RAYskLSM5x29icArnWvo9nVrIVEN2mfPoDq3TQSgm-9kk'. │
> ╰─────────────────────────────────────────────────────────────────────────────────────────────────────╯
What am I doing wrong?
Regards,
Tobias
On 04.01.25 13:50, Anatoly Scherbakov wrote:
> Hi all, hope you had great Christmas ∧/∨ New Year celebrations!
>
> I've been working on a tool to browse and render Linked Data from the
> Web in the terminal, would like to show you what I've got, and maybe ask
> a few questions. This is very much α at this point.
>
> If you have Python 3.10+ then installing the tool is as easy as
>
> pip install iolanta
>
> and then,
>
> iolanta
http://purl.org/np/RAYskLSM5x29icArnWvo9nVrIVEN2mfPoDq3TQSgm-9kk
>
> to look at an example Nanopublication:
>
> retracting.png
>
> This screen shows that this nanopublication says that a person is
> retracting another nanopublication. Let's click the yellow block to see
> what is being retracted.
>
> retracted.png
>
> Each of the blocks is clickable. For instance, you can click on the
> author's name and get a lot of information from ORCID.
>
> author.png
>
> The system attempts to retrieve the information about URIs from the Web.
> For instance, if to click on mainEntityOfPage property name above,
> we'll get information from Schema ontology where that is described.
>
> not-retracted.png
>
> This is the same publication as above, but now Iolanta doesn't know it
> was retracted. Why? — because, by design, it doesn't store the state of
> the RDF graph it visualizes stuff off of between invocations. Since, on
> this invocation, Iolanta hasn't /seen/ the retracting publication ⇒ then
> it doesn't know about it. Which means the information displayed is
> incomplete, and that's what I would like to fix.
>
> 1. If I know a URI of a nanopublication, is there a way I can find any
> nanopublications which retract or somehow else reference this
> nanopublication? Perhaps a special URL I could ping to get JSON-LD
> information? Or a SPARQL endpoint to ask?
>
> 2. Do you see any potential use cases in your practice where this tool,
> if more mature, could be useful?
>
> On the screenshots, you can see that a number of URIs are displayed as
> URIs, as non-human-readable strings of symbols; I aim to solve that and
> make Linked Data more friendly to someone who's not a professional in
> Linked Data tech. Thus, potentially, making it easier to use and to
> produce Linked Data. So feedback would be much welcome.
>
> - Site:
https://iolanta.tech
> - GitHub:
https://github.com/iolanta-tech/iolanta/
>
> Thanks a lot!
> Anatoly
>
> --
> You received this message because you are subscribed to the Google
> Groups "Nanopublications" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
nanopub-user...@googlegroups.com <mailto:
nanopub-
>
users+un...@googlegroups.com>.
> users/e7b6a907-5192-4483-ab9c-29779dec25e9n%
40googlegroups.com <https://
>
groups.google.com/d/msgid/nanopub-users/e7b6a907-5192-4483-
> ab9c-29779dec25e9n%
40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit
https://groups.google.com/d/optout <https://
>
groups.google.com/d/optout>.