Concept "Creating Elasticsearch documents for Entities extracted from Resources extracted from ResourceSilos"

From SMW CindyKate by dataspects
Component0406282300
Jump to navigation Jump to search
[edit]
Keywords/Contexts

Develop · Search · Indexing · DMS · Terminology

Annotations
{{#compound_query:Component0406282300Property "-Has subobject" has a restricted application area and cannot be used as annotation property by a user.UseCaseMotivation;?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning
Property "-Has subobject" has a restricted application area and cannot be used as annotation property by a user.Concept "Creating Elasticsearch documents for Entities extracted from Resources extracted from ResourceSilos";?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning Property "-Has subobject" has a restricted application area and cannot be used as annotation property by a user.Concept "Creating Elasticsearch documents for Entities extracted from Resources extracted from ResourceSilos";?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning
name=MotivationsDeclaredOnThisPageResultItem|link=none}}
Motivations
Lua error in Module:Motivations at line 23: attempt to concatenate field 'hasReasoning' (a nil value).
[edit]

Content


hEntityDoc = {
  # Resource silo level
  OriginatedFromResourceSiloID: oEntity.get_sObjectValue_for_sPREDICATENAME('OriginatedFromResourceSiloID'),
  OriginatedFromResourceSiloLabel: oEntity.get_sObjectValue_for_sPREDICATENAME('OriginatedFromResourceSiloLabel'),
  OriginatedFromResourceSiloType: oEntity.get_sObjectValue_for_sPREDICATENAME('OriginatedFromResourceSiloType'),
  # Resource level
  HasResourceName: oEntity.get_sObjectValue_for_sPREDICATENAME('HasResourceName'),
  HasResourceURL: oEntity.get_sObjectValue_for_sPREDICATENAME('HasResourceURL'),
  HasResourceType: oEntity.get_sObjectValue_for_sPREDICATENAME('HasResourceType'),
  # Entity/subject level
  HasEntityClass: oEntity.get_sObjectValue_for_sPREDICATENAME('HasEntityClass'),
  HasEntityName: oEntity.get_sObjectValue_for_sPREDICATENAME('HasEntityName'),
  HasEntityType: oEntity.get_sObjectValue_for_sPREDICATENAME('HasEntityType'),
  HasEntityURL: oEntity.get_sObjectValue_for_sPREDICATENAME('HasEntityURL'),
  HasEntityTitle: oEntity.get_sObjectValue_for_sPREDICATENAME('HasTitle'),
  HasEntityBlurb: oEntity.get_sObjectValue_for_sPREDICATENAME('HasEntityBlurb'),
  HasEntityContent: oEntity.get_sObjectValue_for_sPREDICATENAME('HasEntityContent'),
  HasEntityTypeAndEntityTitle: oEntity.get_sObjectValue_for_sPREDICATENAME('HasTypeAndTitle'),
  HasEntityKeywords: oEntity.get_aObjectValues_for_sPREDICATENAME('HasEntityKeyword'),
  HasEntityAnnotations: oEntity.get_aHasEntityAnnotations # This allows skipping predicates!
}

What can be a dataspectsEntity?

Dataspects::Entity
GitHubRepositoryFile
SemanticMediaWikiPage

What can be a dataspectsResource?

Dataspects::ResourceDataspects::Resource.hResourceURIAEntities
GitHubRepositoryFileJSON.load(Sawyer::Resource.attrs.to_json) coming from Octokit.contentsDataspects::Resource.aEntities
SemanticMediaWikiPageJSON.load({sSMWPageName: sSMWPageName}.to_json)Dataspects::Resource.aEntities

What can be a dataspectsResourceSilo?

Dataspects::ResourceSilo
GitHubRepository
SemanticMediaWiki
TEST0
TEST1