Master & slaves term search answers

Hi all,

we would need to answer a “people with 7 years of experience with Yext” query. Could this be possible?

We are doing a test but we are not able to “link” the 2 attributes and that the search is restrictive.

Example:

Knowledge Graph:

2 Person entities → Arturo (7 years of experience at Yext) and David (2 years of experience) at Yext:

  • Arturo:

  • David:

Answers experience

As you can see, the 2 results have experience on Yext but we need only Arturo to be returned as a result since only he has 7 years of experience. David is being included as results because in his case he only filters by Technology.

We would need a filter type “Technology” + “Years of experience in the same technology

Any ideas?

Thank you!

Hi David,

This is a tough one - I don’t think our NLP Filter algorithm can handle this case.

The way that NLP filtering currently works is that we produce a filter based on a field or subfield. So for example we could produce a filter for a query like “employees with less than 5 years of experience”. In that case the sub-field would be the “Años de experiencía”.

But what you’re asking for is for a filter produced on a filtered sub-field. So we should only consider “Años de experiencía” when “Technología” == “Yext”. Unfortunately our algorithm isn’t smart enough to do this.

Maybe you could submit this to the Ideas Board?

Best,
Max

1 Like

Hi Max,

thank you for your response. I have created a new suggested idea in the board:

In the meantime, we will have to think of some kind of workaround, since the decision to carry out a new Answers project depends on whether this type of query can be made.

Any suggestion?

Thank you very much again!

Regards,

David

Hi David,

As Max mentioned, unfortunately I don’t think there are many great solutions to this problem. That said, I can give two suggestions that you could consider:

  1. You could, instead of representing Tecno Experiencia with multiple sub-fields, use a single value. In your example, David might have a field with a list of:
  • “Yext / 2 Años de experiencia”
  • “Java v7 / 10 Años de experiencia”
  • “Java v8 / 7 Años de experiencia”

I understand this will not look as good in a facet, but it is one option for getting around our default behavior of always joining separate facets together using OR logic instead of AND logic.

  1. You could potentially explore using hierarchical facets, and for example, nest the “Años de experienca” sub-field under the “Tecnología” field. You would therefore have a series of filters such as:
    • Yext > 2
    • Yext > 7
    • Java v7 > 10
    • Java v8 > 7

Note however that the hierarchical facets option is currently not available in the Theme, and is only available in our React Components.

We will definitely consider better solutions to this problem, but those for now are likely the best possible options.

Best,
Alex

1 Like

Hi Alex,

I am thinking in a hybrid workaround, something like this
image

But by ranges, for example, “Java v7 - 1 a 3 años”, “Java v7 3 a 6 años”, “Yext - 1 a 3 años”, “Yext - 3 a 6 años” but I cannot apply Numeric facets in my Sandbox account yet. I don´t know the reason…

Thanks.

Regards,

David

Hi David,

Yes, the way you structured definitely works, but I understand it is not ideal.

Numeric / range facets are currently only available as part of our React Components, not in the Theme - but we are working on making this available in the Theme in the near future.

Best,
Alex

1 Like