mapper

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PredicateIsClassifiedBy          = "http://www.ft.com/ontology/classification/isClassifiedBy"
	PredicateIsPrimarilyClassifiedBy = "http://www.ft.com/ontology/classification/isPrimarilyClassifiedBy"
	PredicateMentions                = "http://www.ft.com/ontology/annotation/mentions"
	PredicateMajorMentions           = "http://www.ft.com/ontology/annotation/majorMentions"
	PredicateAbout                   = "http://www.ft.com/ontology/annotation/about"
	PredicateImplicitlyAbout         = "http://www.ft.com/ontology/implicitlyAbout"
	PredicateImplicitlyClassifiedBy  = "http://www.ft.com/ontology/implicitlyClassifiedBy"
	PredicateHasAuthor               = "http://www.ft.com/ontology/annotation/hasAuthor"
	PredicateHasBrand                = "http://www.ft.com/ontology/hasBrand"
	PredicateHasContributor          = "http://www.ft.com/ontology/hasContributor"
	PredicateHasDisplayTag           = "http://www.ft.com/ontology/hasDisplayTag"

	ConceptTypeBrand         = "http://www.ft.com/ontology/product/Brand"
	ConceptTypeGenre         = "http://www.ft.com/ontology/Genre"
	ConceptTypeTopic         = "http://www.ft.com/ontology/Topic"
	ConceptTypeLocation      = "http://www.ft.com/ontology/Location"
	ConceptTypeSpecialReport = "http://www.ft.com/ontology/SpecialReport"
	ConceptTypeSubject       = "http://www.ft.com/ontology/Subject"
)

Variables

This section is empty.

Functions

func ConvertPredicates

func ConvertPredicates(body []byte) ([]byte, error)

func IsValidPACPredicate added in v1.4.4

func IsValidPACPredicate(pr string) bool

func TransformConceptID

func TransformConceptID(id string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL