mql - Querying freebase for Entity and Predicte -
i trying utilize freebase project. have been successful in getting required info using mql queries. next step in project want query freebase subject predicate object
triples. example, want know whether info person x lives in city y
nowadays in freebase. in knowledge bases nell possible predicate , object connected given subject stored in graph structure.
another question that, given triple subject predicate object
whether possible type of entities acting subject
, object
if understand question correctly, need this:
[{ "type": "/type/link", "source": { "id": "/m/035qy", "type": [] }, "master_property": "/location/location/contains", "target": { "id": "/m/08v97b", "type": [] }, "target_value": null }]
this homecoming types of subject (source) predicate /location/location/contains
, types of object (target).
freebase mql
No comments:
Post a Comment