I hereby claim:
- I am brett--anderson on github.
- I am brettanderson (https://keybase.io/brettanderson) on keybase.
- I have a public key ASAhJ6iyLyv-dQzyqxhzUUDfzIgjh04_tmIarXTGdF7DyQo
To claim this, I am signing this object:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX p: <http://www.wikidata.org/prop/> | |
PREFIX wde: <http://www.wikidata.org/entity/> | |
PREFIX : <http://example.org/> | |
start = @<Cities> | |
<Cities> { | |
p:P279 . +; |
[ | |
{"type":"item","aliases":{},"labels":{},"descriptions":{},"sitelinks":{},"id":"Q1","claims":{"P31":[{"rank":"normal","mainsnak":{"snaktype":"value","property":"P31","datavalue":{"type":"wikibase-entityid","value":{"entity-type":"item","numeric-id":1454986}},"datatype":"wikibase-item"},"id":"q1$0479EB23-FC5B-4EEC-9529-CEE21D6C6FA9","type":"statement"}]}}, | |
{"type":"item","aliases":{},"labels":{},"descriptions":{},"sitelinks":{},"id":"Q8","claims":{"P31":[{"rank":"normal","mainsnak":{"snaktype":"value","property":"P31","datavalue":{"type":"wikibase-entityid","value":{"entity-type":"item","numeric-id":331769}},"datatype":"wikibase-item"},"id":"q8$E2EFA381-BA5D-4F52-AF74-660B9A044C1E","type":"statement"},{"rank":"normal","mainsnak":{"snaktype":"value","property":"P31","datavalue":{"type":"wikibase-entityid","value":{"entity-type":"item","numeric-id":9415}},"datatype":"wikibase-item"},"id":"q8$5DB9C22E-4D86-4FB1-AC36-5C75CC806D6A","type":"statement"}]}}, | |
{"type":"property","aliases":{},"labels":{},"descriptions": |
I hereby claim:
To claim this, I am signing this object:
curl -XPUT http://localhost:9200/test/ | |
curl -XPUT http://localhost:9200/_percolator/test/perc_1 -d '{ "query" : { "query_string" : { "query" : "\"fire ready\"" } } }' | |
curl -XGET http://localhost:9200/test/type1/_percolate -d '{ "doc" : { "title" : "ready for this bon fire.", "text" : "ready for this bon fire." }}' | |
curl -XDELETE http://localhost:9200/test/ |
curl -XPUT http://localhost:9200/test/ -d '{ "index" : { "analysis" : { "analyzer" : { "default" : { "tokenizer": "standard", "filter" : ["standard", "my_snow"] }}, "filter" : {"my_snow" : { "type" : "snowball", "language" : "English" }}}}}' | |
curl -XPUT http://localhost:9200/_percolator/test/perc_1 -d '{ "query" : { "query_string" : { "query" : "\"empire\"" } } }' | |
curl -XGET http://localhost:9200/test/type1/_percolate -d '{ "doc" : { "field1" : "empire" }}' | |
curl -XGET http://localhost:9200/test/type1/_percolate -d '{ "doc" : { "field1" : "empires" }}' | |
curl -XDELETE http://localhost:9200/test/ |
curl -XPUT http://localhost:9200/test/ | |
curl -XPUT localhost:9200/_percolator/test/perc_1 -d "{ \"color\" : \"blue\", \"query\" : { \"term\" : { \"sport\" : \"tennis\" } } }" | |
curl -XPUT localhost:9200/_percolator/test/perc_2 -d "{ \"color\" : \"blue\", \"query\" : { \"term\" : { \"sport\" : \"sailing\" } } }" | |
curl -XGET localhost:9200/test/type1/_percolate -d "{ \"doc\" : { \"sport\" : \"tennis\" }}" | |
curl -XGET localhost:9200/test/type1/_percolate -d "{ \"doc\" : { \"sport\" : \"tennis\" }, \"query\" : { \"term\" : { \"color\" : \"blue\" } }}" | |
curl -XDELETE http://localhost:9200/test/ |