405 HTTP method PUT is not supported by this URL

108 views
Skip to first unread message

go.save...@gmail.com

unread,
Jul 6, 2021, 7:02:31 AM7/6/21
to Skosmos Users
Hallo people,

I have a question about how to ingest a large data rightly.
I try s-put but:

$ /opt/fuseki/bin/s-put http://localhost:3030/skosmos/data https://w3id.org/date/ /opt/
apache-jena-fuseki-3.13.1/run/w3id_version/metadataOnly.ttl

But, I got an error:
405 HTTP method PUT is not supported by this URL http://localhost:3030/skosmos/data?graph=https%3A%2F%2Fw3id.org%2Fdate%2F
Failed to connect: localhost:3030: exit

I have a set up as follows:
Skosmos 2.1 (Jena: VERSION: 3.13.1)
Windows Subsystem for Linux (WSL2) with Ubuntu 20.04 LTS

I guess the problem is the configuration (below), but not sure. Can somebody give me a hand? Many thanks in advance!

@prefix :      <http://base/#> .
@prefix tdb:   <http://jena.hpl.hp.com/2008/tdb#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ja:    <http://jena.hpl.hp.com/2005/11/Assembler#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix fuseki: <http://jena.apache.org/fuseki#> .

<http://jena.apache.org/2016/tdb#DatasetTDB>
        rdfs:subClassOf  ja:RDFDataset .

ja:DatasetTxnMem  rdfs:subClassOf  ja:RDFDataset .

tdb:DatasetTDB  rdfs:subClassOf  ja:RDFDataset .

tdb:GraphTDB  rdfs:subClassOf  ja:Model .

<http://jena.apache.org/2016/tdb#GraphTDB2>
        rdfs:subClassOf  ja:Model .

ja:MemoryDataset  rdfs:subClassOf  ja:RDFDataset .

ja:RDFDatasetZero  rdfs:subClassOf  ja:RDFDataset .

<http://jena.apache.org/text#TextDataset>
        rdfs:subClassOf  ja:RDFDataset .

:service_tdb_all  a                   fuseki:Service ;
        rdfs:label                    "TDB date" ;
        fuseki:dataset                :tdb_dataset_readwrite ;
        fuseki:name                   "date" ;
        fuseki:serviceQuery           "query" , "" , "sparql" ;
        fuseki:serviceReadGraphStore  "get" ;
        fuseki:serviceReadQuads       "" ;
        fuseki:serviceReadWriteGraphStore
                "data" ;
        fuseki:serviceReadWriteQuads  "" ;
        fuseki:serviceUpdate          "" , "update" ;
        fuseki:serviceUpload          "upload" .

:tdb_dataset_readwrite
        a             tdb:DatasetTDB ;
        tdb:location  "/opt/fuseki/run/databases/date" .

<http://jena.apache.org/2016/tdb#GraphTDB>
        rdfs:subClassOf  ja:Model .

ja:RDFDatasetOne  rdfs:subClassOf  ja:RDFDataset .

ja:RDFDatasetSink  rdfs:subClassOf  ja:RDFDataset .

<http://jena.apache.org/2016/tdb#DatasetTDB2>
        rdfs:subClassOf  ja:RDFDataset .

Osma Suominen

unread,
Aug 6, 2021, 6:38:21 AM8/6/21
to skosmo...@googlegroups.com
Hello,

This seems to be a Fuseki problem, not directly related to Skosmos. So
you may be better off asking on the Apache Jena users list.

That said, my guess based on the error message (Failed to connect:
localhost:3030) is that Fuseki wasn't up and running. You need to start
Fuseki and it needs to be running and listening to localhost:3030 for
commands like s-put to work.

-Osma
> --
> You received this message because you are subscribed to the Google
> Groups "Skosmos Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to skosmos-user...@googlegroups.com
> <mailto:skosmos-user...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/skosmos-users/48b174ed-12a6-4a65-ac04-b9d1e6d39b92n%40googlegroups.com
> <https://groups.google.com/d/msgid/skosmos-users/48b174ed-12a6-4a65-ac04-b9d1e6d39b92n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 15 (Unioninkatu 36)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
osma.s...@helsinki.fi
http://www.nationallibrary.fi
Reply all
Reply to author
Forward
0 new messages