Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/c/o/conceptdb-HEAD/conceptdb/api/handlers.py   conceptdb(Download)
            return rc.FORBIDDEN
 
        mqlquery = MQLQuery.make(query_args, result_args)
 
        assertions_from_freebase = mqlquery.get_results(dataset, user, polarity, context, False)
            return rc.FORBIDDEN
 
        mqlquery = MQLQuery.make(query_args, result_args)
 
        assertions_from_freebase = mqlquery.get_results(dataset, user, polarity, context, True)

src/c/o/conceptdb-HEAD/conceptdb/freebase_datadump.py   conceptdb(Download)
        #else:
        print line.split()[0]
        q = MQLQuery.make({'mid':line.split()[0]},['*'])
        q.get_results('/data/freebase', 'nholm', 1, None, True, 'mid')
        count += 1

src/c/o/conceptdb-HEAD/conceptdb/test/test_freebase3.py   conceptdb(Download)
    result_args = ['*']
 
    q = MQLQuery.make(query_args, result_args)
 
    q.get_results('/data/test')
    result_args = ['*']
 
    q = MQLQuery.make(query_args, result_args)
 
    q.get_results('/data/test')
def test_get_props():
    q = MQLQuery.make({'id':'/en/the_beatles','type':'/music/artist'}, ['*'])
 
    print MQLQuery.view_props(q.query_args)
 
def test_get_entities():
    property = 'type'
 
    q = MQLQuery.make({'id':'/en/the_beatles','type':'/music/artist'}, ['*'])
def test_import_all():
 
    Assertion.drop_collection()
 
    q = MQLQuery.make({'id':'/en/the_beatles'}, ['*'])