https://github.com/r0man/freebase-clj
Clojure Library for Freebase.
https://github.com/r0man/freebase-clj
Last synced: 6 months ago
JSON representation
Clojure Library for Freebase.
- Host: GitHub
- URL: https://github.com/r0man/freebase-clj
- Owner: r0man
- License: epl-1.0
- Created: 2013-08-31T09:57:02.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-31T10:35:39.000Z (over 12 years ago)
- Last Synced: 2025-06-29T02:50:42.082Z (7 months ago)
- Language: Clojure
- Size: 145 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# freebase-clj [](https://travis-ci.org/r0man/freebase-clj)
Clojure Library for Freebase.
## Installation
Via Clojars: http://clojars.org/freebase-clj
## Usage
Find an object in the database whose type is "/music/artist" and whose name is "The Police". Then return its set of albums.
(require 'freebase.core)
(query {:type :/music/artist :name "The Police" :album []})
;=> {:album
;=> ["Outlandos d'Amour"
;=> "Reggatta de Blanc"
;=> "Zenyattà Mondatta"
;=> ...
;=> "Can't Stand Losing You"],
;=> :name "The Police",
;=> :type "/music/artist"}
## License
Copyright (C) 2013 Roman Scherer
Distributed under the Eclipse Public License, the same as Clojure.