Comments (3)
Yes the multiple positive hits are effectively from _red:2 through _red:5.
Agreed that some form of consolidation would be better, not trivial to do but will add this to the list. This is a UI issue more than an API issue.
This has nothing to to with named graphs/default graphs. Each time an item is registered a separate search index term is created pointing back to the item. This is a lucene index and not part of the triple store. There are 4 hits because only 4 of the 5 items which have been know as _red had a label "reddish", the first one had label "red".
Initially when an item was updated I updated the text index so a search for reddish would only return one hit. The problem is that you would then never find "red". So now all versions are indexed and the API attempts to consolidate.
from ukl-registry-poc.
"""This is a UI issue more than an API issue."""
Agreed.
"""There are 4 hits because only 4 of the 5 items which have been know as _red had a label "reddish", the first one had label "red"."""
Agreed that the first version of the register item for /def/colours/red would not be found when searching for "reddish". However, the point I was making was that it also did not find the triple in NAMED GRAPH /def/colours/_red:2#graph ... from the SPARQL query panel I can see that the following triple exists therein:
</def/colours/red> rdfs:label "reddish"@en .
Would this have made the 5th "hit"? (if NAMED GRAPHs are also being searched?)
from ukl-registry-poc.
The index is not over triples. It indexes each item based on the item label which in turn is a copy from the entity description in the named graph. The search results are based on entity lists (as specified) so the UI can't link from the entity to a specific item version in the index.
I've arranged for duplicate suppression in the search results but retain the indexing of each historic version.
from ukl-registry-poc.
Related Issues (20)
- Configuring a SLAVE Registry instance as "read only"
- Batch-upload that fails during payload validation still creates the Register associated with the collection-root
- (Batch-)upload payload validation requires use of rdfs:label; skos:prefLabel is not sufficient
- Add support for OAuth 2.0 (OpenID Connect) HOT 1
- Additional roles in security model
- API security documentation bug
- Bootstrap duplication
- Remove owner/manager for bootstrap system registers
- Enhancements to release tagging behaviour.
- Requesting version of top-level register (or its register item) using webUI throws HTTP 500 exception HOT 1
- Support subproperties of rdfs:label
- Incomplete listing in native "View" mode
- Modification of NamespaceForward resource (code 200) is redirected to delegationTarget HOT 1
- HTTP 404 error encountered by IE8 users HOT 3
- Code migration and maintenance
- Data dictionary support
- Customisable lifecycle for Register items
- Change text indexing strategy
- Improve security for authenticated users HOT 4
- Propagation of content "patches" from MASTER Registry instance to SLAVE instances HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ukl-registry-poc.