flange-ipb opened a new issue, #1985:
URL: https://github.com/apache/jena/issues/1985

   ### Version
   
   4.9.0
   
   ### What happened?
   
   Hi folks!
   
   I'd like to offer text search on one of my Fuseki read-write datasets and 
noticed some irregularities when changing triples in the underlying dataset.
   
   Setup:
   - [Fuseki Standalone 
Server](https://repo1.maven.org/maven2/org/apache/jena/apache-jena-fuseki/4.9.0/)
   - config: 
[config-text-tdb2.ttl](https://github.com/apache/jena/blob/main/jena-fuseki2/examples/config-text-tdb2.ttl)
   - start Fuseki: `./fuseki-server --config=config-text-tdb2.ttl`
   - data: 
[dfgfo.ttl](https://github.com/tibonto/DFG-Fachsystematik-Ontology/blob/main/dfgfo.ttl)
   
   Query:
   ```
   PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
   PREFIX text: <http://jena.apache.org/text#>
   
   SELECT ?uri ?score
   WHERE {
     (?uri ?score) text:query (rdfs:label 'ancient history') .
   }
   ORDER BY DESC(?score)
   ```
   
   1. Add dfgfo.ttl to the dataset via *add data* in the UI (`POST 
http://127.0.0.1:3030/dataset/data`); we have 1126 triples
   2. Execute query: 14 results
   3. Repeat 1.
   4. Execute query: 14 results (OK!)
   5. Edit the dataset in the UI and save it without changes (`PUT 
http://127.0.0.1:3030/dataset/data?graph=default`); we still have 1126 triples
   6. Execute query: 28 results (14 duplicates)
   7. Send `DROP ALL` to `/dataset/update`; 0 triples now
   8. Execute query: 28 results
   9. Repeat 1.; we have 1126 triples again
   10. Execute query: 42 results (14+14 duplicates)
   
   ### Relevant output and stacktrace
   
   _No response_
   
   ### 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]

Reply via email to