org.apache.stanbol.contenthub.search.related.referencedsite
Class ReferencedSiteSearch
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ReferencedSiteSearch
public ReferencedSiteSearch()
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.