This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -X POST \ | |
| http://gcp.unigraph.rocks/api/query \ | |
| -H 'X-Unigraph-API-Key: DEMO' \ | |
| -d '{ | |
| subjects(property: "label", text: "Deutsche Bahn", lang: "en") { | |
| wikidata_id | |
| eu_transparency_register_id | |
| #Gets the Eurepean Transperancy Registry id of DBahn | |
| label.en | |
| uid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ["2001fb01199bf3","description",{"object":{"text":"international certification body and classification society with main expertise in technical assessment, advisory, and risk management","lang":"en"}},"ec_pic_id",{"object":"916816162"}] | |
| ["2001f9bdf0","description",{"object":{"text":"Dutch multinational, active in the fields of decorative paints, performance coatings and specialty chemicals","lang":"en"}},"ec_pic_id",{"object":"953284185"}] | |
| ["2001fa1cc7ae","description",{"object":{"text":"French multinational aircraft engine, rocket engine, aerospace-component, defense, and security company","lang":"en"}},"ec_pic_id",{"object":"999954668"}] | |
| ["2001fa04b75c","description",{"object":{"text":"French multinational conglomerate which holds interests in the power generation and transport markets","lang":"en"}},"ec_pic_id",{"object":"998805800"}] | |
| ["2001fa0a6b07","description",{"object":{"text":"multinational industrial gases and engineering company founded in Germany in 1879","lang":"en"}},"ec_pic_id",{"object":"99875 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -X POST \ | |
| http://try.unigraph.rocks/api/context/bluemix_augment \ | |
| -H 'X-Unigraph-API-KEY: DEMO' \ | |
| -d '{ "text": "Slovakia is in Europe" }' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -X POST \ | |
| http://try.unigraph.rocks/api/query \ | |
| -H 'X-Unigraph-API-Key: DEMO' \ | |
| -d 'query Tangibles @stream { subjects(property: "instance_of" uid: "12f98040") {label.en } }' | |
| curl -X POST \ | |
| http://try.unigraph.rocks/api/query \ | |
| -H 'X-Unigraph-API-Key: DEMO' \ | |
| -d 'query Tangibles @stream (seek: "Kf+BAwEBBmN1cnNvcgH/ggABAgEDVFNQAf+EAAEGQnJhbmNoAf+EAAAAHv+DAgEBEFtdcXVhZHN0b3JlLlRlcm0B/4QAAQwAAEL/ggEBFBL5hBggBCcBAEmfQEvV8Ql+k6/hAQElM/85VV+6ls51wfTiuADw29o2ZW4AMwVOqn1V2FELwbAj+PlAzQA=") { subjects(property: "instance_of" uid: "12f98040") {label.en } }' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { subjects(property: "us_sec_cik_id", identifier: "0000789019") { | |
| label.en | |
| industry { | |
| us_sic_code_id | |
| } | |
| cash_and_equivalents_period_change { | |
| .determination_method | |
| .reference_url | |
| .reported_quarters | |
| .point_in_time}}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| query HP { | |
| # start from id with from the EU TR | |
| subjects(property: "eu_transparency_register_id", identifier: "99346002337-55") { | |
| # get the Organization's name(s) | |
| label.en | |
| # lear more about the Organization: is it a non-profit, for profit, etc. | |
| instance_of { label.en } | |
| #See the key people |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { subjects(property: "alberta_drugbank_id", identifier: "00316") { | |
| label.en | |
| alias.en } } | |
| Run it: | |
| http://try.unigraph.rocks/?q=%7B%0A++subjects(property%3A+%22alberta_drugbank_id%22%2C+identifier%3A+%2200316%22)+%7B%0A++++label.en%0A++++alias.en%0A++%7D%0A%7D%0A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| subjects(property: "spaziodati_id", identifier: "750a46318fc2") { | |
| dissolved_or_abolished | |
| official_website}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1) How many movies has Michael Bay directed? | |
| query one { | |
| subjects(property: "label", text: "Michael Bay", lang: "en") { | |
| uid | |
| instance_of(filter: "$0 == `12fa34bb3b`") @propagate}} | |
| query two { | |
| node(uid: "2001f9de8b") { | |
| director @reverse { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Identify and surface related entities given an external identifier | |
| curl -X POST \ | |
| http://try.unigraph.rocks/api/context/entities \ | |
| -H 'max: 50' \ | |
| -H 'x-unigraph-api-full: true' \ | |
| -H 'x-unigraph-api-key: KEY' \ | |
| -d '{"entities":[{"identifier": {"property": "crunchbase_person_id", "value": "cirrus-shakeri"}, "tag": "Cirrus"}, | |
| {"identifier": {"property": "crunchbase_organization_id", "value": "aibrain"}, "tag": "Ai"}]}' | |
NewerOlder