Search Help: Why doesn't INTERSECTS work?

Kiyah
Kiyah Member Posts: 2,807 ✭✭✭✭
edited November 21 in English Forum

I thought I understood the INTERSECTS command but apparently I do not.

Why doesn't <Person Paul> INTERSECTS <Place Jerusalem> return any results? I expected this to bring back all the places where Paul and Jerusalem are tagged in the same verse.

The Search HELP site says:

  • x INTERSECTS y —> finds those parts of text x that overlap y

What is precisely meant by "overlap" in Logos terminology?

The example given on the Search HELP site is <Person Jesus> INTERSECTS <Place Nazareth>. But why does <Person Jesus> INTERSECTS <Place Nazareth> return "Jesus of/from Nazareth" and "his hometown" results but <Person Paul> INTERSECTS <Place Tarsus> return nothing. Not even Acts 9:11, "...man of Tarsus named Saul" or Acts 21:39, "I am a Jew, from Tarsus..." Seems like the greek word Ταρσεύς (a Tarsian) should be tagged with both <Person Paul> and <Place Tarsus> since the text is referring to Paul as a Tarsian.

Tagged:

Comments

  • Bradley Grainger (Logos)
    Bradley Grainger (Logos) Administrator, Logos Employee Posts: 11,958

    I expected this to bring back all the places where Paul and Jerusalem are tagged in the same verse.

    The operator for this is "AND".

    <Person Paul> AND <Place Jerusalem>

    What is precisely meant by "overlap" in Logos terminology?

    That the same textual characters are matched.

  • Graham Criddle
    Graham Criddle MVP Posts: 32,490

    Why doesn't <Person Paul> INTERSECTS <Place Jerusalem> return any results? I expected this to bring back all the places where Paul and Jerusalem are tagged in the same verse.

    What is precisely meant by "overlap" in Logos terminology?

    It means where - in this case - both tags have been added to the same word.

    Which, as you point out, is why the search for Jesus and Nazareth works but the one for Paul and Tarsus does not (in the latter case, only one tag is applied to each of Tarsus and Saul)

    I don't know why one tagging decision was taken in the first case and another decision was taken in the second.

    Others may have better ideas - hopefully someone from Faithlife will comment.

  • Kiyah
    Kiyah Member Posts: 2,807 ✭✭✭✭

    Which, as you point out, is why the search for Jesus and Nazareth works but the one for Paul and Tarsus does not (in the latter case, only one tag is applied to each of Tarsus and Saul)

    I don't know why one tagging decision was taken in the first case and another decision was taken in the second.

    This does seem inconsistent doesn't it? Seems like it should be tagged with both Paul and Tarsus as with Jesus and Nazareth. 

  • Kiyah
    Kiyah Member Posts: 2,807 ✭✭✭✭

    I expected this to bring back all the places where Paul and Jerusalem are tagged in the same verse.

    The operator for this is "AND".

    <Person Paul> AND <Place Jerusalem>

    What is precisely meant by "overlap" in Logos terminology?

    That the same textual characters are matched.

    What's the difference between INTERSECTS and ANDEQUALS?

  • Graham Criddle
    Graham Criddle MVP Posts: 32,490

    What's the difference between INTERSECTS and ANDEQUALS?

    INTERSECTS means that one term overlaps the other - but isn't necessarily contained by it.

    ANDEQUALS means that both terms equate to exactly the same thing (same word, etc). 

    The screenshot below tries to demonstrate this:

    image



    In the first search, the word fill appears in a string of text labelled as being spoken by Jesus

    In the second search, as the word fill is not all that Jesus says on any particular occasion, they are not equal and so the search returns zero results

    In the third search, as the word fill matches the lemma γεμίζω there are results returned.

  • Phil Gons (Logos)
    Phil Gons (Logos) Administrator, Logos Employee Posts: 3,805

    What's the difference between INTERSECTS and ANDEQUALS?

    You might find my replies to this post helpful, along with these diagrams:

    OR, AND, INTERSECTS, And ANDEQUALS Search Operators 2


    OR, AND, INTERSECTS, And ANDEQUALS Search Operators 4


    OR, AND, INTERSECTS, And ANDEQUALS Search Operators 1


    OR, AND, INTERSECTS, And ANDEQUALS Search Operators 3

  • Kiyah
    Kiyah Member Posts: 2,807 ✭✭✭✭

    Thanks Phil, Graham, and Bradley. Super helpful!

  • Kiyah
    Kiyah Member Posts: 2,807 ✭✭✭✭

    Okay, one more question. Could I add WITHIN to Phil's last graph in between INTERSECTS and ANDEQUALS? In other words, would WITHIN be a tighter connection than INTERSECTS but a looser connection than ANDEQUALS? Or is INTERSECTS the same as WITHIN?

  • MJ. Smith
    MJ. Smith MVP Posts: 53,143

    Think of two circle Venn diagrams: INTERSECTS refers to the overlap between two circles. WITHIN refers to one circle entirely inside the other

    Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."

  • Kiyah
    Kiyah Member Posts: 2,807 ✭✭✭✭

    Think of two circle Venn diagrams: INTERSECTS refers to the overlap between two circles. WITHIN refers to one circle entirely inside the other

    But doesn't INTERSECTS include both things that overlap and things that are within?

  • MJ. Smith
    MJ. Smith MVP Posts: 53,143

    But doesn't INTERSECTS include both things that overlap and things that are within?

    Yes, that is why it is a looser connection.  In general, assume all tighter connections are included within the looser connection - that is what the circle diagram implies.

    Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."

  • Andrew Batishko
    Andrew Batishko Member, Community Manager, Logos Employee Posts: 5,366

    WITHIN is a proximity operator that takes additional syntax to define, such as WITHIN 2 CHARS or WITHIN 0-5 WORDS. In terms of the chart above, it covers a range that starts with AND (which you can mimic using WITHIN 0-1000 WORDS) and goes all the way to ANDEQUALS (which you can mimic using WITHIN 0 WORDS, though the result count is doubled, because the terms are counted separately).

    Andrew Batishko | Logos software developer

  • Kiyah
    Kiyah Member Posts: 2,807 ✭✭✭✭

    WITHIN is a proximity operator that takes additional syntax to define, such as WITHIN 2 CHARS or WITHIN 0-5 WORDS. In terms of the chart above, it covers a range that starts with AND (which you can mimic using WITHIN 0-1000 WORDS) and goes all the way to ANDEQUALS (which you can mimic using WITHIN 0 WORDS, though the result count is doubled, because the terms are counted separately).

    I meant this type of WITHIN search: {Addressee <Place Jerusalem>} WITHIN {Speaker <Person Jesus>}, or Lord WITHIN <Person Jesus>.

    For both of these searches I get the same results when I substitute INTERSECTS for WITHIN.

    My point, which MJ confirmed, is that INTERSECTS would include WITHIN results and more if there are more to be found. I was just trying to make sure I understand the relationships between the various search operators because my initial INTERSECTS search that I posted about didn't give me what I expected.