Example RPC queries

From SubSurfWiki
Revision as of 14:43, 5 October 2015 by Matt (talk | contribs) (OK for now)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Here are the rocks that I originally started the catalog with:

 DescriptionVpVs
105090Gas sand tight streak3,250 m/s10,662.73 ft/s <br />1,780 m/s5,839.895 ft/s <br />
105091Gas sand, Class III2,540 m/s8,333.334 ft/s <br />1,620 m/s5,314.961 ft/s <br />
105092Gas sand, Class IV1,650 m/s5,413.386 ft/s <br />1,090 m/s3,576.116 ft/s <br />
105093Shale, Class III2,900 m/s9,514.436 ft/s <br />1,330 m/s4,363.517 ft/s <br />
105094Shale, Class IV3,240 m/s10,629.922 ft/s <br />1,620 m/s5,314.961 ft/s <br />
105095Brine sand, Class IV2,590 m/s8,497.376 ft/s <br />1,060 m/s3,477.69 ft/s <br />

This is the query that generated that table:

{{#ask:[[Citation::Castagna and Swan 1997]]|?Description|?Vp|?Vs}}

You can also make a link to a CSV file with this data, just by adding format=csv to the query: CSV

Querying via a form

Go to the semantic search form and type [[lithology::shale]][[vp::>5000]]

Querying via the web API

Make a query via the web API with a rather long URL, e.g.

http://www.subsurfwiki.org/api.php?action=ask&query=[[RPC:%2B]][[lithology::shale]][[Vp::>5000]]|%3FVp|%3FVs|%3FRho&format=jsonfm