Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
recalcitrantsupplant committed Nov 14, 2024
1 parent d65a593 commit 2b4102e
Showing 1 changed file with 0 additions and 98 deletions.
98 changes: 0 additions & 98 deletions prez/services/query_generation/search_fuseki_fts.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,104 +257,6 @@ def _generate_fts_triples_block(preds: list[str], sr_uri: Var = sr_uri) -> Tripl
)
)

# gpnt_or_triples_list.extend([TriplesBlock(
# triples=TriplesSameSubjectPath(
# content=(
# TriplesNodePath(
# coll_path_or_bnpl_path=CollectionPath(
# graphnodepath_list=[
# GraphNodePath(
# varorterm_or_triplesnodepath=VarOrTerm(
# varorterm=sr_uri
# )
# ),
# GraphNodePath(
# varorterm_or_triplesnodepath=VarOrTerm(
# varorterm=weight
# )
# ),
# GraphNodePath(
# varorterm_or_triplesnodepath=VarOrTerm(
# varorterm=match
# )
# ),
# GraphNodePath(
# varorterm_or_triplesnodepath=VarOrTerm(
# varorterm=g
# )
# ),
# GraphNodePath(
# varorterm_or_triplesnodepath=VarOrTerm(
# varorterm=pred
# )
# ),
# ]
# )
# ),
# PropertyListPath(
# plpne=PropertyListPathNotEmpty(
# first_pair=(
# VerbPath(
# path=SG_Path(
# path_alternative=PathAlternative(
# sequence_paths=[
# PathSequence(
# list_path_elt_or_inverse=[
# PathEltOrInverse(
# path_elt=PathElt(
# path_primary=PathPrimary(
# value=text_query
# )
# )
# )
# ]
# )
# ]
# )
# )
# ),
# ObjectListPath(
# object_paths=[
# ObjectPath(
# graph_node_path=GraphNodePath(
# varorterm_or_triplesnodepath=TriplesNodePath(
# coll_path_or_bnpl_path=CollectionPath(
# graphnodepath_list=[
# GraphNodePath(
# varorterm_or_triplesnodepath=VarOrTerm(
# varorterm=GraphTerm(
# content=IRI(
# value=predicate
# )
# )
# )
# )
# for predicate in
# non_shacl_predicates
# ]
# + [
# GraphNodePath(
# varorterm_or_triplesnodepath=VarOrTerm(
# varorterm=GraphTerm(
# content=RDFLiteral(
# value=term
# )
# )
# )
# )
# ]
# )
# )
# )
# )
# ]
# ),
# )
# )
# ),
# )
# )
# )])
where_clause = WhereClause(
group_graph_pattern=GroupGraphPattern(
content=SubSelect(
Expand Down

0 comments on commit 2b4102e

Please sign in to comment.