Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsed query in the result #7

Open
pyvandenbussche opened this issue Jun 16, 2016 · 4 comments
Open

Parsed query in the result #7

pyvandenbussche opened this issue Jun 16, 2016 · 4 comments

Comments

@pyvandenbussche
Copy link
Collaborator

Since quepy is parsing the query e.g. "What is the namespace of dcterms?"
is it possible to return the parsed query so I would know "dcterms" refered to the prefix of a vocabulary? In that case I could add more interaction such as "See more information about dcterms" pointing to the vocabulary?

This would make the interaction and ultimately the QA a new way to navigate ...

@gatemezing
Copy link
Owner

@pyvandenbussche normally for the question "What is the namespace of dcterms"?, [vocab] refers to the prefix of a vocabulary in LOV, created with a POS. So consider [vocab] as a prefix used in LOV.

@pyvandenbussche
Copy link
Collaborator Author

It does indeed refer to prefix in a POS but in LOV frontend I don't know that. If I parse the sentence then basically there is no need to use QA :)

@gatemezing
Copy link
Owner

Now it should be possible to see the query in the input. Do a ckeckout of the update.
If you also need the SPARQL query launched, just let me kow

@pyvandenbussche
Copy link
Collaborator Author

I use directly main.py (not goign through app.py)
I know the original query asked. What would be interesting is to get the Pos and in particular if from the query "What is foaf?" you can return me the information: vocabularyPrefix = foaf.
Is that possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants