== 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
***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)
****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
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.
No address data exists for any versions or examples:
* '''CITY'''
** XML 4.3, 4.4, 4.5
*** ?** APS*** <code>LREP:CTY</code> * '''COUNTRY'''** XML 4.3, 4.4, 4.5*** ?** APS*** <code>LREP:CNT</us-bibliographic-data-grantcode> * '''STATE'''** XML 4.3, 4.4, 4.5*** ?** APS*** <code>LREP:STA</number-of-claimscode> * '''ADDRESS'''** XML 4.3, 4.4, 4.5*** ?** APS*** <code>LREP:STR</code> * '''POSTCODE'''** XML 4.3, 4.4, 4.5*** ?
** APS
*** <code>PATNLREP:WKUZIP</code> ===citations header=== ==Applications==*The only examples in the applications folder were plant type v4.2-v4.4, and utility type v4.0-v4.4. Two files with v1.5 and v1.6 (of unknown type) were ignored.
=== citations (only strings) =Examples ==
=== scirefs (only strings) ===* APS
=== inventors (only strings) ===The first APS entry of <code>E:\McNair\Projects\SimplerPatentData\data\extracts\granted\pftaps19760106_wk01.txt</code> as a GrantedPatent is
<nowiki>strings: {PCT_DOCUMENT_NUMBER=null, PATENT_NUMBER=RE0286710, PATENT_GRANT_DATE=19760106, TITLE=Hydrophone damper assembly, APPLICATION_FILING_DATE=19740826, PRIMARY_EXAMINER_FIRST_NAME=Blix; Trygve M., PATENT_TYPE=2, APPLICATION_NUMBER=500649&, PRIORITY_CLAIMS_DATE=null, PRIORITY_CLAIMS_COUNTRY=null, PRIORITY_CLAIMS_PATENT_NUMBER=null}integers: {NUMBER_OF_CLAIMS= assignments (only 18}extras: {class org.bakerinstitute.mcnair.models.Citation=[], class org.bakerinstitute.mcnair.models.Sciref=[], class org.bakerinstitute.mcnair.models.Inventor=[strings) : {STATE=MI, ORG_NAME=Widenhofer; James W., COUNTRY=null, CITY=Jackson, ADDRESS=null, POSTCODE=null, CITING_PATENT=RE0286710}integers: {}], class org.bakerinstitute.mcnair.models.AssignmentSummary=[strings: {COUNTRY=null, CITING_PATENT=RE0286710, CITY=Jackson, POSTCODE=null, ORG_NAME=Sparton Corporation, STATE=MI}integers: {}], class org.bakerinstitute.mcnair.models.Lawyer=[strings: {FIRST_NAME=null, CITY=null, POSTCODE=null, COUNTRY=null, STATE=null, CITING_PATENT=RE0286710, ORG_NAME=Beaman & Beaman, ADDRESS=null}integers: {}]}</nowiki>