public interface WikidataSearchService extends de.deepamehta.core.service.PluginService
Modifier and Type | Method and Description |
---|---|
void |
assignToWikidataWorkspace(de.deepamehta.core.Topic topic) |
de.deepamehta.core.Topic |
createWikidataAssociationType(long entityTopicId)
This method creates a DeepaMehta Association Type given a \"Wikidata Search Entity\" (of type=property).
|
de.deepamehta.core.Topic |
getOrCreateWikidataEntity(String wikidataEntityId,
String iso_language_code)
This method gets (or creates) a \"Wikidata Search Entity\" (in DeepaMehta 4) by its ID (wikidata).
|
de.deepamehta.core.service.ResultList<de.deepamehta.core.RelatedAssociation> |
getTopicRelatedAssociations(long topicId)
This method retrieves all associated associations of type "Wikidata Claim" for any given
\"Wikidata Search Entity\" (of type=property).
|
de.deepamehta.core.Topic |
loadClaimsAndRelatedWikidataItems(long entityTopicId,
String iso_language_code)
This method loads all claims (with language specific values) for a wikidata-entity into DeepaMehta 4.
|
de.deepamehta.core.Topic |
searchWikidataEntity(String query,
String iso_language_code,
String entityType)
This method searches all wikidata entities by text and the given language code.
|
de.deepamehta.core.Topic searchWikidataEntity(String query, String iso_language_code, String entityType)
{entity}
- entity-type (can be of entity-type "item" or "property"){query}
- name of wikidata property in search{language_code}
- ISO 639-1 language code (must exist in DM installation)de.deepamehta.core.Topic getOrCreateWikidataEntity(String wikidataEntityId, String iso_language_code)
{entityId}
- wikidataIdde.deepamehta.core.Topic loadClaimsAndRelatedWikidataItems(long entityTopicId, String iso_language_code)
{id}
- \"Wikidata Search Entity\"-Topic IDde.deepamehta.core.Topic createWikidataAssociationType(long entityTopicId)
{id}
- \"Wikidata Search Entity\"-Topic ID (entity-type must be of value "property")de.deepamehta.core.service.ResultList<de.deepamehta.core.RelatedAssociation> getTopicRelatedAssociations(long topicId)
{id}
- \"Wikidata Search Entity\"-Topic ID (entity-type must be of value "property")void assignToWikidataWorkspace(de.deepamehta.core.Topic topic)
Copyright © 2015. All Rights Reserved.