org.apache.stanbol.contenthub.search.related.referencedsite
Class ReferencedSiteSearch

java.lang.Object
  extended by org.apache.stanbol.contenthub.search.related.referencedsite.ReferencedSiteSearch
All Implemented Interfaces:
org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeywordSearch

@Service
public class ReferencedSiteSearch
extends Object
implements org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeywordSearch

This class is constructed with an rdf model that will be queried and extracts semantically related entities according to the entity type's

Author:
anil.pacaci

Field Summary
static List<String> organizationTypedProperties
          dbpedia-owl:organization ranged properties for related organizations
static List<String> personTypedProperties
          dbpedia-owl:person ranged properties for related persons
static List<String> placeTypedProperties
          dbpedia-owl:place ranged properties for related places
 
Constructor Summary
ReferencedSiteSearch()
           
 
Method Summary
 Map<String,List<org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeyword>> search(String keyword)
           
 Map<String,List<org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeyword>> search(String keyword, String ontologyURI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

placeTypedProperties

public static final List<String> placeTypedProperties
dbpedia-owl:place ranged properties for related places


personTypedProperties

public static final List<String> personTypedProperties
dbpedia-owl:person ranged properties for related persons


organizationTypedProperties

public static final List<String> organizationTypedProperties
dbpedia-owl:organization ranged properties for related organizations

Constructor Detail

ReferencedSiteSearch

public ReferencedSiteSearch()
Method Detail

search

public Map<String,List<org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeyword>> search(String keyword)
                                                                                                 throws org.apache.stanbol.contenthub.servicesapi.search.SearchException
Specified by:
search in interface org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeywordSearch
Throws:
org.apache.stanbol.contenthub.servicesapi.search.SearchException

search

public Map<String,List<org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeyword>> search(String keyword,
                                                                                                        String ontologyURI)
                                                                                                 throws org.apache.stanbol.contenthub.servicesapi.search.SearchException
Specified by:
search in interface org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeywordSearch
Throws:
org.apache.stanbol.contenthub.servicesapi.search.SearchException


Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.