Searched refs:subjects (Results 1 - 5 of 5) sorted by relevance

/ontohub/spec/lib/
H A Dtriple_store_spec.rb12 it "expect no subjects" do
13 expect(store.subjects('b','c')).to eq([])
27 expect(store.subjects('b','c')).to eq(['a'])
35 it "expect no subjects" do
36 expect(store.subjects('b','d')).to eq([])
57 expect(store.subjects('b','c')).to eq(['a'])
60 expect(store.subjects('b','d')).to eq(['a'])
62 it "expect two subjects for e-d" do
63 expect(store.subjects('e','d')).to eq(['a', 'f'])
/ontohub/lib/
H A Dlanguage_population.rb23 languageIris = @store.subjects(typeIri, languageTypeIri);
H A Dlogic_population.rb20 logicIris = @store.subjects(typeIri, logicTypeIri)
H A Dlogic_mapping_population.rb48 mapping_iris = @store.subjects(type_iri, mapping_type_iri)
H A Dtriple_store.rb58 # Returns a list with all subjects for a given object-predicate pair
64 # * - the list of subjects
65 def subjects(predicate, object) method in class:TripleStore

Completed in 19 milliseconds