Permalink
Browse files

Added all MOLAS YQL

  • Loading branch information...
1 parent dd61d4a commit 48d81bec847cbdefef525a444fc725d22d40f366 @portableant portableant committed Jun 9, 2010
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false">
+<meta>
+ <author>Daniel Pett</author>
+ <description>Get publications from the Museum of London Archaeology Service archive</description>
+ <documentationURL>http://www.museumoflondon.org.uk/museumoflondon/food/rest.aspx</documentationURL>
+ <sampleQuery description="Search for publication id 62 in xml format">select * from {table} where pid='62' and format='xml';</sampleQuery>
+</meta>
+<bindings>
+ <select itemPath="NewDataSet.Table" produces="XML">
+ <urls>
+ <url>http://www.museumoflondon.org.uk/MuseumofLondon/food/rest.aspx?source=pubs</url>
+ </urls>
+ <inputs>
+ <key id="mode" type="xs:string" paramType="query" required="false" />
+ <key id="date" type="xs:string" paramType="query" required="false" />
+ <key id="key" type="xs:string" paramType="query" required="false" />
+ <key id="period" type="xs:string" paramType="query" required="false" />
+ <key id="region" type="xs:string" paramType="query" required="false" />
+ <key id="avail" type="xs:integer" paramType="query" required="false" />
+ <key id="topic" type="xs:string" paramType="query" required="false" />
+ <key id="series" type="xs:integer" paramType="query" required="false" />
+ <key id="minavail" type="xs:integer" paramType="query" required="false" />
+ <key id="sitecode" type="xs:string" paramType="query" required="false" />
+ <key id="pid" type="xs:integer" paramType="query" required="false" />
+ </inputs>
+ </select>
+</bindings>
+</table>
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false">
+<meta>
+ <author>Daniel Pett</author>
+ <description>Get list of upcoming Museum of London events</description>
+ <documentationURL>http://www.museumoflondon.org.uk/museumoflondon/food/rest.aspx</documentationURL>
+ <sampleQuery description="Search for events between 27/6/2010 and 27/7/2010 and adult audience">select * from {table} where startdate="27/06/2010" and enddate='27/07/2010' and audience='a';</sampleQuery>
+</meta>
+<bindings>
+ <select itemPath="rss.item" produces="XML">
+ <urls>
+ <url>http://www.museumoflondon.org.uk/MuseumofLondon/food/rest.aspx?source=events</url>
+ </urls>
+ <paging model="page">
+ <start id="page" default="1" />
+ <pagesize id="pagesize" max="50" />
+ <total default="15" />
+ </paging>
+ <inputs>
+ <key id="mode" type="xs:string" paramType="query" required="false" />
+ <key id="startdate" type="xs:string" paramType="query" required="false" />
+ <key id="enddate" type="xs:string" paramType="query" required="false" />
+ <key id="audience" type="xs:string" paramType="query" required="false" />
+ <key id="text" type="xs:string" paramType="query" required="false" />
+ </inputs>
+ </select>
+</bindings>
+</table>
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false">
+<meta>
+ <author>Daniel Pett</author>
+ <description>Query Museum of London LAARC for all finds</description>
+ <documentationURL>http://www.museumoflondon.org.uk/laarcWS/v1/doc/methods.aspx</documentationURL>
+ <sampleQuery description="Search by key 377">select * from {table} where search_type='bykey' and terms='377';</sampleQuery>
+ <sampleQuery description="Search for Roman sites">select * from {table} where search_type='bycode' and terms='85BHS90';</sampleQuery>
+</meta>
+<bindings>
+ <select itemPath="Resultset.MoLObject" produces="XML">
+ <urls>
+ <url>http://www.museumoflondon.org.uk/laarcWS/v1/rest?op=GetAllFinds</url>
+ </urls>
+ <paging model="page">
+ <start id="pageno" default="1" />
+ <pagesize id="perpage" max="50" />
+ <total default="15" />
+ </paging>
+ <inputs>
+ <key id="search_type" type="xs:string" paramType="query" required="true" />
+ <key id="terms" type="xs:string" paramType="query" required="false" />
+ </inputs>
+ </select>
+</bindings>
+</table>
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false">
+<meta>
+ <author>Daniel Pett</author>
+ <description>Query Museum of London LAARC for bulk finds</description>
+ <documentationURL>http://www.museumoflondon.org.uk/laarcWS/v1/doc/methods.aspx</documentationURL>
+ <sampleQuery description="Search by key 377">select * from {table} where search_type='bykey' and terms='377';</sampleQuery>
+ <sampleQuery description="Search for Roman sites">select * from {table} where search_type='bycode' and terms='85BHS90';</sampleQuery>
+</meta>
+<bindings>
+ <select itemPath="Resultset.BulkFind" produces="XML">
+ <urls>
+ <url>http://www.museumoflondon.org.uk/laarcWS/v1/rest?op=GetBulkFinds</url>
+ </urls>
+ <paging model="page">
+ <start id="pageno" default="1" />
+ <pagesize id="perpage" max="50" />
+ <total default="15" />
+ </paging>
+ <inputs>
+ <key id="search_type" type="xs:string" paramType="query" required="true" />
+ <key id="terms" type="xs:string" paramType="query" required="false" />
+ </inputs>
+ </select>
+</bindings>
+</table>
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false">
+<meta>
+ <author>Daniel Pett</author>
+ <description>Query Museum of London LAARC archive for regular finds</description>
+ <documentationURL>http://www.museumoflondon.org.uk/laarcWS/v1/doc/methods.aspx</documentationURL>
+ <sampleQuery description="Search for publication by id BIG82">select * from {table} where search_type='bycode' and terms='BIG82';</sampleQuery>
+ <sampleQuery description="Search for publication by key 1716">select * from {table} where search_type='bycode' and terms='1716';</sampleQuery>
+</meta>
+<bindings>
+ <select itemPath="Resultset.Publication" produces="XML">
+ <urls>
+ <url>http://www.museumoflondon.org.uk/laarcWS/v1/rest?op=GetPubs</url>
+ </urls>
+ <paging model="page">
+ <start id="pageno" default="1" />
+ <pagesize id="perpage" max="50" />
+ <total default="15" />
+ </paging>
+ <inputs>
+ <key id="search_type" type="xs:string" paramType="query" required="true" />
+ <key id="terms" type="xs:string" paramType="query" required="false" />
+ </inputs>
+ </select>
+</bindings>
+</table>
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false">
+<meta>
+ <author>Daniel Pett</author>
+ <description>Query Museum of London LAARC archive for sites</description>
+ <documentationURL>http://www.museumoflondon.org.uk/laarcWS/v1/doc/methods.aspx</documentationURL>
+ <sampleQuery description="Search for Roman sites">select * from {table} where terms='85BHS90';</sampleQuery>
+</meta>
+<bindings>
+ <select itemPath="Resultset.RegFind" produces="XML">
+ <urls>
+ <url>http://www.museumoflondon.org.uk/laarcWS/v1/rest?op=GetRegFinds</url>
+ </urls>
+ <paging model="page">
+ <start id="pageno" default="1" />
+ <pagesize id="perpage" max="50" />
+ <total default="15" />
+ </paging>
+ <inputs>
+ <key id="search_type" type="xs:string" paramType="query" const="true" default="bycode" />
+ <key id="terms" type="xs:string" paramType="query" required="false" />
+ </inputs>
+ </select>
+</bindings>
+</table>
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false">
+<meta>
+ <author>Daniel Pett</author>
+ <description>Query Museum of London LAARC archive by site</description>
+ <documentationURL>http://www.museumoflondon.org.uk/laarcWS/v1/doc/methods.aspx</documentationURL>
+ <sampleQuery description="Search for sitecode ABM97">select * from {table} where terms='ABM97';</sampleQuery>
+</meta>
+<bindings>
+ <select itemPath="Resultset.SiteInfo" produces="XML">
+ <urls>
+ <url>http://www.museumoflondon.org.uk/laarcWS/v1/rest?op=GetSite</url>
+ </urls>
+ <paging model="page">
+ <start id="pageno" default="1" />
+ <pagesize id="perpage" max="50" />
+ <total default="15" />
+ </paging>
+ <inputs>
+ <key id="search_type" type="xs:string" paramType="query" const="true" default="bycode"/>
+ <key id="terms" type="xs:string" paramType="query" required="false" />
+ </inputs>
+ </select>
+</bindings>
+</table>
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false">
+<meta>
+ <author>Daniel Pett</author>
+ <description>Query Museum of London LAARC archive for site archive information</description>
+ <documentationURL>http://www.museumoflondon.org.uk/laarcWS/v1/doc/methods.aspx</documentationURL>
+ <sampleQuery description="Search for sitecode ABM97">select * from {table} where terms='ABM97';</sampleQuery>
+</meta>
+<bindings>
+ <select itemPath="Resultset.Archive" produces="XML">
+ <urls>
+ <url>http://www.museumoflondon.org.uk/laarcWS/v1/rest?op=GetSiteArchive</url>
+ </urls>
+ <inputs>
+ <key id="search_type" type="xs:string" paramType="query" const="true" default="bycode" />
+ <key id="terms" type="xs:string" paramType="query" required="false" />
+ </inputs>
+ </select>
+</bindings>
+</table>
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false">
+<meta>
+ <author>Daniel Pett</author>
+ <description>Query Museum of London LAARC archive for publications relating to excavated sites</description>
+ <documentationURL>http://www.museumoflondon.org.uk/laarcWS/v1/doc/methods.aspx</documentationURL>
+ <sampleQuery description="Search for Roman knife in the publications archive">select * from {table} where terms='roman knife';</sampleQuery>
+</meta>
+<bindings>
+ <select itemPath="Resultset.Publication" produces="XML">
+ <urls>
+ <url>http://www.museumoflondon.org.uk/laarcWS/v1/rest?op=SearchPubs</url>
+ </urls>
+ <paging model="page">
+ <start id="pageno" default="1" />
+ <pagesize id="perpage" max="50" />
+ <total default="15" />
+ </paging>
+ <inputs>
+ <key id="search_type" type="xs:string" paramType="query" const="true" default="keywords" />
+ <key id="terms" type="xs:string" paramType="query" required="false" />
+ </inputs>
+ </select>
+</bindings>
+</table>
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false">
+<meta>
+ <author>Daniel Pett</author>
+ <description>Query Museum of London LAARC archive for regular finds</description>
+ <documentationURL>http://www.museumoflondon.org.uk/laarcWS/v1/doc/methods.aspx</documentationURL>
+ <sampleQuery description="Search for Roman knife in the archive">select * from {table} where terms='roman knife';</sampleQuery>
+</meta>
+<bindings>
+ <select itemPath="Resultset.RegFind" produces="XML">
+ <urls>
+ <url>http://www.museumoflondon.org.uk/laarcWS/v1/rest?op=SearchRegFinds</url>
+ </urls>
+ <paging model="page">
+ <start id="pageno" default="1" />
+ <pagesize id="perpage" max="50" />
+ <total default="15" />
+ </paging>
+ <inputs>
+ <key id="search_type" type="xs:string" paramType="query" const="true" default="keywords" />
+ <key id="terms" type="xs:string" paramType="query" required="false" />
+ </inputs>
+ </select>
+</bindings>
+</table>

0 comments on commit 48d81be

Please sign in to comment.