The Complete Metaweb Application Development Reference Guide (API and MQL)
- 1. Introduction
- 2. Metaweb Architecture
- 3. The Metaweb Query Language
-
- 3.1. JavaScript Object Notation
- 3.2. MQL Tutorial
-
- 3.2.1. Our First Query
- 3.2.2. Query/Response Symmetry
- 3.2.3. Metaweb Object IDs
- 3.2.4. Multiple Results and Uniqueness Errors
- 3.2.5. Nested Queries
- 3.2.6. Asking Metaweb For Objects
- 3.2.7. Expanded Values and Default Properties
- 3.2.8. Review: Asking for Values
- 3.2.9. Too Much Information
- 3.2.10. The id and name Properties
- 3.2.11. Numeric Constraints
- 3.2.12. Textual Constraints: Pattern Matching in Queries
- 3.2.13. Limiting Queries
- 3.2.14. The Sort Directive
- 3.2.15. Ordered Collections
- 3.2.16. Optional Queries
- 3.2.17. Using Fully-Qualified Property Names
- 3.2.18. Wildcards
- 3.2.19. Expressing AND in Queries
- 3.2.20. Expressing OR in Queries
- 3.2.21. Expressing NOT in Queries
- 3.2.22. Reflective Queries
- 3.3. The MQL Grammar
- 4. Metaweb Read Services
- 5. The MQL Write Grammar
-
- 5.1. MQL Write Tutorial
-
- 5.1.1. Creating a Type to Work With
- 5.1.2. Creating Objects
- 5.1.3. Connecting Objects
- 5.1.4. Disconnecting Objects
- 5.1.5. Writes and Default Properties
- 5.1.6. Creating and Connecting More Objects
- 5.1.7. Review: Write Directives
- 5.1.8. Working with Sets
- 5.1.9. Bidirectional Links and Reciprocal Properties
- 5.1.10. Writes and Ordered Collections
- 5.1.11. Namespaces
- 5.1.12. Properties, Types, and Domains
- 5.2. MQL Write Grammar
- 6. Metaweb Write Services
- A. Additional Code
-
- A.1. json.js
- A.2. Client-side MQL Queries through a Proxy
- A.3. Example: Auto-completion with mqlread
List of Examples
- 3.1. qedit.html: Code for a Metaweb query editor
- 4.1. albumlist.pl: submitting MQL queries in Perl
- 4.2. albumlist2.pl: a better Perl album lister
- 4.3. metaweb.py: using mqlread with Python
- 4.4. albumlist.py: listing albums in Python
- 4.5. metaweb.php: using mqlread with PHP
- 4.6. albumlist.php: A Metaweb-enabled web application in PHP
- 4.7. albumlist.html: a JavaScript album and track lister
- 4.8. metaweb.js: Metaweb queries with script tags
- 4.9. metaweb.py: querying Metaweb with a cursor, in Python
- 4.10. WhatsNew.html: fetching new images and documents from freebase.com
- 4.11. TypeBrowser.html: a Metaweb type browser
- 6.1. metaweb.py: logging in to Metaweb with Python
- 6.2. metaweb.py: sending a query to mqlwrite
- 6.3. quarters.py: writing a data set to Metaweb
- 6.4. metaweb.py: uploading content to Metaweb
- 6.5. quarterpix.py: uploading images to Metaweb
- 6.6. uploaddoc.py: uploading HTML documents to Metaweb
- 6.7. unlink.py: unlinking Metaweb objects
- A.1. json.js: JSON parsing and serialization in JavaScript
- A.2. metaweb_proxy.js: Metaweb queries through a proxy
- A.3. mqlread.php: a trivial mqlread proxy in PHP
- A.4. completiontest.html: using Metaweb.addValidationAndCompletion()
- A.5. validateAndComplete.js: form validation and completion with mqlread
Recent Discussions about The Complete Metaweb Application Development Reference Guide (API and MQL)
Retrieivng data for multiple guid's with a single equery
"I need to obtain data across multiple guid's within a single query. E.g. this simple query..."
Jun 10, 2008
"Your excellent question here (and also on the Query Builder page) might already be answered in the..."
Jun 10, 2008
"Thanks for the pointer gmackenz. I was searching for the wrong terms and getting zero results..."
Jun 11, 2008
Finding user defined types
"Helo all, I am trying to analyze user define types in freebase - types defined the users in..."
May 28, 2008
Making a category list
"Sports is a "domain category", which has a list of domains (via a property). Sports..."
Apr 16, 2008

