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

Special predicates #11

Open
afader opened this issue Sep 10, 2013 · 1 comment
Open

Special predicates #11

afader opened this issue Sep 10, 2013 · 1 comment

Comments

@afader
Copy link
Contributor

afader commented Sep 10, 2013

We should be able to handle queries like this:

(obama, born in, $x) ($x, is, date)

without having to add a bunch of (1945, is, date)-type triples to the triplestore. So there should be some special query-execution logic to test whether something is a date.

Other special predicates:

  • gender
  • person
  • location
  • "meta" things, like ($x, starts with letter, A)
@afader
Copy link
Contributor Author

afader commented Sep 11, 2013

Another good special predicate would be quantities, that return true for strings like 23 people or one electron.

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

No branches or pull requests

1 participant