Image

Attributes available to image entities in the Knowledge Graph.

The Image entity type encompasses images found throughout the web and known to the Knowledge Graph.

Note that fields are not guaranteed to exist in every entity record.

For convenience, a complete ontology source in JSON format is also available here.

🙋

New to Diffbot Knowledge Graph? Start here.

Image Fields

Image Field Details

Note that certain longer field examples may be truncated for readability.

anchorUrl

Points to an anchor within a page (like `href="#top"`)

  • Type: String
  • Example:
{
    "anchorUrl": ""
}

breadcrumb

Graphical control element frequently used as a navigational aid; Returns a top-level array of URLs and link text from page breadcrumbs

  • Type: GlobalIndexBreadcrumb
  • Example:
{
    "breadcrumb": [
        {
            "link": "",
            "name": ""
        }
    ]
}

displayHeight

Height of image as presented in the browser (and as sized via browser/CSS, if resized)

  • Type: Integer
  • Example:
{
    "displayHeight": 0
}

displayWidth

Width of image as presented in the browser (and as sized via browser/CSS, if resized)

  • Type: Integer
  • Example:
{
    "displayWidth": 0
}

language

  • Type: String
  • Example:
{
    "language": ""
}

links

  • Type: String
  • Example:
{
    "links": ""
}

naturalHeight

Raw image height, in pixels

  • Type: Integer
  • Example:
{
    "naturalHeight": 1056
}

naturalWidth

Raw image width in pixels

  • Type: Integer
  • Example:
{
    "naturalWidth": 1176
}

tags

Array of tags/entities, generated from analysis of the extracted text and cross-referenced with DBpedia and other data sources. Language-specific tags will be returned if the source text is in English, Chinese, French, German, Spanish or Russian.

  • Type: GlobalIndexTag
  • Example:
{
    "tags": [
        {
            "score": "",
            "sentiment": "",
            "types": "",
            "count": 0,
            "label": "",
            "uri": ""
        }
    ]
}

title

Title of the Image

  • Type: String
  • Example:
{
    "title": "A visualization of the Knowledge Graph"
}

url

URL of the image

  • Type: String
  • Example:
{
    "url": "https://cdn-images-1.medium.com/max/1600/1*sYLBdAl7pP2krTspeWZosA.png"
}

xpath

XPath expression identifying the image node

  • Type: String
  • Example:
{
    "xpath": ""
}