I'm using Reality Gem to Query Wikidata, using this code below. But it gives nil output. i've checked using result.methods command but i dont't see any method to view "part_of" or "instance_of" property values
require 'reality'
result = Reality::Entity("Enterprise JavaBeans")
result.part_of
=> nil
However on wikidata page these properties are available:
https://www.wikidata.org/wiki/Q742961
Can someone help me please?