Skip to content

Commit

Permalink
Add another property
Browse files Browse the repository at this point in the history
  • Loading branch information
dseomn committed Nov 7, 2023
1 parent b37b2c2 commit b3b786f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions rock_paper_sand/wikidata.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ class RelatedMedia:
wikidata_value.P_BASED_ON,
wikidata_value.P_DERIVATIVE_WORK,
wikidata_value.P_HAS_SPIN_OFF,
wikidata_value.P_MANIFESTATION_OF,
wikidata_value.P_MODIFIED_VERSION_OF,
wikidata_value.P_PLOT_EXPANDED_IN,
)
Expand Down
1 change: 1 addition & 0 deletions rock_paper_sand/wikidata_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def from_string(cls, value: str) -> Self:
P_HAS_PARTS = _p("https://www.wikidata.org/wiki/Property:P527")
P_HAS_SPIN_OFF = _p("https://www.wikidata.org/wiki/Property:P2512")
P_INSTANCE_OF = _p("https://www.wikidata.org/wiki/Property:P31")
P_MANIFESTATION_OF = _p("https://www.wikidata.org/wiki/Property:P1557")
P_MEDIA_FRANCHISE = _p("https://www.wikidata.org/wiki/Property:P8345")
P_MODIFIED_VERSION_OF = _p("https://www.wikidata.org/wiki/Property:P5059")
P_PART_OF = _p("https://www.wikidata.org/wiki/Property:P361")
Expand Down

0 comments on commit b3b786f

Please sign in to comment.