In [3]:
from alchemyapi import AlchemyAPI
alchemyapi = AlchemyAPI()

In [4]:
myText = "https://sites.google.com/site/vianamp/"
response = alchemyapi.entities("url", myText)

In [5]:
response['entities']


Out[5]:
[{'count': '1',
  'disambiguated': {'dbpedia': 'http://dbpedia.org/resource/University_of_São_Paulo',
   'freebase': 'http://rdf.freebase.com/ns/m.02q5jc',
   'name': 'University of São Paulo',
   'subType': ['Location',
    'AcademicInstitution',
    'CollegeUniversity',
    'University'],
   'website': 'http://www.usp.br/',
   'yago': 'http://yago-knowledge.org/resource/University_of_S%C3%A3o_Paulo'},
  'relevance': '0.882143',
  'text': 'University of São Paulo',
  'type': 'Organization'},
 {'count': '1',
  'relevance': '0.793624',
  'text': 'Federal University of São',
  'type': 'Organization'},
 {'count': '1',
  'relevance': '0.719367',
  'text': 'Modelling\xa0Geographical Biological Networks',
  'type': 'PrintMedia'},
 {'count': '2',
  'disambiguated': {'ciaFactbook': 'http://www4.wiwiss.fu-berlin.de/factbook/resource/Brazil',
   'dbpedia': 'http://dbpedia.org/resource/Brazil',
   'freebase': 'http://rdf.freebase.com/ns/m.015fr',
   'geo': '-15.75 -47.95',
   'name': 'Brazil',
   'opencyc': 'http://sw.opencyc.org/concept/Mx4rvViPAZwpEbGdrcN5Y29ycA',
   'subType': ['Location', 'GovernmentalJurisdiction', 'CompanyShareholder'],
   'yago': 'http://yago-knowledge.org/resource/Brazil'},
  'relevance': '0.649057',
  'text': 'Brazil',
  'type': 'Country'},
 {'count': '2',
  'relevance': '0.646618',
  'text': 'Image processing',
  'type': 'FieldTerminology'},
 {'count': '1',
  'relevance': '0.628338',
  'text': 'Spatial Networks',
  'type': 'Company'},
 {'count': '1',
  'relevance': '0.602978',
  'text': 'Developmental and Cell Biology Department',
  'type': 'JobTitle'},
 {'count': '1',
  'relevance': '0.588071',
  'text': 'Dr.\xa0 Susanne Rafelski',
  'type': 'Person'},
 {'count': '1',
  'disambiguated': {'dbpedia': 'http://dbpedia.org/resource/University_of_California,_Irvine',
   'freebase': 'http://rdf.freebase.com/ns/m.0c5x_',
   'geo': '33.64535 -117.84264166666667',
   'name': 'University of California, Irvine',
   'subType': ['CollegeUniversity', 'University'],
   'website': 'http://www.uci.edu',
   'yago': 'http://yago-knowledge.org/resource/University_of_California,_Irvine'},
  'relevance': '0.585727',
  'text': 'University of California Irvine',
  'type': 'Organization'},
 {'count': '1',
  'relevance': '0.538118',
  'text': 'Computational Physics',
  'type': 'Degree'},
 {'count': '1',
  'relevance': '0.523716',
  'text': 'Dr.\xa0 Luciano',
  'type': 'Person'},
 {'count': '1',
  'relevance': '0.470306',
  'text': 'Fontoura Costa',
  'type': 'GeographicFeature'}]

In [ ]: