Back to Top


Linked Data Support: Entity Extraction

Linked Data Support: Entity Extraction

AlchemyAPI provides comprehensive support for RDF and Linked Data, enabling any content to be brought into the "Semantic Web" world with relative ease.

What is Linked Data?

Linked Data is a method of exposing, sharing, and connecting data on the Web via dereferenceable URIs. Linked Data aims to extend the Web with a data commons by publishing various open datasets as RDF on the Web and by setting RDF links between data items from different data sources. The Linked Data cloud currently consists of over 7.4 billion RDF triples, interlinked by 142+ million RDF links.

AlchemyAPI leverages Linked Data to provide additional information describing named entities detected within a piece of content.

What Linked Data Resources Are Supported?

AlchemyAPI integrates with a variety of resources within the Linked Data cloud, enriching your content. Listed below are the Linked Data resources currently leveraged by AlchemyAPI:

Freebase US Census GeoNames
MusicBrainz CIA Factbook CrunchBase

How Do I Use It?

Linked data output is enabled by default, so you don't have to do anything to use it. If for some reason you desire to disable linked data output, you may utilize the following HTTP parameter with your API calls:


NOTE: Linked data output is currently available for English-language content only. Support for outputting linked data for entities in other languages is currently in development.

What Does AlchemyAPI Linked Data Look Like?

Whenever an entity is successfully disambiguated, Linked Data is included in API responses. This includes "sameAs" RDF links to related objects in the Linked Data cloud. The following is an example RDF-formatted Linked Data response (for the state of "Massachusetts"):

<rdf:Description rdf:ID="dc44264a56a6eb71dce2b3ab22b953cd0095b0e2e-se_2">
    <rdf:type rdf:resource=""/>
        <rdf:Description rdf:about="#dc44264a56a6eb71dce2b3ab22b953cd0095b0e2e-se_2">
            <rdf:type rdf:resource=""/>
            <owl:sameAs rdf:resource=""/>
            <owl:sameAs rdf:resource=""/>
            <owl:sameAs rdf:resource=""/>
            <owl:sameAs rdf:resource=""/>
            <owl:sameAs rdf:resource=""/>

NOTE: Linked Data is supported within all AlchemyAPI response formats, including XML, JSON, and RDF.