[Feature Request] Allow searching RDF database with URI
- Dominant language
- TypeScript
- Stars
- 481
- Forks
- 108
- Avg merge
- 6d 8h
- Merged PRs (30d)
- 5
Description
**Community Note**
* Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.
* If you are interested in working on this issue or have submitted a pull request, please leave a comment.
**Graph Explorer Version (and Graph Database and Version used if applicable)**
**Is your feature request related to a problem? Please describe.**
If I know the exact URI for the resource I want to add to the canvas, I would like to be able to supply it and find that resource quickly.
**Describe the solution you'd like**
In the search panel, allow me to provide the URI for a specific resource and execute a simple subject query
```sparql
PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
SELECT ?subject ?predicate ?object
WHERE {
?subject ?predicate ?object .
FILTER (?subject = http://example.org/resource/123)
}
```
- Add URI option to "Predicate" drop down
- Apply "Class" dropdown selection to query, if "All" is not selected
**Considerations**
- Class filter may not make sense given a resource URI
- Could add a node that is not known in the schema, which can lead to side effects
- Both the "Class" dropdown and the "Predicate" dropdown are semantically incorrect as we would be searching on "subject" which might lead to confusion
**Additional context**
Originally proposed in PR https://github.com/aws/graph-explorer/pull/243#discussion_r1516927806
Contributor guide
Assessment
This issue has not been assessed yet.