Victor Shepelev
Victor Shepelev
Full list is here: https://github.com/molybdenum-99/reality/blob/master/data/wikidata-predicates.yaml Add reasonable number of interesting ones. Code for checking how much of entities uses predicate in [web console](https://query.wikidata.org/): ``` sparql PREFIX wikibase: PREFIX wd: PREFIX...
There should be isolated (not required by default) `lib/reality/iruby` module, which, on `require` adds `#to_html` method to `Entity` and `List`, making them pretty for [IRuby Notebook](https://github.com/SciRuby/iruby). And maybe `Entity#describe` should...
This is a huge project, which could be VERY helpful. Parts include: - Reality-aware reverse geocoding: `Geo::Coord.new(..., ...).address` having City, Country and other parts as a `Reality::Entity`; - Reality-aware routing:...
Seems to be implemented in multiple other libraries, so just use them/import code: ``` ruby Measure(1, 'h').since # => Time.now + 1 hour Measure(1, 'h').ago # => Time.now - 1...
Infoboxes list (with frequencies): https://github.com/molybdenum-99/reality/blob/master/data/infoboxes_freq.txt But the reasonable strategy would be to select "most interesting", not just "most frequent" ones (for ex., "Infobox planet" is relatively infrequent, yet pretty useful...
At least, we need planets! The reality doesn't end in Earth atmosphere. Also.. the number of things-to-be-listed will be updated soon.
There's several useful things that could be done: - plural/singular: define that predicate creates both `tld` and `tlds` methods, with former returning just first values of latter. (many countries have...
1. `Entity('Bush')` should return special `Disambiguator` class, which provides inspect for "what variants there are", and allows to select between them easily. 2. `Entity('Ruby')` should have `other_uses` method (providing contents...
First take: eternal cache with manual cleanup. 1. Cache is opt-in (should be explicitly turned on through config or `Reality.cache!`) 2. Cache path should be configured (with reasonable default somewhere...
1. It should be possible to configure executable with `reality --config reality.yml` 2. Consider using "current folder" trick like other tools, e.g. if reality binary run in folder containing `.reality.yml`...