== TODO Query Equivalences ==Note: xpaths are for all design types (utility, reissue, plant, design) unless otherwise noted. Only granted patents have been checked so far. Notes to remember: All the text under each text file in E:\McNair\Projects\SimplerPatentData\data\examples\granted appears under the following lines of text, indicating that every XML should perhaps include these headers (the headers aren't closed anywhere in the text files in E:\McNair\Projects\SimplerPatentData\data\examples\granted; for example, there's no </us-patent-grant> towards the end of the text file. <nowiki><?xml version="1.0" encoding="UTF-8"?><!DOCTYPE us-patent-grant SYSTEM "us-patent-grant-v45-2014-04-03.dtd" [ ]><us-patent-grant</nowiki> Ignoring the above three lines for every text file (changes to XMLs can be made later with RegEx), the XMLs for ''sequence'', and ''last-name'', respectively, from the lines of code below it are: <nowiki>//us-bibliographic-data-grant/inventors/inventor/@sequence</nowiki> <nowiki>//us-bibliographic-data-grant/inventors/inventor/addressbook/last-name</nowiki> <nowiki><inventors><inventor sequence="001" designation="us-only"><addressbook><last-name>Kobelt</last-name><first-name>Markus</first-name><address><city>Buchs</city><country>CH</country></address></addressbook></inventor></nowiki> Also note: the lack of a certain entry for a certain version and type simply means that it was missing from the single example located in the E:\McNair\Projects\SimplerPatentData\data\examples\Patent Schema Reconciliation\granted file. The presence or lack of a certain entry could mean either that it is missing systematically (and would presumably be missing for all other examples of that version and type), or simply that that single example, in contrast to other examples for that version and type, lacked an entry. ==Granted==
** XML 4.1, 4.2, 4.3, 4.4, and 4.5, only for plant, reissue, and utility types*** <code>//us-bibliographic-data-grant/classifications-ipcr/classification-ipcr/section</code> + <code>//us-bibliographic-data-grant/classifications-ipcr/classification-ipcr/class</code> + <code>//us-bibliographic-data-grant/classifications-ipcr/classification-ipcr/subclass</code>***example: C** APS*** ?
* '''IPCR_MAIN_GROUP'''
** XML 4.1, 4.2, 4.3, 4.4, and 4.5, only for plant, reissue, and utility types
=== citations applicants === * '''SEQUENCE'''** XML 4.3, 4.4, 4.5 *** <code>//us-bibliographic-data-grant/us-parties/us-applicants/us-applicant/sequence</code>***example: "001"** XML 4.0, 4.1, 4.2*** <code>//us-bibliographic-data-grant/parties/applicants/applicant/sequence</code>***example: "001"** APS*** ? * '''LAST_NAME'''** XML 4.3, 4.4, 4.5*** <code>//us-bibliographic-data-grant/us-parties/us-applicants/us-applicant/addressbook/last-name</code>***example: Maas** XML 4.0, 4.1, 4.2*** <code>//us-bibliographic-data-grant/parties/applicants/applicant/addressbook/last-name</code>***example: Ryder** APS*** N/A (only see '''ORG_NAME''') * '''FIRST_NAME'''** XML 4.3, 4.4, 4.5*** <code>//us-bibliographic-data-grant/us-parties/us-applicants/us-applicant/addressbook/first-name</code>***example: Nicholas George Alfred, Kevin** XML 4.0, 4.1, 4.2*** <code>//us-bibliographic-data-grant/parties/applicants/applicant/addressbook/first-name</code>***example: Gerhard** APS*** N/A (see '''ORG_NAME''') * '''ORG_NAME'''** XML v4.5 utility, reissue, plant*** <code>//us-bibliographic-data-grant/us-parties/us-applicants/us-applicant/addressbook/orgname</code>***examples: W. Kordes' Söhne Rosenschulen GmbH & Co KG [this is one example, included to show the variety of characters/symbols included in orgnames]*** <code>INVT:NAM</code> (whole name, might be of an individual) * '''CITY'''** XML v4.3-v4.5, all types*** <code>//us-bibliographic-data-grant/us-parties/us-applicants/us-applicant/addressbook/address/city</code>*** example:New York; México D. F.**XML v4.0-v4.2***<code>//us-bibliographic-data-grant/parties/applicants/applicant/addressbook/address/city</code>** APS*** <code>INVT:CTY</code> * '''COUNTRY'''** XML v4.3-v4.5, all types*** <code>//us-bibliographic-data-grant/us-parties/us-applicants/us-applicant/addressbook/address/country</code>*** example:New York; México D. F.**XML v4.0-v4.2, all types***<code>//us-bibliographic-data-grant/parties/applicants/applicant/addressbook/address/country</code>** APS*** <code>INVT:CNT</code> * '''STATE'''** XML v4.3-v4.5, all types*** <code>//us-bibliographic-data-grant/us-parties/us-applicants/us-applicant/addressbook/address/state</code>*** example:New York; México D. F.**XML v4.0-v4.2, all types***<code>//us-bibliographic-data-grant/parties/applicants/applicant/addressbook/address/state</code>** APS*** <code>INVT:STA</code> * '''ADDRESS'''** XML v4.3-v4.5, all types*** <code>//us-bibliographic-data-grant/us-parties/us-applicants/us-applicant/addressbook/address</code>*** example:New York; México D. F.** XML v4.0-v4.2, all types***<code>//us-bibliographic-data-grant/parties/applicants/applicant/addressbook/address</code>*** Examples: <nowiki><city>London</city><country>GB</country></nowiki> <nowiki><city>Coraopolis</city><state>PA</state><country>US</country></nowiki> * '''POSTCODE'''** XML v4.2 design*** Example: <code>//us-bibliographic-data-grant/parties/applicants/applicant/addressbook/address/postcode</code>** APS*** <code>INVT:ZIP</code> === scirefs (all are strings-unsure??) === ===Citations=== * '''CITATION_DESCRIPTION'''** XML 4.3 design type, 4.4 reissue type, 4.5 all types*** <code>//us-bibliographic-data-grant/us-references-cited/us-citation/nplcit/othercit</code>***examples: ****www.bikesomewhere.com/bikesomewhere.cfm/product/7/4138/15270****Photograph that is representative of an angle-cut tip for a continuous geared hinge that was publicly used or on sale more than one (1) year prior to the filing date of U.S. Appl. No. 61/231,249, filed Aug. 4, 2009.** XML 4.0 reissue type, 4.1 plant type, 4.2 all types*** <code>//us-bibliographic-data-grant/references-cited/citation/nplcit/othercit</code>***example: http://www.cpvo.eu.int/module_tech/rights_granted.php?SPECIED=FIT02.** APS*** ? * '''CITATION NUMBER'''** XML v4.3-v4.5, design, reissue and utility types *** <code>//us-bibliographic-data-grant/us-references-cited/us-citation/patcit/num</code>***example: "00001"**XML v4.0-v4.2, design, reissue and utility types***example: "00001"*** <code>//us-bibliographic-data-grant/references-cited/citation/patcit/num</code> *'''NPL CITATION NUMBER'''**XML v4.5, v4.4 reissue, v4.3 design*** <code>//us-bibliographic-data-grant/us-references-cited/us-citation/nplcit/num</code>*** example:"00017"**XML v4.2 utility, reissue, design types, 4.1 plant type, v4.0 reissue type*** <code>//us-bibliographic-data-grant/references-cited/citation/nplcit/num</code>***example: "00007" *'''COUNTRY'''** XML v4.3-v4,5 design, reissue, utility types*** <code>//us-bibliographic-data-grant/us-references-cited/us-citation/patcit/document-id/country>***example: US** XML v4.0-v4.2 design, reissue, utility types*** <code>//us-bibliographic-data-grant/references-cited/citation/patcit/document-id/country></code>***example: US *'''CITATIONS DOC NUMBER'''** XML v4.3-v4.5 design, reissue, utility types*** <code>//us-bibliographic-data-grant/us-references-cited/us-citation/patcit/document-id/doc-number>***example: 19830700** XML v4.0-v4.2 design, reissue, utility types*** <code>//us-bibliographic-data-grant/references-cited/citation/patcit/document-id/doc-number></code>***example: 4393877 *'''CITATIONS KIND'''** XML v4.3-v4.5 design, reissue, utility types*** <code>//us-bibliographic-data-grant/us-references-cited/us-citation/patcit/document-id/kind>***example: B1** XML v4.0-v4.2 design, reissue, utility types*** <code>//us-bibliographic-data-grant/references-cited/citation/patcit/document-id/kind></code>***example: A *'''CITATIONS NAME'''** XML v4.3-v4.5 design, reissue, utility types*** <code>//us-bibliographic-data-grant/us-references-cited/us-citation/patcit/document-id/name>***example: Prairie et al.** XML v4.0-v4.2 design, reissue, utility types*** <code>//us-bibliographic-data-grant/references-cited/citation/patcit/document-id/name>***example: Imran et al. *'''CITATIONS DATE'''** XML v4.3-v4.5 design, reissue, utility types*** <code>//us-bibliographic-data-grant/us-references-cited/us-citation/patcit/document-id/date>***example: 20020500** XML v4.0-v4.2 design, reissue, utility types*** <code>//us-bibliographic-data-grant/references-cited/citation/patcit/document-id/date>***example: 19830700 === inventors (all are strings) === * '''SEQUENCE'''** XML 4.3, 4.4, 4.5, all types*** <code>//us-bibliographic-data-grant/us-parties/inventors/inventor/sequence</code>***examples: "001"; "002"** APS*** ? * '''LAST_NAME'''** XML 4.3, 4.4, 4.5, all types*** <code>//us-bibliographic-data-grant/us-parties/inventors/inventor/addressbook/last-name</code>***example: Maas** APS*** N/A (see '''ORG_NAME''') * '''FIRST_NAME'''** XML 4.3, 4.4, 4.5, all types*** <code>//us-bibliographic-data-grant/us-parties/inventors/inventor/addressbook/first-name</code>***example: Nicholas George Alfred, Kevin** APS*** N/A (see '''ORG_NAME''') * '''CITY'''** XML v4.3-v4.5, all types*** <code>//us-bibliographic-data-grant/us-parties/inventors/inventor/addressbook/address/city</code>*** example: Beaverton** APS*** <code>INVT:CTY</code> * '''COUNTRY'''** XML v4.3-v4.5, all types*** <code>//us-bibliographic-data-grant/us-parties/inventors/inventor/addressbook/address/country</code>*** example: US** APS*** <code>INVT:CNT</code> * '''STATE'''** XML v4.3-v4.5, all types*** <code>//us-bibliographic-data-grant/us-parties/inventors/inventor/addressbook/address/state</code>*** example: OR** APS*** <code>INVT:STA</code> * '''ADDRESS'''** XML v4.3-v4.5, all types*** <code>//us-bibliographic-data-grant/us-parties/inventors/inventor/addressbook/address</code>*** example:New York; México D. F.*** Example: <nowiki><city>Beaverton</city><state>OR</state><country>US</country></nowiki> === assignments (all are strings) === * '''LAST_NAME'''***No entry under ''assignee''** APS*** N/A (see '''ORG_NAME''') * '''FIRST_NAME'''***No entry under ''assignee''** APS*** N/A (see '''ORG_NAME''') * '''ORG_NAME'''** XML v4.5 types utility, plant, reissue; v4.4 plant, reissue, design types; v4.3 all types; v4.2 reissue, plant types; v4.1 all types; v4.0 utility and reissue types.(first listed is highest preference)*** <code>//us-bibliographic-data-grant/assignees/assignee/addressbook/orgname</code>***example: STMicroelectronics S.r.l.; Kellogg Company; Nike, Inc.** APS*** <code>ASSG:NAM</code> * '''CITY'''** XML v4.5 types utility, plant, reissue; v4.4 plant, reissue, design types; v4.3 all types; v4.2 reissue, plant types; v4.1 all types; v4.0 reissue type.*** <code>//us-bibliographic-data-grant/assignees/assignee/addressbook/address/city</code>*** examples: ****Portage****Saskatoon, Saskatchewan** APS*** <code>ASSG:CTY</code> * '''COUNTRY'''** XML v4.5 types utility, plant, reissue; v4.4 plant, reissue, design types; v4.3 all types; v4.2 reissue, plant types; v4.1 all types; v4.0 utility and reissue types.*** <code>//us-bibliographic-data-grant/assignees/assignee/addressbook/address/country</code>*** example: US** APS*** <code>ASSG:CNT</code> * '''STATE'''Note: foreign countries had no listed state; territories or states were included in the city listing. For the sake of time these haven't been checked for being domestic; presumably some of these versions lack ''state'' entries.** XML v4.5 types utility, plant, reissue; v4.4 plant, reissue, design types; v4.3 all types; v4.2 reissue, plant types; v4.1 all types; v4.0 utility and reissue types.*** <code>//us-bibliographic-data-grant/assignees/assignee/addressbook/address/state</code>*** example: MD** APS*** <code>ASSG:STA</code> * '''ADDRESS'''** XML v4.5 types utility, plant, reissue; v4.4 plant, reissue, design types; v4.3 all types; v4.2 reissue, plant types; v4.1 all types; v4.0 utility and reissue types.***<code>//us-bibliographic-data-grant/assignees/assignee/addressbook/address***examples: <nowiki><city>Saskatoon, Saskatchewan</city><country>CA</country></nowiki> <nowiki><city>Portage</city><state>MI</state><country>US</country></nowiki>
=== assignments (''Note in the below queries, for XML results only strings) ==those XML agent nodes with <code>rep-type="attorney"</code> are looked at.''