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

/ontohub/lib/
H A Dlanguage_population.rb25 languageNames = @store.objects(languageIri, labelIri)
26 languageDescs = @store.objects(languageIri, commentIri)
27 languageDefis = @store.objects(languageIri, definedIri)
H A Dlogic_population.rb22 logicNames = @store.objects(logicIri, labelIri)
23 logicDescs = @store.objects(logicIri, commentIri)
24 logicDefis = @store.objects(logicIri, definedIri)
H A Dlogic_mapping_population.rb50 mapping_names = @store.objects(mapping_iri, label_iri)
51 mapping_defis = @store.objects(mapping_iri, defined_iri)
52 mapping_source_ids = @store.objects(mapping_iri, maps_from_iri)
53 mapping_target_ids = @store.objects(mapping_iri, maps_to_iri)
54 mapping_types = @store.objects(mapping_iri, type_iri)
H A Dtriple_store.rb80 # Returns a list with all objects for a given subject-predicate pair
86 # * - the list of objects
87 def objects(subject, predicate) method in class:TripleStore
/ontohub/spec/lib/
H A Dtriple_store_spec.rb18 it "expect no objects" do
19 expect(store.objects('a','b')).to eq([])
33 expect(store.objects('a','b')).to eq(['c'])
41 it "expect no objects" do
42 expect(store.objects('a','d')).to eq([])
78 it "expect two objects for a-b" do
79 expect(store.objects('a','b')).to eq(['c', 'd'])
82 expect(store.objects('a','e')).to eq(['d'])
85 expect(store.objects('f','e')).to eq(['d'])

Completed in 11 milliseconds