Did I find the right examples for you? yes no

All Samples(14)  |  Call(0)  |  Derive(0)  |  Import(14)

src/t/a/tagfs-HEAD/src/modules/tagfs/freebase_support.py   tagfs(Download)
def createFreebaseAdapter():
    # freebase is an optional dependency. tagfs should execute even if it's not
    # available.
    try:
        import freebase
    def execute(self, query):
        import freebase
 
        fbResult = freebase.mqlread(query.freebaseQuery)
 

src/o/p/openparliament-HEAD/parliament/core/datautil.py   openparliament(Download)
def wikipedia_from_freebase():
    import freebase
    for info in PoliticianInfo.sr_objects.filter(schema='freebase_id'):
        query = {
            'id': info.value,
def freebase_id_from_parl_id():
    import freebase
    import time
    for info in PoliticianInfo.sr_objects.filter(schema='parl_id').order_by('value'):
        if PoliticianInfo.objects.filter(politician=info.politician, schema='freebase_id').exists():

src/d/a/dataiap-HEAD/datasets/rappers/vis.py   dataiap(Download)
import freebase, json, sys, csv
sys.path.append('../../resources/util')
sys.path.append('../../day3/')
from map_util import *
from collections import Counter

src/c/u/cubicweb-book-0.7.0/migration/import_freebase.py   cubicweb-book(Download)
"""
 
import freebase
 
from cubicweb.dataimport import CWImportController, RQLObjectStore

src/s/u/supertagging-0.5.4/supertagging/utils.py   supertagging(Download)
 
try:
    import freebase
except ImportError:
    freebase = None

src/c/o/conceptdb-HEAD/conceptdb/freebase_imports.py   conceptdb(Download)
from mongoengine.queryset import DoesNotExist
from freebase.api.session import MetawebError, HTTPMetawebSession
import freebase
import conceptdb
 

src/i/n/indextank-service-HEAD/demo_index/freebase_dataset_generator.py   indextank-service(Download)
#!/usr/bin/python
import freebase
import pickle
 
query = [{ "/music/instrument/family": [{"name": None}], "id": None, "name": None,  "a:type": "/music/instrument",  "b:type": "/common/topic",  "/common/topic/article": {"id": None},  "/common/topic/image": [{"id": None}], "/music/instrument/instrumentalists": {"return": "count", "optional": True}}]

src/d/j/django-supertagging-HEAD/supertagging/utils.py   django-supertagging(Download)
 
try:
    import freebase
except ImportError:
    freebase = None

src/g/i/gilded-age-HEAD/linker/freebaselinker.py   gilded-age(Download)
from baselinker import BaseLinker
import freebase
import operator
 
# Freebase relevance threshold to consider an entity for inclusion  in a

src/j/g/jgd-HEAD/jgd2.py   jgd(Download)
import json
try:
    import freebase
except ImportError:
    pass

  1 | 2  Next