asami

simongray 2022-11-11T08:39:08.130039Z

Am I misunderstanding how inputs work? 😬

(d/q '[:find ?ident ?c
         :in $ ?ident
         :where
         [?ident :document/comment ?c]]
       conn
       "ActaJutlandica_7_1-tei.xml")
returns
(["acc-1992_0005_030_Western_0120-tei-final.xml" #a/n[1]]
 ["acc-1992_0005_030_Western_0120-tei-final.xml" #a/n[2]]
 ["acc-1992_0005_030_Western_0120-tei-final.xml" #a/n[3]]
 ["ActaJutlandica_7_1-tei.xml" #a/n[4]]
 ["ActaJutlandica_9_2-tei.xml" #a/n[5]])
which to me seems off? It cannot be the case that ?ident is not equal to "ActaJutlandica_7_1-tei.xml" , yet the query results seem to say so? ---- If I substitute ?ident with the value I get the expected (single) result:
(d/q '[:find "ActaJutlandica_7_1-tei.xml" ?c
         :in $
         :where
         ["ActaJutlandica_7_1-tei.xml" :document/comment ?c]]
       conn)
returns
(["ActaJutlandica_7_1-tei.xml" #a/n[4]])

quoll 2022-11-11T13:17:18.007629Z

To start with, it’s kinda freaking me out that you have a string as a subject. But OK šŸ™‚ As for the binding… yes, I’m confused. I am in transit today. I will try to look at it when I get home, but I have to take my daughter out for her birthday this evening, so I don’t know how much time I will have before tomorrow

🄳 3
simongray 2022-11-11T13:24:33.584089Z

I have a bunch of input files whose names I treat as unique IDs. Anyway, don’t worry about it. I realise that I may be spamming this channel a bit too much at times. Have a nice evening together with your daughter!

quoll 2022-11-11T13:40:11.951619Z

No, I enjoy the interaction. It reminds me that I have to prioritize a new release

quoll 2022-11-11T13:41:31.010089Z

While I’m sitting at the gate waiting to board… do you happen to have a handful of triples that are relevant to your data, please?

quoll 2022-11-11T14:01:18.418989Z

I created a handful of triples:

[
  ["acc-1992_0005_030_Western_0120-tei-final.xml" :document/comment #a/n[1]]
  ["acc-1992_0005_030_Western_0120-tei-final.xml" :document/comment #a/n[2]]
  ["acc-1992_0005_030_Western_0120-tei-final.xml" :document/comment #a/n[3]]
  ["ActaJutlandica_7_1-tei.xml" :document/comment #a/n[4]]
  ["ActaJutlandica_9_2-tei.xml" :document/comment #a/n[5]]
]
since I’m presuming that these triples were found in your system. Issuing your first query against them returns only: (["ActaJutlandica_7_1-tei.xml" #a/n[4]]) This happened for both a memory and a local database. So… I’m wondering if there is something in the shape of your data that triggers this, maybe? Is your data large? If not, could I see the .edn file from an export, please? (spit "output.edn" (asami.core/export-str conn))

quoll 2022-11-11T14:01:44.563869Z

About to board, so I may not respond for a while…

šŸ‘ 1
quoll 2022-11-11T14:05:54.850919Z

A slice that triggers this?

simongray 2022-11-11T14:06:04.903169Z

wait a sec… it’s actually not

šŸ‘ 1
simongray 2022-11-11T14:09:57.488379Z

I updated asami from ā€œ2.3.0ā€ to ā€œ2.3.2" and the issue doesn’t manifest…

simongray 2022-11-11T14:10:11.171879Z

so I guess there’s no need for the output now šŸ™‚

quoll 2022-11-11T14:10:52.151319Z

šŸŽ‰

quoll 2022-11-11T14:11:11.895659Z

Wonder what I fixed? 😊

quoll 2022-11-11T14:11:41.287419Z

You know I have to check now!

šŸ¤” 1
simongray 2022-11-11T14:11:42.623809Z

I was working on a separate issue related to updating dependencies and getting security fixes today and just rebased on that branch to check if anything was different…

quoll 2022-11-11T14:12:02.793699Z

OK, boarding…

simongray 2022-11-11T14:12:09.004229Z

have a nice flight

simongray 2022-11-11T14:12:16.982969Z

šŸ›«

quoll 2022-11-11T14:15:35.559709Z

šŸ¦‡