- Graphwise Platform Documentation
- Graphwise API Endpoints
- Semantic Analytics
- Entity Extractor API
- Entity Extractor API Calls
- Tagger Services
- Web Service Method: Tag Data as JSON or RDF
Web Service Method: Tag Data as JSON or RDF
18/06/2026
Tag data as JSON or RDF.
URL: /extractor/api/tag
Note
The LUCENE extractor is a licensed feature requiring an active feature.extractor.lucene license key. Attempting to use the LUCENE engine without this key will result in an HTTP error. The CLASSIC extractor remains fully available to customers who hold the legacy PoolParty Enterprise license and above, respectively a Semantic Analytics license. To upgrade your license and enable Lucene-based extraction, please contact your Graphwise representative.
Supported Methods
POST
Content Type
multipart/form-data
Request Headers
Header | Description |
|---|---|
| Response format (JSON or RDF) - default: application/json |
Attribute | Type | Required | Comment |
|---|---|---|---|
| Array of Part | true | One or more data parts, where each part is a separate document to tag |
| true | Specifies various parameters for the tagging process | |
| String | false | Aggregate results for each data part into a single result, 'true' or 'false', 'false' by default |
| String | false | Enable categorization, 'true' or 'false', 'false' by default |
Data content (optionally from a file) submitted as an individual part of a multipart request.
Attribute | Type | Required | Comment |
|---|---|---|---|
| boolean | false | Use Extractor boosting, default: false |
| boolean | false | Categorization extraction, default: false |
| Double | false | Minimum required score of concepts, default: 0 |
| Array of String | false | Concept scheme URI filters |
| Array of String | false | Corpus term scoring. Enabled if corpusIds (UUID) are provided. |
| Array of | false | Custom attribute (property uri and string value) filters |
| Array of String | false | Custom class URI filters |
| boolean | false | Use thesaurus based disambiguation, default: false |
| boolean | false | Include text extracted from url in response, default: false |
| Array of String | false | Enable document classification by giving the document classifier IDs as input |
| String | false | Internal ID of the document, taken from documentUri |
| Array of PPLocale | false | Additional languages used for concept extraction (en|de|es|fr|...) Also supports wildcard * for all languages |
| ExtractorType | false | One of |
| boolean | false | Remove concepts matches which are contained within other matches, default: true |
| false | Extraction language (en|de|es|fr|...) | |
| boolean | false | Use lemmatization, default: true |
| Array of NERConfig | false | Array of models that are used for Named Entity Recognition |
| Integer | false | Retrieve number of concepts, default: 25 |
| Integer | false | Retrieve number of terms, default: 0 |
| Integer | false | Phrase length, default: 4 |
| Array of String | false | Thesaurus projectIds |
| Array of String | false | Array of custom class attributes and relations that will be fetched by providing their property URIs as input. Furthermore it supports Set to |
| String | false | File name for regex patterns |
| Array of String | false | Shadow concepts calculation. Enabled if corpusIds (UUID) are provided. |
| boolean | false | Shows which concept labels where found inside the text, default: false |
| boolean | false | Shows the position of the matched text. Only shown if showMatchingDetails = true. default: false |
| boolean | false | Use TFIDF scoring, default: false |
| String | false | Title of the document |
| boolean | false | Retrieve related concepts, default: false |
| boolean | false | Retrieve transitive broader concepts, default: false |
| boolean | false | Retrieve transitive broader top concepts, default: false |
| boolean | false | Retrieve custom types for concepts, default: false |
{
"nerParameters" : [ {
"classUri" : "some classUri",
"method" : "RULE_BASED",
"type" : "https://semantic-web.com/api/type#2130"
}, {
"classUri" : "some classUri",
"method" : "MAXIMUM_ENTROPY",
"type" : "https://semantic-web.com/api/type#20921"
} ],
"tfidfScoring" : true,
"useTransitiveBroaderTopConcepts" : false,
"language" : "cz",
"phraseLength" : 75,
"title" : "All about Chuck Norris",
"numberOfTerms" : 28595,
"conceptMinimumScore" : 0.7967598370459237,
"customAttributeFilters" : [ {
"property" : "https://semantic-web.com/api/property#29990",
"value" : "some value"
}, {
"property" : "https://semantic-web.com/api/property#10496",
"value" : "some value"
} ],
"corpusScoring" : [ "some corpusScoring" ],
"useRelatedConcepts" : true,
"customClassFilters" : [ "some customClassFilters", "some customClassFilters" ],
"shadowConceptCorpusId" : [ "some shadowConceptCorpusId", "some shadowConceptCorpusId" ],
"categorize" : true,
"filterNestedConcepts" : false,
"extraConceptLanguages" : [ "nl" ],
"useTransitiveBroaderConcepts" : true,
"displayText" : true,
"regexFilename" : "some regexFilename",
"categorizationWithPpxBoost" : false,
"numberOfConcepts" : 20983,
"disambiguate" : false,
"showMatchingPosition" : false,
"useTypes" : true,
"documentClassifierIds" : [ "some documentClassifierIds" ],
"conceptSchemeFilters" : [ "https://semantic-web.com/api/conceptSchemeFilters#22125" ],
"documentId" : "corpusDocument:0ac32384-b3c2-4e62-8bcf-7ed4fd67b630",
"lemmatization" : true,
"projectId" : [ "some projectId", "some projectId" ],
"properties" : [ "https://semantic-web.com/api/properties#18083", "https://semantic-web.com/api/properties#22061", "https://semantic-web.com/api/properties#27582" ],
"showMatchingDetails" : true
}For defining custom properties.
Attribute | Type | Required | Comment |
|---|---|---|---|
| String | false | property name |
| String | false | property value |
{
"property" : "https://semantic-web.com/api/property#1135",
"value" : "some value"
}Named Entity Recognition configuration
Attribute | Type | Required | Comment |
|---|---|---|---|
| String | false | Class URI given to identified Named Entities |
| NerMethod | false | Method used for Named Entity Extraction. Options are: (default) MAXIMUM_ENTROPY, RULE_BASED. One of |
| String | false | Type of Named Entity Model. Pre-defined models for MAXIMUM_ENTROPY: person, organization, location |
{
"classUri" : "some classUri",
"method" : "RULE_BASED",
"type" : "https://semantic-web.com/api/type#16596"
}Content Type
application/json, application/ld+json, application/n-quads, application/n-triples, application/rdf+json, application/rdf+xml, application/trig, application/trix, application/x-binary-rdf, application/x-ld+ndjson, application/x-trigstar, text/n3, text/turtle, text/x-turtlestar
Array of TaggerResponse
Results of an text extraction request. Properties with no entries are not present.
Attribute | Type | Required | Comment |
|---|---|---|---|
| Array of Category | false | Categories of the document |
| Array of DocumentClassification | false | Document classification results |
| Array of ThesaurusConcept | false | Matched concepts |
| false | Detected Language of the document | |
| String | false | Document ID (IRI) identifying the document |
| Array of ExtractedTerm | false | Extracted freeTerms |
| String | false | Original filename that contained the document |
| Array of NamedEntityResponse | false | Named Entities |
| Array of RegexMatches | false | Regex token matches |
| Array of Sentiment | false | Matched sentiments |
| Array of ShadowConceptResponse | false | Shadow Concepts |
| String | false | Text as extracted from url or file |
| String | false | Title as extracted from url or file |
{
"classificationResults" : [ {
"probabilities" : [ {
"probability" : 0.24790099341190563,
"label" : "some label"
}, {
"probability" : 0.009152334062442757,
"label" : "some label"
}, {
"probability" : 0.8738699216306482,
"label" : "some label"
} ],
"uri" : "https://semantic-web.com/api/uri#9080",
"predictedLabel" : "some predictedLabel"
}, {
"probabilities" : [ {
"probability" : 0.5868985464314457,
"label" : "some label"
}, {
"probability" : 0.4324961472409937,
"label" : "some label"
}, {
"probability" : 0.8073632847437047,
"label" : "some label"
} ],
"uri" : "https://semantic-web.com/api/uri#32526",
"predictedLabel" : "some predictedLabel"
}, {
"probabilities" : [ {
"probability" : 0.24874636654716198,
"label" : "some label"
}, {
"probability" : 0.7420627302734164,
"label" : "some label"
} ],
"uri" : "https://semantic-web.com/api/uri#25953",
"predictedLabel" : "some predictedLabel"
} ],
"detectedLanguage" : "fr",
"shadowConcepts" : [ {
"prefLabels" : { },
"languages" : [ "cz", "en" ],
"shadowConceptTerms" : [ {
"score" : 0.7710625309245155,
"textValue" : "some textValue"
} ],
"project" : "some project",
"relatedConcepts" : [ "https://semantic-web.com/api/relatedConcepts#32313", "https://semantic-web.com/api/relatedConcepts#31216", "https://semantic-web.com/api/relatedConcepts#10055" ],
"customSchemeTypes" : [ {
"title" : "All about Chuck Norris",
"uri" : "https://semantic-web.com/api/uri#6287"
} ],
"transitiveBroaderTopConcepts" : [ "some transitiveBroaderTopConcepts", "some transitiveBroaderTopConcepts" ],
"conceptSchemes" : [ {
"title" : "All about Chuck Norris",
"uri" : "https://semantic-web.com/api/uri#10387"
} ],
"uri" : "https://semantic-web.com/api/uri#30644",
"corporaScore" : 0.27414518571093716,
"score" : 0.29250693618207413,
"transitiveBroaderConcepts" : [ "some transitiveBroaderConcepts", "some transitiveBroaderConcepts", "some transitiveBroaderConcepts" ],
"hiddenLabels" : { },
"customRelations" : [ {
"property" : "https://semantic-web.com/api/property#1994",
"object" : "some object"
} ],
"id" : "some id",
"altLabels" : { },
"broaderConcepts" : [ "https://semantic-web.com/api/broaderConcepts#6180", "https://semantic-web.com/api/broaderConcepts#19469" ],
"customAttributes" : [ {
"property" : "https://semantic-web.com/api/property#9001",
"literal" : {
"language" : "nl",
"label" : "Label 13866"
}
}, {
"property" : "https://semantic-web.com/api/property#24137",
"literal" : {
"language" : "cz",
"label" : "Label 26614"
}
} ]
} ],
"regexMatches" : [ {
"regexPattern" : "some regexPattern",
"regexMatches" : [ "some regexMatches" ]
}, {
"regexPattern" : "some regexPattern",
"regexMatches" : [ "some regexMatches" ]
}, {
"regexPattern" : "some regexPattern",
"regexMatches" : [ "some regexMatches", "some regexMatches", "some regexMatches" ]
} ],
"sentiments" : [ {
"score" : 0.99071115,
"sentiment" : "some sentiment",
"negativeTerms" : [ "some negativeTerms", "some negativeTerms", "some negativeTerms" ],
"positiveTerms" : [ "some positiveTerms", "some positiveTerms", "some positiveTerms" ]
} ],
"title" : "All about Chuck Norris",
"filename" : "chuck_norris.crn",
"concepts" : [ {
"prefLabels" : { },
"languages" : [ "fr", "cz" ],
"project" : "some project",
"relatedConcepts" : [ "https://semantic-web.com/api/relatedConcepts#32094", "https://semantic-web.com/api/relatedConcepts#19591", "https://semantic-web.com/api/relatedConcepts#3654" ],
"customSchemeTypes" : [ {
"title" : "All about Chuck Norris",
"uri" : "https://semantic-web.com/api/uri#18969"
} ],
"transitiveBroaderTopConcepts" : [ "some transitiveBroaderTopConcepts" ],
"conceptSchemes" : [ {
"title" : "All about Chuck Norris",
"uri" : "https://semantic-web.com/api/uri#32673"
} ],
"frequencyInDocument" : 4998,
"uri" : "https://semantic-web.com/api/uri#20542",
"corporaScore" : 0.9322567311693615,
"wordForms" : [ "some wordForms", "some wordForms" ],
"score" : 0.7808431974281913,
"transitiveBroaderConcepts" : [ "some transitiveBroaderConcepts" ],
"frequencyInDocuments" : 9474,
"hiddenLabels" : { },
"customRelations" : [ {
"property" : "https://semantic-web.com/api/property#4890",
"object" : "some object"
}, {
"property" : "https://semantic-web.com/api/property#27131",
"object" : "some object"
}, {
"property" : "https://semantic-web.com/api/property#29567",
"object" : "some object"
} ],
"matchingLabels" : [ {
"predicate" : "some predicate",
"language" : "fr",
"label" : "some label",
"matchedTexts" : [ null, null ],
"frequency" : 20801
} ],
"id" : "some id",
"altLabels" : { },
"broaderConcepts" : [ "https://semantic-web.com/api/broaderConcepts#2887", "https://semantic-web.com/api/broaderConcepts#25832" ],
"customAttributes" : [ {
"property" : "https://semantic-web.com/api/property#7532",
"literal" : {
"language" : "cz",
"label" : "Label 29345"
}
}, {
"property" : "https://semantic-web.com/api/property#32699",
"literal" : {
"language" : "fr",
"label" : "Label 28923"
}
} ]
} ],
"extractedTerms" : [ {
"score" : 0.09162357228123241,
"frequencyInDocuments" : 26643,
"textValue" : "some textValue",
"frequencyInDocument" : 22969,
"corporaScore" : 0.7241463850741213
}, {
"score" : 0.2776300339295621,
"frequencyInDocuments" : 17099,
"textValue" : "some textValue",
"frequencyInDocument" : 9100,
"corporaScore" : 0.42256266864520964
} ],
"documentId" : "corpusDocument:0ac32384-b3c2-4e62-8bcf-7ed4fd67b630",
"namedEntities" : [ {
"score" : 0.4655518406349135,
"metadata" : { },
"method" : "some method",
"textValue" : "some textValue",
"positions" : [ {
"endIndex" : 18517,
"beginningIndex" : 6671
}, {
"endIndex" : 13974,
"beginningIndex" : 3806
}, {
"endIndex" : 75,
"beginningIndex" : 531
} ],
"type" : "https://semantic-web.com/api/type#32105",
"frequency" : 26814
}, {
"score" : 0.38726522211472625,
"metadata" : { },
"method" : "some method",
"textValue" : "some textValue",
"positions" : [ {
"endIndex" : 16593,
"beginningIndex" : 24584
} ],
"type" : "https://semantic-web.com/api/type#27729",
"frequency" : 16286
}, {
"score" : 0.9496799519043295,
"metadata" : { },
"method" : "some method",
"textValue" : "some textValue",
"positions" : [ {
"endIndex" : 8934,
"beginningIndex" : 19768
} ],
"type" : "https://semantic-web.com/api/type#19455",
"frequency" : 14743
} ],
"categories" : [ {
"score" : 0.9726393284242558,
"prefLabel" : "some prefLabel",
"categoryConceptResults" : [ {
"score" : 0.8925557038389942,
"prefLabel" : "some prefLabel",
"uri" : "https://semantic-web.com/api/uri#31926"
}, {
"score" : 0.43735098033581377,
"prefLabel" : "some prefLabel",
"uri" : "https://semantic-web.com/api/uri#27735"
} ],
"uri" : "https://semantic-web.com/api/uri#15712"
}, {
"score" : 0.3987617982271582,
"prefLabel" : "some prefLabel",
"categoryConceptResults" : [ {
"score" : 0.8031473624754567,
"prefLabel" : "some prefLabel",
"uri" : "https://semantic-web.com/api/uri#30908"
} ],
"uri" : "https://semantic-web.com/api/uri#6576"
}, {
"score" : 0.8325320586512555,
"prefLabel" : "some prefLabel",
"categoryConceptResults" : [ {
"score" : 0.3878342798514597,
"prefLabel" : "some prefLabel",
"uri" : "https://semantic-web.com/api/uri#6802"
}, {
"score" : 0.2523758590867561,
"prefLabel" : "some prefLabel",
"uri" : "https://semantic-web.com/api/uri#32747"
} ],
"uri" : "https://semantic-web.com/api/uri#840"
} ],
"text" : "some text"
}Categorization result
Attribute | Type | Required | Comment |
|---|---|---|---|
| Array of ConceptCategory | false | Categorized concepts |
| String | false | Preferred label |
| double | false | Score between 0.0 and 100.0 |
| String | false | Category URI |
{
"score" : 0.6094564645637294,
"prefLabel" : "some prefLabel",
"categoryConceptResults" : [ {
"score" : 0.11666557465953242,
"prefLabel" : "some prefLabel",
"uri" : "https://semantic-web.com/api/uri#24078"
}, {
"score" : 0.9869004532147229,
"prefLabel" : "some prefLabel",
"uri" : "https://semantic-web.com/api/uri#16812"
} ],
"uri" : "https://semantic-web.com/api/uri#31468"
}Categorized concept
Attribute | Type | Required | Comment |
|---|---|---|---|
| String | false | Preferred label |
| double | false | Score between 0.0 and 100.0 |
| String | false | URI |
{
"score" : 0.028231483508747712,
"prefLabel" : "some prefLabel",
"uri" : "https://semantic-web.com/api/uri#13467"
}A DocumentClassification object.
Attribute | Type | Required | Comment |
|---|---|---|---|
| String | false | Predicted label |
| Array of Prediction | false | Probabilities |
| String | false | URI of the classifier |
{
"probabilities" : [ {
"probability" : 0.2774615451483641,
"label" : "some label"
}, {
"probability" : 0.2196179682424908,
"label" : "some label"
}, {
"probability" : 0.1057276284168075,
"label" : "some label"
} ],
"uri" : "https://semantic-web.com/api/uri#15268",
"predictedLabel" : "some predictedLabel"
}A Prediction object.
Attribute | Type | Required | Comment |
|---|---|---|---|
| String | false | |
| Double | false |
{
"probability" : 0.2644888067124437,
"label" : "some label"
}Concept from a Graph Modeling thesaurus project.
Attribute | Type | Required | Comment |
|---|---|---|---|
| Map of PPLocale | false | Alternative labels |
| Array of String | false | URIs of all direct broader concepts |
| Array of ThesaurusConceptScheme | false | The concept schemes this concept resides |
| Double | false | Relevance score - e.g. when extracted from a text |
| Array of CustomAttribute | false | Custom attributes |
| Array of CustomRelation | false | Custom relations |
| Array of CustomSchemeType | false | URIs of the custom types assigned to the concept |
| int | false | Frequency of the concept in the text |
| int | false | Frequency of the concept in the text |
| Map of PPLocale | false | Hidden labels |
| String | false | Concept id |
| Array of PPLocale | false | Language of the prefLabel, altLabels and hiddenLabels of this localized view of the concept |
| Array of MatchingLabel | false | Matching labels |
| Map of PPLocale | false | Preferred label |
| String | false | UUID of the containing Graph Modeling project |
| Array of String | false | URIs of all related concepts |
| double | false | Normalized relevance score - e.g. when extracted from a text |
| Array of String | false | URIs of all transitive broader concepts |
| Array of String | false | URIs of all top concepts that this concept is connected to via a transitive broader-chain |
| String | false | Uniform resource identifier |
| Array of String | false | Lemmatized word forms |
{
"prefLabels" : { },
"languages" : [ "cz", "en" ],
"project" : "some project",
"relatedConcepts" : [ "https://semantic-web.com/api/relatedConcepts#13794" ],
"customSchemeTypes" : [ {
"title" : "All about Chuck Norris",
"uri" : "https://semantic-web.com/api/uri#24492"
} ],
"transitiveBroaderTopConcepts" : [ "some transitiveBroaderTopConcepts", "some transitiveBroaderTopConcepts" ],
"conceptSchemes" : [ {
"title" : "All about Chuck Norris",
"uri" : "https://semantic-web.com/api/uri#18882"
} ],
"frequencyInDocument" : 24780,
"uri" : "https://semantic-web.com/api/uri#13808",
"corporaScore" : 0.7197872788298033,
"wordForms" : [ "some wordForms", "some wordForms" ],
"score" : 0.84546630613876,
"transitiveBroaderConcepts" : [ "some transitiveBroaderConcepts" ],
"frequencyInDocuments" : 2987,
"hiddenLabels" : { },
"customRelations" : [ {
"property" : "https://semantic-web.com/api/property#19092",
"object" : "some object"
}, {
"property" : "https://semantic-web.com/api/property#176",
"object" : "some object"
} ],
"matchingLabels" : [ {
"predicate" : "some predicate",
"language" : "cz",
"label" : "some label",
"matchedTexts" : [ {
"matchedText" : "some matchedText",
"positions" : [ null ],
"frequency" : 13512
}, {
"matchedText" : "some matchedText",
"positions" : [ null, null ],
"frequency" : 20987
} ],
"frequency" : 23170
}, {
"predicate" : "some predicate",
"language" : "it",
"label" : "some label",
"matchedTexts" : [ {
"matchedText" : "some matchedText",
"positions" : [ null, null, null ],
"frequency" : 18597
}, {
"matchedText" : "some matchedText",
"positions" : [ null, null, null ],
"frequency" : 10360
} ],
"frequency" : 18594
} ],
"id" : "some id",
"altLabels" : { },
"broaderConcepts" : [ "https://semantic-web.com/api/broaderConcepts#11850", "https://semantic-web.com/api/broaderConcepts#8372" ],
"customAttributes" : [ {
"property" : "https://semantic-web.com/api/property#27182",
"literal" : {
"language" : "en-gb",
"label" : "Label 4021"
}
}, {
"property" : "https://semantic-web.com/api/property#21558",
"literal" : {
"language" : "fr",
"label" : "Label 16948"
}
} ]
}A language tag as a string such as "en", "de", or "de_AT".
ConceptScheme from a Graph Modeling thesaurus project - acts as a container for concepts
Attribute | Type | Required | Comment |
|---|---|---|---|
| String | false | The localized title of this concept scheme |
| String | false | Uniform resource identifier |
{
"title" : "All about Chuck Norris",
"uri" : "https://semantic-web.com/api/uri#12808"
}JSON representation of a Literal object.
Attribute | Type | Required | Comment |
|---|---|---|---|
| String | true | The value of the literal. |
| String | false | An optional language tag. |
| false | A data type if not language tag is present. |
{
"property" : "https://semantic-web.com/api/property#24485",
"literal" : {
"language" : "fr",
"label" : "Label 27710"
}
}
Custom Relation
Attribute | Type | Required | Comment |
|---|---|---|---|
| String | false | Object |
| String | false | Property |
{
"property" : "https://semantic-web.com/api/property#5789",
"object" : "some object"
}(Graph Modeling) concept scheme - acts as a container for concepts
Attribute | Type | Required | Comment |
|---|---|---|---|
| String | false | The name of this custom scheme type |
| String | false | orm resource identifier |
{
"title" : "All about Chuck Norris",
"uri" : "https://semantic-web.com/api/uri#29836"
}A MatchingLabel object.
Attribute | Type | Required | Comment |
|---|---|---|---|
| Int | false |
|
| String | false |
|
| false | ||
| Array of MatchingText | false | |
| String | false |
{
"predicate" : "some predicate",
"language" : "en",
"label" : "some label",
"matchedTexts" : [ {
"matchedText" : "some matchedText",
"positions" : [ {
"endIndex" : 11784,
"beginningIndex" : 9272
}, {
"endIndex" : 12211,
"beginningIndex" : 30800
} ],
"frequency" : 24357
}, {
"matchedText" : "some matchedText",
"positions" : [ {
"endIndex" : 6306,
"beginningIndex" : 22431
} ],
"frequency" : 1981
} ],
"frequency" : 12197
}A MatchingText object.
Attribute | Type | Required | Comment |
|---|---|---|---|
| Int | false | |
| String | false | |
| Array of SimpleTokenPosition | false |
{
"matchedText" : "some matchedText",
"positions" : [ {
"endIndex" : 24716,
"beginningIndex" : 9179
}, {
"endIndex" : 7905,
"beginningIndex" : 11075
}, {
"endIndex" : 22868,
"beginningIndex" : 9326
} ],
"frequency" : 5901
}A SimpleTokenPosition object.
Attribute | Type | Required | Comment |
|---|---|---|---|
| Int | false | |
| int | false |
{
"endIndex" : 27932,
"beginningIndex" : 21026
}Phrase extracted from a text that does not match any Concepts.
Attribute | Type | Required | Comment |
|---|---|---|---|
| Double | false | Corpora score |
| int | false | Frequency within the document where it was extracted |
| int | false | Frequency within the documents where it was extracted |
| Double | false | Relevance score |
| String | false | The term phrase |
{
"score" : 0.9725688947050446,
"frequencyInDocuments" : 14457,
"textValue" : "some textValue",
"frequencyInDocument" : 21796,
"corporaScore" : 0.8305745793913005
}Named Entity
Attribute | Type | Required | Comment |
|---|---|---|---|
| int | false | frequencyInDocument |
| Map of String | false | Metadata |
| String | false | frequencyInDocument |
| Array of SimpleTokenPosition | false | Position |
| double | false | score |
| String | false | Matched text |
| String | false | Type |
{
"score" : 0.07104698667970843,
"metadata" : { },
"method" : "some method",
"textValue" : "some textValue",
"positions" : [ {
"endIndex" : 13104,
"beginningIndex" : 24198
}, {
"endIndex" : 20993,
"beginningIndex" : 15683
} ],
"type" : "https://semantic-web.com/api/type#2404",
"frequency" : 10556
}Regular expression match
Attribute | Type | Required | Comment |
|---|---|---|---|
| Array of String | false | Tokens from the input text that match the regex pattern |
| String | false | The original pattern used to match |
{
"regexPattern" : "some regexPattern",
"regexMatches" : [ "some regexMatches", "some regexMatches" ]
}Sentiment result
Attribute | Type | Required | Comment |
|---|---|---|---|
| Array of String | false | List of negative terms |
| Array of String | false | List of positive terms |
| float | false | Score |
| String | false | Sentiment |
{
"score" : 0.63678026,
"sentiment" : "some sentiment",
"negativeTerms" : [ "some negativeTerms" ],
"positiveTerms" : [ "some positiveTerms", "some positiveTerms" ]
}Shadow Concept
Attribute | Type | Required | Comment |
|---|---|---|---|
| Map of PPLocale | false | Alternative labels |
| Array of String | false | URIs of all direct broader concepts |
| Array of ThesaurusConceptScheme | false | The concept schemes this concept resides |
| Double | false | Relevance score - e.g. when extracted from a text |
| Array of CustomAttribute | false | Custom attributes |
| Array of CustomRelation | false | Custom relations |
| Array of CustomSchemeType | false | URIs of the custom types assigned to the concept |
| Map of PPLocale | false | Hidden labels |
| String | false | Concept id |
| Array of PPLocale | false | Language of the prefLabel, altLabels and hiddenLabels of this localized view of the concept |
| Map of PPLocale | false | Preferred label |
| String | false | UUID of the containing Graph Modeling project |
| Array of String | false | URIs of all related concepts |
| double | false | Normalized relevance score - e.g. when extracted from a text |
| Array of ShadowTerm | false | Extracted terms that contribute to calculation of the shadow concept |
| Array of String | false | URIs of all transitive broader concepts |
| Array of String | false | URIs of all top concepts that this concept is connected to via a transitive broader-chain |
| String | false | Uniform resource identifier |
{
"prefLabels" : { },
"languages" : [ "it", "en-us", "cz" ],
"shadowConceptTerms" : [ {
"score" : 0.28203284592427236,
"textValue" : "some textValue"
} ],
"project" : "some project",
"relatedConcepts" : [ "https://semantic-web.com/api/relatedConcepts#11516", "https://semantic-web.com/api/relatedConcepts#13383" ],
"customSchemeTypes" : [ {
"title" : "All about Chuck Norris",
"uri" : "https://semantic-web.com/api/uri#1204"
} ],
"transitiveBroaderTopConcepts" : [ "some transitiveBroaderTopConcepts", "some transitiveBroaderTopConcepts" ],
"conceptSchemes" : [ {
"title" : "All about Chuck Norris",
"uri" : "https://semantic-web.com/api/uri#16828"
}, {
"title" : "All about Chuck Norris",
"uri" : "https://semantic-web.com/api/uri#15843"
} ],
"uri" : "https://semantic-web.com/api/uri#12422",
"corporaScore" : 0.6866315183971066,
"score" : 0.18494478348869114,
"transitiveBroaderConcepts" : [ "some transitiveBroaderConcepts" ],
"hiddenLabels" : { },
"customRelations" : [ {
"property" : "https://semantic-web.com/api/property#31489",
"object" : "some object"
} ],
"id" : "some id",
"altLabels" : { },
"broaderConcepts" : [ "https://semantic-web.com/api/broaderConcepts#13717", "https://semantic-web.com/api/broaderConcepts#20842" ],
"customAttributes" : [ {
"property" : "https://semantic-web.com/api/property#13081",
"literal" : {
"language" : "nl",
"label" : "Label 7471"
}
}, {
"property" : "https://semantic-web.com/api/property#28550",
"literal" : {
"language" : "en-us",
"label" : "Label 23725"
}
}, {
"property" : "https://semantic-web.com/api/property#8472",
"literal" : {
"language" : "en-us",
"label" : "Label 18918"
}
} ]
}Phrase extracted from a text that does not match any Concepts
Attribute | Type | Required | Comment |
|---|---|---|---|
| Double | false | Relevance score |
| String | false | The term phrase |
{
"score" : 0.049826837951516545,
"textValue" : "some textValue"
}