dbcls / spang Goto Github PK
View Code? Open in Web Editor NEWSPARQL client implementation in Perl
Home Page: http://spang.dbcls.jp
SPARQL client implementation in Perl
Home Page: http://spang.dbcls.jp
I got this error in the latest perl
Docker image.
root@1171278df483:~# perl --version
This is perl 5, version 28, subversion 0 (v5.28.0) built for x86_64-linux-gnu
Copyright 1987-2018, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
root@1171278df483:~# ./spang-0.4.5/bin/spang
Can't locate LWP/UserAgent.pm in @INC (you may need to install the LWP::UserAgent module) (@INC contains: /root/spang-0.4.5/pm /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /root/spang-0.4.5/pm/SPANG/Querying.pm line 8.
BEGIN failed--compilation aborted at /root/spang-0.4.5/pm/SPANG/Querying.pm line 8.
Compilation failed in require at ./spang-0.4.5/bin/spang line 19.
BEGIN failed--compilation aborted at ./spang-0.4.5/bin/spang line 19.
root@1171278df483:~#
Uniprot examples returns 301 Moved Permanently
Please check
root@c3edde195308:~# ./spang-0.4.5/bin/spang uniprot -S tax:511145
301 Moved Permanently
root@c3edde195308:~# ./spang-0.4.5/bin/spang uniprot -S tax:511145 -a
301 Moved Permanently
root@c3edde195308:~# ./spang-0.4.5/bin/spang uniprot -S tax:511145 -q
FORMAT -f tsv
DB http://sparql.uniprot.org
SPARQL SHORTCUT
--
PREFIX tax: <http://purl.uniprot.org/taxonomy/>
SELECT ?p ?o
WHERE {
tax:511145 ?p ?o
}
root@c3edde195308:~# ./spang-0.4.5/bin/spang uniprot -S tax:511145 -f rdfxml
301 Moved Permanently
root@c3edde195308:~# ./spang-0.4.5/bin/spang uniprot -S tax:511145 -P up:otherName
301 Moved Permanently
root@c3edde195308:~# ./spang-0.4.5/bin/spang uniprot -S tax:511145 -P rdfs:subClassOf+/up:scientificName
301 Moved Permanently
root@c3edde195308:~# ./spang-0.4.5/bin/spang uniprot -P a -O up:Protein -N
301 Moved Permanently
root@c3edde195308:~# ./spang-0.4.5/bin/spang uniprot taxtree_ancestor 511145 -vac
301 Moved Permanently
root@c3edde195308:~# ./spang-0.4.5/bin/spang uniprot taxtree_ancestor 511145 -f json
301 Moved Permanently
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.