lalewis1 opened a new issue, #2947:
URL: https://github.com/apache/jena/issues/2947
### Version
4.8
### What happened?
POST an assembler description file to the /$/datasets endpoint and have a
new dataset created
__What actually happened__
HTTP 400 "No triple rdf:type fuseki:Service found"
(no trace in Fuseki logs)
__Steps to reproduce__
1. start Fuseki server locally
2. create assembler file
```turtle
PREFIX : <#>
PREFIX fuseki: <http://jena.apache.org/fuseki#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX tdb2: <http://jena.apache.org/2016/tdb#>
PREFIX ja: <http://jena.hpl.hp.com/2005/11/Assembler#>
## Updatable TDB dataset with all services enabled.
<#service_tdb_all> rdf:type fuseki:Service ;
rdfs:label "myds" ;
fuseki:name "myds" ;
fuseki:dataset <#tdb_dataset_readwrite> ;
fuseki:endpoint [ fuseki:operation fuseki:query ] ;
fuseki:endpoint [ fuseki:operation fuseki:update ] ;
fuseki:endpoint [ fuseki:operation fuseki:gsp-rw ] ;
fuseki:endpoint [ fuseki:name "sparql" ;
fuseki:operation fuseki:query ] ;
fuseki:endpoint [ fuseki:name "query" ;
fuseki:operation fuseki:query ] ;
fuseki:endpoint [ fuseki:name "update" ;
fuseki:operation fuseki:update ] ;
fuseki:endpoint [ fuseki:name "data" ;
fuseki:operation fuseki:gsp-rw ] ;
fuseki:endpoint [ fuseki:name "get" ;
fuseki:operation fuseki:gsp-r ] ;
.
<#tdb_dataset_readwrite> rdf:type tdb2:DatasetTDB2 ;
tdb2:location "/fuseki/databases/myds" ;
.
```
3. submit using curl
```bash
curl localhost:3030/$/datasets -u admin:pw -d @config.ttl -H
'content-type: text/turtle' -v
```
_ the error will be returned _
4. remove comment from assembler description and resubmit
_ no error _
### Relevant output and stacktrace
```shell
```
### Are you interested in making a pull request?
None
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]