|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WikidataSearchService
A very basic plugin to search and explore wikidata. Creates \"Wikidata Search Result Entity\"-Topics. Corresponding to the type of wikidata-entity found via a search these topics have either the child-type ("org.deepamehta.wikidata.search_entity_type") set to the value "property or the value "item".
Method Summary | |
---|---|
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. |
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |