Complex Search

Matthew Godwin
Matthew Godwin Member Posts: 73 ✭✭
edited November 2024 in English Forum

Hi - serial forum lurker here... I'm starting to dig a little deeper into Logos (I have Platinum plus bits and bobs) in line with my studies and need to begin doing more complex searches.  More specifically, today I'm trying to find instances of 'sin' modified by an adjective... I've looked at the wiki, but it's all a little beyond me so far.  How would I go about formulating such a search?

Comments

  • David Taylor, Jr.
    David Taylor, Jr. Member Posts: 4,386 ✭✭✭

    I'm not sure but I would like to find out as well, sounds like an interesting search criteria.

  • Matthew Godwin
    Matthew Godwin Member Posts: 73 ✭✭

    I'm not sure but I would like to find out as well, sounds like an interesting search criteria.

     

    Thanks - I thought so too... It was a genuine question...

  • Gary O'Neal
    Gary O'Neal Member Posts: 584 ✭✭

    I'm trying to find instances of 'sin' modified by an adjective

    Here's a start with a syntax search:

    image

    I first found an example of sin (ἁμαρτία) modified by an adj --- Matt. 12:31. I opened this in Cascadia Syntax Graphs and used it as an example of how to formulate the syntax search.

    image

    It has a nominal phrase consisting of an adj phrase and another nominal phrase. For the 2nd nominal phrase, I set the head lemma to be ἁμαρτία. For the adj phrase, I set the morphology to be an adj.

     

    πάντα εἰς δόξαν θεοῦ ποιεῖτε

  • Dave Hooton
    Dave Hooton MVP Posts: 36,192

    Whilst generally not as accurate as a Syntax search, a Morph Search is a lot easier to formulate. Try

    lemma:ἁμαρτία WITHIN 1 word @J

    if you use the English word "sin" you will get verbs (to sin) as well as nouns, so use a Greek lemma, because you can modify it (if necessary) as follows:

    lemma:ἁμαρτία@N WITHIN 1 word @J

     

    If the modifier (@J) must precede the Noun then use:-

    lemma:ἁμαρτία AFTER 1 word @J

    If you want to add another lemma for "sin" then use a List:-

    (lemma:ἁμαρτία,  lemma:ἁμάρτημα) AFTER 1 word @J

    If you don't like AFTER then use:-

    @J BEFORE 1 word (lemma:ἁμαρτία,  lemma:ἁμάρτημα)

     

    The wiki on Search should begin to make a little more sense by now!

    Dave
    ===

    Windows 11 & Android 13

  • David Taylor, Jr.
    David Taylor, Jr. Member Posts: 4,386 ✭✭✭

    I don't understand morphology at all, where can I learn more about this?

  • Rick Brannan
    Rick Brannan MVP Posts: 254

    Hi Matthew (and others)

    Hi - serial forum lurker here... I'm starting to dig a little deeper into Logos (I have Platinum plus bits and bobs) in line with my studies and need to begin doing more complex searches.  More specifically, today I'm trying to find instances of 'sin' modified by an adjective... I've looked at the wiki, but it's all a little beyond me so far.  How would I go about formulating such a search?

    If you have the Cascadia Syntax Graphs, you can use a quer template to find "English Adjectival Modification". Open a search, select "Syntax" (fourth item, right of window). From there, see the "Query" drop-down? Click it. You should see something like this (I'm on Windows):

    image

    Select it. This will pop a little dialog box into the search window, where you can type "sin", like this:

    image

    Type "sin" in the box with the greyed-out text. Then click "Go". A syntax search is running behind the scenes to get this information for you. All the words with an English gloss of "sin" are evaluated for their relationships, and when an adjectival modification occurs, you get a search hit.

    So you get the benefit of syntax searching, but without having to form a query. Bonus: This will save a query, and you can then open it from the File Menu, and see the sort of query it made.

    There is a similar query template for the Andersen-Forbes syntax analysis of the Hebrew Bible, if you're interested in OT relationships too.

    You can watch a video on using query templates here: http://youtu.be/dmar7jHT4hQ

    Hope it helps.

    Rick Brannan | Bluesky: rickbrannan.com

  • Matthew Godwin
    Matthew Godwin Member Posts: 73 ✭✭

    Thanks to everyone for the help - I'm going to work through your explanations and hopefully get the hang of doing it myself...

    Thanks again!

     

    Edit: I worked through the Syntax Graph example and then found the syntax search query, which I'm pretty sure I understand!  Amazing stuff - thanks...

  • Gary O'Neal
    Gary O'Neal Member Posts: 584 ✭✭

    If you have the Cascadia Syntax Graphs, you can use a quer template to find "English Adjectival Modification".

    Thanks for the info -- I wasn't aware of these built in templates. This should make syntax searches much more accessible. One question is when I run the example you presented, my results are far from what I would expect. Here's the results I got -- have I missed a step?

    image

    Bonus: This will save a query, and you can then open it from the File Menu, and see the sort of query it made.

    I also don't see where I can open this from the file menu to see how the query was structured.

     

    πάντα εἰς δόξαν θεοῦ ποιεῖτε

  • Matthew Godwin
    Matthew Godwin Member Posts: 73 ✭✭

    If you have the Cascadia Syntax Graphs, you can use a quer template to find "English Adjectival Modification".

    Thanks for the info -- I wasn't aware of these built in templates. This should make syntax searches much more accessible. One question is when I run the example you presented, my results are far from what I would expect. Here's the results I got -- have I missed a step?

    image

    Bonus: This will save a query, and you can then open it from the File Menu, and see the sort of query it made.

    I also don't see where I can open this from the file menu to see how the query was structured.

     

     

    Hi Gary, I clicked on 'Add Versions' and added ESV and then had two columns, Greek on the left and ESV on the right.  This showed the relevant verses.  Under files, there was an untitled syntax search which showed this search when I opened it... Hope this helps

     

  • Rick Brannan
    Rick Brannan MVP Posts: 254

    These are the results of the queries.

    On the saving of the query, I was mistaken. What I was thinking was that you can actually open up one of these query templates from a blank syntax search document. Note the "Templates" list on the right of the editor:

    image

    If you click the "English Adjectival Modification" template, you'll get something like the following, which can then be edited further.

    image

    The search will be now be remembered in the "Previous searches" list, so you can go back to it later if you'd like.

    Rick Brannan | Bluesky: rickbrannan.com

  • Gary O'Neal
    Gary O'Neal Member Posts: 584 ✭✭

    Hi Gary, I clicked on 'Add Versions' and added ESV and then had two columns, Greek on the left and ESV on the right.

    It wasn't the additional version that I was concerned about. Did your search return the same verses mine did? Of the six hits, only one of them is an adjective modifying 'sin'.

    Under files, there was an untitled syntax search which showed this search when I opened it.

    Maybe I'm looking in the wrong place for this. When I run the search with the query template, I click the File menu in the main program--this is where I expected to see the Untitled Syntax Search.

    image

    πάντα εἰς δόξαν θεοῦ ποιεῖτε

  • Gary O'Neal
    Gary O'Neal Member Posts: 584 ✭✭

    On the saving of the query, I was mistaken. What I was thinking was that you can actually open up one of these query templates from a blank syntax search document. Note the "Templates" list on the right of the editor:

    Ok. That makes sense. I'll take a look at how this is structured and what it is searching for. The results I got from this were inaccurate.

    πάντα εἰς δόξαν θεοῦ ποιεῖτε

  • Dave Hooton
    Dave Hooton MVP Posts: 36,192

    Ok. That makes sense. I'll take a look at how this is structured and what it is searching for. The results I got from this were inaccurate.

    The English and Greek templates are  inaccurate a start! Suitably modified you are then at the mercy of the syntactic tagging  e.g.

    image

    Note that I quickly found that adjectival phrases are not always terminated by an adjective!

    Compared to my text search earlier in the thread this has extra results at Mk 3:28, Jn 8:34 & 1 Jn 3:4 and you have to decide if these are relevant. But it misses 2 Pe 2:14 because "some adverbial phrases also modify nouns ...". If I include Adverbial phrases in Phrase 3 the missing result is included WITHOUT spurious results because of the Nouns specified at Word 1. Then we can drop Numeric phrases from the query!

    My strategy is always to develop a text search first and get some expected results from which I can model the Syntax search. But the time taken to develop a Syntax query can often outweigh any advantage.

    Dave
    ===

    Windows 11 & Android 13

  • Gary O'Neal
    Gary O'Neal Member Posts: 584 ✭✭

    The English and Greek templates are  inaccurate a start! Suitably modified you are then at the mercy of the syntactic tagging  e.g.

    Ok. Maybe inaccurate is too strong. But of the 6 (?) results returned, only one was actually the word 'sin' modified by an adj. I found the OpenText template for this much more accurate relevant. Here's how I modified it:

    image

    I just added the lemmas and removed the 'qualifier' from each of the Modifier boxes.

    it misses 2 Pe 2:14 because "some adverbial phrases also modify nouns

    For the OP's search request, it shouldn't return 2Pe 2:14 -- the noun ἁμαρτίας modifies the adj ἀκαταπαύστους which modifies ὀφθαλμοὺς.

    πάντα εἰς δόξαν θεοῦ ποιεῖτε