Code Monkey home page Code Monkey logo

sapphire's People

Contributors

aelroby avatar khaledammar avatar sharathkunnanath avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sapphire's Issues

Query Relaxation Not Deployed

Changing the query and its structure to find answers if no answers are found or to find queries that are closely related to what the user is interested in.

Filtering Not Implemented

Filtering is not supported in UI or in the backend.

Example of Filtering is in bold:
SELECT DISTINCT ?uri
WHERE {
?uri locatedIn New_Jersey .
?uri type City .
?uri numberOfInhabitants ?inhabitants .
FILTER (?inhabitants > 100000) .
}

Order By, LIMIT, OFFSET are not implemented in the UI

Example:

PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri 
WHERE {
        ?x rdf:type dbo:Album .
        ?x dbo:artist res:Elvis_Presley .
        ?x dbo:releaseDate ?y .
        ?x dbo:recordLabel ?uri .
}
ORDER BY ASC(?y) 
OFFSET 0 LIMIT 1

Use Wordnet to Find Alternatives

In the process of finding alternatives to seeds in the query, we need to use Wordnet in addition to finding literals using a similarity function.

Allowing Users to Add Modifiers Manually

Allow the users to add modifiers like COUNT, DISTINCT, etc. to the SELECT textbox.

Or better, allow the user to choose a modifier for any of the SELECT textbox values through the UI. For example, if there is a variable ?movie, a checkbox for this variable is available to mark if the user needs to modify it, then she can choose from a dropdown list the desired modifier. Any other UI suggestion is welcome.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.