vicinityManager/server/controllers/search/get.js
/*
  Looks for valid subclasses and types in the ontology given a class (Type or thing)
  Excludes inferences
  */
Looks for valid subclasses and types in the ontology given a class (Type or thing)
Excludes inferences
Looks for valid subclasses and types in the ontology given a class ( Type or thing ) Excludes inferences
function searchInOntology(req, res, next){
    var searchTerm = req.query.searchTerm;
    sGet.searchInOntology(searchTerm, function(err, response){
      res.json({error: err, message: response});
    });
  }
function searchInOntology ( req , res , next ) { var searchTerm = req . query . searchTerm ; sGet . searchInOntology ( searchTerm , function ( err , response ) { res . json ( { error : err , message : response } ) ; } ) ; }
Looks for valid subclasses and types in the ontology given a class (Type or thing)
Excludes inferences
Looks for valid subclasses and types in the ontology given a class ( Type or thing ) Excludes inferences