Github user meiercaleb commented on a diff in the pull request:

    https://github.com/apache/incubator-rya/pull/217#discussion_r135061720
  
    --- Diff: 
sail/src/main/java/org/apache/rya/rdftriplestore/inference/InferenceEngine.java 
---
    @@ -878,6 +902,28 @@ private static void addStatementEdge(final Graph 
graph, final String edgeName, f
             return findParents(subClassOfGraph, type);
         }
     
    +    /**
    +     * Returns all superproperties of the specified property based on the
    +     * internal subproperty graph.
    +     * @param property the property {@link URI} to find superproperties 
for.
    +     * @return the {@link Set} of {@link URI} properties that are 
superproperties
    +     * of the specified {@code property}. Returns an empty set if nothing 
was found.
    +     */
    +    public Set<URI> getSuperProperties(final URI property) {
    +        return findChildren(subPropertyOfGraph, property);
    +    }
    +
    +    /**
    +     * Returns all subproperties of the specified property based on the
    +     * internal subproperty graph.
    +     * @param property the property {@link URI} to find subproperties for.
    +     * @return the {@link Set} of {@link URI} properties that are 
subproperties
    +     * of the specified {@code property}. Returns an empty set if nothing 
was found.
    +     */
    +    public Set<URI> getSubProperties(final URI property) {
    --- End diff --
    
    Null check.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to