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

How to do crosswords? #61

Open
progval opened this issue Mar 5, 2015 · 1 comment
Open

How to do crosswords? #61

progval opened this issue Mar 5, 2015 · 1 comment
Labels

Comments

@progval
Copy link
Member

progval commented Mar 5, 2015

How can I encode questions like “Who is president and name match Oba*a?” ?

Should it be (?, office held, president) ∩ (?, name match, Oba*a)?
If yes, I think we should define a format for these patterns? (globs? regexps?)
If no, how do it? (add a predicate, a node type, …)

@Majboor
Copy link

Majboor commented Apr 10, 2023

use regular expressions or globs. For example, you could use the following format:

For the first pattern: (?, office held, president)
For the second pattern: (?, name match, Oba[a-z])
In this format, the question mark (?) represents a wildcard that can match any entity or relation. The "office held" and "name" relations are specified explicitly, while the "president" and "Oba
a" entities are specified using regular expressions or globs.

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

No branches or pull requests

2 participants