Ontology-Based Skill Filtering

The Ontology-Based Skill Filtering feature filters skills in Resume and Job Description (JD) documents based on the ontology associated with the relevant JobProfile. This ensures that only skills aligned with the JobProfile ontology are considered during matching.

When a Resume or JD contains skills from different domains, some skills may not be relevant to the JobProfile of the document. By enabling this feature, the Match API excludes unrelated skills from the skill-matching calculation and considers only the skills that align with the JobProfile ontology.

How Ontology-Based Skill Filtering Works

When matchOntologySkills is set to true, the Match API evaluates the skills available in each document against the ontology associated with its JobProfile.

The filtering is applied as follows:

  • Job Description: Skills are evaluated against the ontology associated with the JobProfile in the JD. Skills that do not align with the JobProfile ontology are excluded from matching.

  • Resume: Skills are evaluated against the ontology associated with the candidate's current JobProfile. Skills that do not align with the current JobProfile ontology are excluded from matching.

Only ontology-aligned skills are considered when calculating the skill match.

This helps reduce the impact of unrelated skills and improves the contextual relevance of skill matching.

Supported Match Types

The matchOntologySkills feature supports the following match types:

  • JD to Resume

  • JD to JD

  • Resume to JD

  • Resume to Resume

Usage

To enable Ontology-Based Skill Filtering, include the matchOntologySkills parameter in the Match API request and set it to true.

"matchOntologySkills": true

When matchOntologySkills is set to true, ontology-based skill filtering is applied before the skills are considered for matching.

If the parameter is set to false or is not included in the API request, the existing skill-matching behavior remains unchanged.

The matchOntologySkills parameter is supported with the following APIs:

Sample Request

{
  "index": {
    "indexKey": "Use your indexKey"
  },
  "matchType": "JD to Resume",
  "explainScore": true,
  "explainScoreType": "json",
  "match": {
    "resumeContent": "{{resumeContent}}",
    "resumeFileName": "text.pdf",
    "jdContent": "{{jdContent}}",
    "jdFileName": "text.docx"
  },
  "matchOntologySkills": true
}

Sample Response

"explainScore": [
        {
            "id": "8c351a61-23c2-44eb-827a-c5d353cadb85",
            "explaination": {
                "score": 100.0,
                "maxScore": 100.0,
                "Match": {
                    "score": 100.01,
                    "maxScore": 100.0,
                    "detailScore": [
                        {
                            "score": 40.0,
                            "maxScore": 40.0,
                            "entity": "CurrentJobProfile",
                            "value": "java developer"
                        },
                        {
                            "score": 17.78,
                            "maxScore": 17.78,
                            "entity": "SkillWithoutExp",
                            "value": "python"
                        },
                        {
                            "score": 13.34,
                            "maxScore": 13.34,
                            "entity": "TotalExperienceInYear",
                            "value": "[3.0 TO 6.0]"
                        },
                        {
                            "score": 13.17,
                            "maxScore": 13.17,
                            "entity": "SkillWithoutExp",
                            "value": "spring framework"
                        },
                        {
                            "score": 9.05,
                            "maxScore": 9.05,
                            "entity": "SkillHaveExp",
                            "value": "hibernate"
                        },
                        {
                            "score": 6.67,
                            "maxScore": 6.67,
                            "entity": "Category",
                            "value": "information"
                        }
                    ]
                }
            }
        }
    ]
}