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:
RelatedKeywordSearch

@Service
public class ReferencedSiteSearch
extends java.lang.Object
implements 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 java.util.List<java.lang.String> organizationTypedProperties
          dbpedia-owl:organization ranged properties for related organizations
static java.util.List<java.lang.String> personTypedProperties
          dbpedia-owl:person ranged properties for related persons
static java.util.List<java.lang.String> placeTypedProperties
          dbpedia-owl:place ranged properties for related places
 
Constructor Summary
ReferencedSiteSearch()
           
 
Method Summary
 java.util.Map<java.lang.String,java.util.List<RelatedKeyword>> search(java.lang.String keyword)
           
 java.util.Map<java.lang.String,java.util.List<RelatedKeyword>> search(java.lang.String keyword, java.lang.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 java.util.List<java.lang.String> placeTypedProperties
dbpedia-owl:place ranged properties for related places


personTypedProperties

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


organizationTypedProperties

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

Constructor Detail

ReferencedSiteSearch

public ReferencedSiteSearch()
Method Detail

search

public java.util.Map<java.lang.String,java.util.List<RelatedKeyword>> search(java.lang.String keyword)
                                                                      throws SearchException
Specified by:
search in interface RelatedKeywordSearch
Throws:
SearchException

search

public java.util.Map<java.lang.String,java.util.List<RelatedKeyword>> search(java.lang.String keyword,
                                                                             java.lang.String ontologyURI)
                                                                      throws SearchException
Specified by:
search in interface RelatedKeywordSearch
Throws:
SearchException


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