Equivalent XPath and APS Queries
Current Status for Granted Patents
Equivalent XPath and APS Queries | |
---|---|
Project Information | |
Project Title | Equivalent XPath and APS Queries |
Owner | Oliver Chang, Ed Egan |
Start Date | June 2017 |
Deadline | June 2017 |
Primary Billing | |
Notes | |
Has project status | Active |
Copyright © 2016 edegan.com. All Rights Reserved. |
How it works currently
Only has the intelligence from E:\McNair\PatentData\Processed\xmlparser_4.5_4.4_4.3.pl
.
That is to say, it only explicitly covers versions 4.3, 4.4, and 4.5 utility patents.
Plant, reissue, and design patents contain a nonempty intersection with these attributes but have their own quirks.
The actual code to do this XML parsing is at E:\McNair\Projects\SimplerPatentData\src\main\java\org\bakerinstitute\mcnair\uspto_granted\XmlParser.java
with the end goal to create an in-memory representation of a granted patent as a E:\McNair\Projects\SimplerPatentData\src\main\java\org\bakerinstitute\mcnair\models\GrantedPatent.java
data structure.
To learn about the fields that a model contains, look at the class Model.Metadata which should implement interface TableMetadata
. In particular, this bunch of constant data describes the mapping of enum fields to table column names as well as the types of columns.
For an example, we can tell that GrantedPatent
is a struct that contains the following data:
private final Map<GrantedPatent.Fields, String> strings; private final Map<GrantedPatent.Fields, Double> numbers; private final List<Citation> citations; private final List<Sciref> scirefs; private final List<Inventor> inventors; private final List<AssignmentSummary> assignments; private final List<Lawyer> lawyers;
Query Equivalences
strings
- PATENT_TYPE
- XML 4.3, 4.4, 4.5
//us-bibliographic-data-grant/application-reference/@appl-type
- XML 4.3, 4.4, 4.5
- TITLE
- XML 4.3, 4.4, 4.5
//invention-title
- XML 4.3, 4.4, 4.5
- PCT_DOCUMENT_NUMBER
- XML 4.3, 4.4, 4.5
//us-bibliographic-data-grant/pct-or-regional-filing-data/document-id/doc-number
- XML 4.3, 4.4, 4.5
- PATENT_COUNTRY
- XML 4.3, 4.4, 4.5
//us-bibliographic-data-grant/publication-reference/document-id/country
- XML 4.3, 4.4, 4.5
- PATENT_NUMBER
- XML 4.3, 4.4, 4.5
//us-bibliographic-data-grant/publication-reference/document-id/doc-number
- XML 4.3, 4.4, 4.5
- PATENT_KIND
- XML 4.3, 4.4, 4.5
//us-bibliographic-data-grant/publication-reference/document-id/doc-number/kind
- XML 4.3, 4.4, 4.5
- PATENT_GRANT_DATE
- XML 4.3, 4.4, 4.5
//us-bibliographic-data-grant/publication-reference/document-id/date
- XML 4.3, 4.4, 4.5
- APPLICATION_NUMBER
- XML 4.3, 4.4, 4.5
//us-bibliographic-data-grant/application-reference/document-id/doc-number
- XML 4.3, 4.4, 4.5
- APPLICATION_FILING_DATE
- XML 4.3, 4.4, 4.5
//us-bibliographic-data-grant/application-reference/document-id/date
- XML 4.3, 4.4, 4.5
numbers
- NUMBER_OF_CLAIMS
- XML 4.3, 4.4, 4.5
//us-bibliographic-data-grant/number-of-claims
- XML 4.3, 4.4, 4.5