Class: PublishMyData::ThirdParty::Ontology

Inherits:
Ontology
  • Object
show all
Defined in:
app/models/publish_my_data/third_party/ontology.rb

Instance Method Summary collapse

Methods inherited from Ontology

#classes, #classes_sorted, #eager_load!, #properties, #properties_sorted, uri_from_slug

Methods included from AllFeatures

#deprecated?, #download_prefix, #resource_type, #slug

Instance Method Details

#data_graph_uriObject

if there’s no data graph set, return the graph uri



7
8
9
# File 'app/models/publish_my_data/third_party/ontology.rb', line 7

def data_graph_uri
  super || self.graph_uri
end

#local?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'app/models/publish_my_data/third_party/ontology.rb', line 22

def local?
  false
end