Questions tagged [mql]

For questions related to Freebase's Metaweb Query Language. Please use MQL4 and MQL5 for questions related to FOREX MetaTrader Terminal platform MetaQuotes Language.

Disambiguation was needed, as the MQL tag is, unfortunately, used for two different things:

  1. The Metaweb Query Language which is a JSON query-by-example style language used to query Google's Freebase.com

  2. MetaTrader Terminal platform programming language developed at MetaQuotes, Inc., under a code name MQL4 and MQL5 programming language. These compiled, c-like languages are used for complex control of the MetaTrader Terminal software used in Terminal/Server relation for foreign exchange trading, derivatives trading and commodities trading.

Most, but not all, StackOverflow questions relate to the first context of use.

For the sake of the second, rather use MQL4 or MQL5 respectively.

281 questions
0
votes
1 answer

Freebase query with inner joins on the statment

Can I create an inner join on free base that uses another query? I tried to create a join between 2 querys: The first, select all the artist that the genre is the same as nirvana without nirvana: [{ "id": null, "name": null, "name!=":…
royb
  • 693
  • 3
  • 9
  • 20
0
votes
1 answer

add OR operator on mql over freebase

i want to create query that show all the artists that thay are in Reggae and Rock music i try this but it not work.. [{ "id": null, "name": "Rock music", "or:name": "Reggae", "type": "/music/genre", "/music/genre/artists": [] }]
royb
  • 693
  • 3
  • 9
  • 20
0
votes
2 answers

Degrees of separation using Freebase and MQL?

I`ve been examining Freebase and some queries like this: Retrieving/storing All related Actors in Freebase and I`ve come up with an idea of finding out degrees of separation between chosen actors. Is there a way to make MQL find a link (by other…
MartinV
  • 11
0
votes
2 answers

How do I use the influence node on Freebase?

I am looking to search for influential people from Freebase database. I have tried to look at this but I can't get my head around developing the query to get a bug-free result. Here's the link: www.freebase.com/influence/influence_node.
Ali Gajani
  • 14,762
  • 12
  • 59
  • 100
0
votes
1 answer

Controlling output on MQL query -- search by a field, but not output it

I am curious if I can control the results of a query so that it will not display the a particular field in the query. For instance... query: [{ "id": null, "name": null, "type": "/people/person" }] result: { "result": [ { "type":…
user377162
  • 95
  • 1
  • 7
0
votes
1 answer

How to search freebase for given names

Context: I am geek but brand new to the Freebase APIs. I found this page describing Given Name type on Freebase and have tried to query it and am meeting with frustration. I have tried: [{ "domain": "/base/givennames", "given_name":…
Matthew Nichols
  • 4,866
  • 4
  • 41
  • 48
0
votes
1 answer

Decipher JSON response googles topic api

I am using goggle's search api to get topics id which is used to get JSON response from topic api.The returned response looks like this { "id":"/m/01d5g", "property":{ "/amusement_parks/ride_theme/rides":{...}, …
Yogesh
  • 4,546
  • 2
  • 32
  • 41
0
votes
1 answer

freebase fields appear on web, but empty when using API

I am trying to get the notable_for field for this person, which appears on the web site http://www.freebase.com/m/01z7_f but this query returns an empty field [{ "type": "/common/topic", "notable_for": [], "mid": "/m/01z7_f", "name":…
jamborta
  • 5,130
  • 6
  • 35
  • 55
0
votes
1 answer

Freebase combined query empty result set

I am trying to query freebase to get all the award winning movies that a person directed or acted in. If I run this with Steven Spielberg (who has both directed AND acted in award winning movies), it works fine: [{ "/type/object/mid": "/m/06pj8", …
jamborta
  • 5,130
  • 6
  • 35
  • 55
0
votes
1 answer

This MQL query does not return complete results

I have run the following query in the Freebase MQL query editor: [{ "id" : "/en/barack_obama", "/type/reflect/any_master": [{ "link" : null, "name" : null }], "limit": 200 }]​ I believe this should return all the links that originate from…
London guy
  • 27,522
  • 44
  • 121
  • 179
0
votes
1 answer

Is there a web interface to query Freebase RDF data using SPARQL?

I know that Freebase recently uploaded their data in form of a RDF file. Is there any web interface where I can query this RDF data via a SPARQL end point? Also, is there any web portal where I can upload this RDF file and then query it using…
London guy
  • 27,522
  • 44
  • 121
  • 179
0
votes
1 answer

local web application along with freebase App

i was just wondering if it is possible to write queries and do processing on the result (requery and do further process if required) all this as a part of a 'freebase App' on freebase.com. And then create a local Web application on my laptop using…
Robert
  • 79
  • 1
  • 7
0
votes
1 answer

How to fire MQL query on button click

In my application layout, I have a button in left and a panel (div) in right. I want to show the number of topics added by a particular user in the right panel. For this purpose, I have written a MQL query which is working fine. I am just not able…
Saurabh Saxena
  • 3,005
  • 10
  • 31
  • 46
0
votes
1 answer

How to get number of edits made by a user in freebase?

I am trying to get number of topics added, edited and deleted by certain users. I am able to get number of topics using following query: [{ "creator": "/user/getsaurabhsaxena", "name": null, "id": null, "mid": …
Saurabh Saxena
  • 3,005
  • 10
  • 31
  • 46
0
votes
1 answer

Searching for a property in Freebase

What would be the MQL query if I want to search for a property that has a particular string either in its name or the actual link path. For name, I was able to put a ~= matching on the name property, but not in the link path. I tried to use the ~=…
London guy
  • 27,522
  • 44
  • 121
  • 179
1 2 3
18
19