public void TestEdgeHasInstanceOfFalse()
        {
            var edge      = new Edge(0, "?prop0", 0, 1);
            var queryEdge = new QueryEdge(edge);

            Assert.False(queryEdge.HasInstanceOf());
        }
        public void TestEdgeHasInstanceOfTrue()
        {
            var edge      = new Edge(0, "?prop0", 0, 1, new[] { "http://www.wikidata.org/prop/direct/P31" });
            var queryEdge = new QueryEdge(edge);

            Assert.True(queryEdge.HasInstanceOf());
        }
 public static bool IsInferible(this QueryEdge edge)
 {
     return(edge.uris.Any() && !edge.HasInstanceOf());
 }