Searched refs:predicates (Results 1 - 2 of 2) sorted by relevance

/ontohub/spec/lib/
H A Dtriple_store_spec.rb15 it "expect no predicates" do
16 expect(store.predicates('a','c')).to eq([])
30 expect(store.predicates('a','c')).to eq(['b'])
38 it "expect no predicates" do
39 expect(store.predicates('a','d')).to eq([])
68 expect(store.predicates('a','c')).to eq(['b'])
70 it "expect two predicates for a-d" do
71 expect(store.predicates('a','d')).to eq(['b','e'])
74 expect(store.predicates('f','d')).to eq(['e'])
/ontohub/lib/
H A Dtriple_store.rb69 # Returns a list with all predicates for a given subject-object pair
75 # * - the list of predicates
76 def predicates(subject, object) method in class:TripleStore

Completed in 175 milliseconds