Skip to content

Commit

Permalink
Fix "missing key op" RDFGraph OWL serialization (#8276)
Browse files Browse the repository at this point in the history
Replace this comment with:
- Description: Fix "missing key op" error in RDFGraph OWL Serialization
  - Issue: #8263
  - Dependencies: None
  - Tag maintainer: @baskaryan
  • Loading branch information
Caitlin2694 authored Jul 26, 2023
1 parent 862e9ae commit b9db3dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/langchain/langchain/graphs/rdf_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ def _rdf_s_schema(
self.schema = _rdf_s_schema(clss, rels)
elif self.standard == "owl":
clss = self.query(cls_query_owl)
ops = self.query(cls_query_owl)
dps = self.query(cls_query_owl)
ops = self.query(op_query_owl)
dps = self.query(dp_query_owl)
self.schema = (
f"In the following, each IRI is followed by the local name and "
f"optionally its description in parentheses. \n"
Expand Down

0 comments on commit b9db3dd

Please sign in to comment.