phytoevidence-api / contracts /validate-claims.request.example.json
debpc
Deploy claims-first v97 extraction and validation
b2e9550
Raw
History Blame Contribute Delete
6.38 kB
{
"claims": [
{
"schema_version": "1.0.0",
"claim_id": "PMID29389474-C01",
"claim_scope": "article",
"claim_status": "candidate",
"claim_type": "efficacy",
"claim_text": "RESULTS: Oral rosemary 500 mg twice a day for 1 month significantly improved prospective and retrospective memory compared with placebo (p < 0.05).",
"normalized_claim": "RESULTS: Oral rosemary 500 mg twice a day for 1 month significantly improved prospective and retrospective memory compared with placebo (p < 0.05).",
"source": {
"pmid": "29389474",
"doi": null,
"pmcid": null,
"title": "Effects of Rosmarinus officinalis L. on memory performance in university students",
"year": 2018,
"journal": "Complementary Therapies in Clinical Practice",
"publication_types": [
"Randomized Controlled Trial"
],
"mesh_terms": [
"Rosmarinus",
"Memory"
],
"source_location": "abstract_background",
"source_quote": "RESULTS: Oral rosemary 500 mg twice a day for 1 month significantly improved prospective and retrospective memory compared with placebo (p < 0.05).",
"source_language": "en",
"abstract_only": true
},
"study": {
"study_type": "randomized_controlled_trial",
"evidence_domain": "efficacy",
"population_level": "human",
"is_secondary_research": false,
"parent_study_identifiers": []
},
"population": {
"description": "human participants",
"sample_size": null,
"species": "Homo sapiens",
"model": null,
"condition": null,
"age": null,
"sex": null,
"setting": null
},
"intervention": {
"substance": "rosemary",
"scientific_name": "Rosmarinus officinalis",
"normalized_identifiers": {},
"plant_part": null,
"preparation": null,
"route": "oral",
"dose": {
"value": 500.0,
"unit": "mg",
"basis": "as reported in source quote"
},
"frequency": "twice a day",
"duration": "1 month"
},
"comparator": {
"description": "placebo"
},
"outcome": {
"name": "memory",
"normalized_identifier": null,
"measure": null,
"direction": "benefit",
"timepoint": "1 month",
"effect_estimate": null
},
"numeric_facts": [
{
"kind": "dose",
"raw_text": "500 mg",
"value": 500.0,
"unit": "mg",
"context": "RESULTS: Oral rosemary 500 mg twice a day for 1 month significantly improved prospective and retrospective memory compared with placebo (p < 0.05).",
"status": "pending",
"correction": null
},
{
"kind": "frequency",
"raw_text": "twice a day",
"value": "twice",
"unit": "day",
"context": "RESULTS: Oral rosemary 500 mg twice a day for 1 month significantly improved prospective and retrospective memory compared with placebo (p < 0.05).",
"status": "pending",
"correction": null
},
{
"kind": "duration",
"raw_text": "1 month",
"value": 1.0,
"unit": "month",
"context": "RESULTS: Oral rosemary 500 mg twice a day for 1 month significantly improved prospective and retrospective memory compared with placebo (p < 0.05).",
"status": "pending",
"correction": null
},
{
"kind": "p_value",
"raw_text": "p < 0.05",
"value": 0.05,
"unit": "p<",
"context": "RESULTS: Oral rosemary 500 mg twice a day for 1 month significantly improved prospective and retrospective memory compared with placebo (p < 0.05).",
"status": "pending",
"correction": null
}
],
"supporting_claim_ids": [],
"contradicting_claim_ids": [],
"validation": {
"provenance_status": "verified",
"entailment_status": "pending",
"numeric_status": "pending",
"contradiction_status": "not_checked",
"translation_status": "not_needed",
"supporting_pmids": [
"29389474"
],
"contradicting_pmids": [],
"entailment_score": null,
"contradiction_score": null,
"reasons": [
"Exact sentence copied from the PubMed abstract.",
"Candidate claim requires numeric and NLI validation before synthesis."
],
"validator_versions": {
"extractor": "phytoevidence-claim-extractor-v1.0.0"
}
},
"confidence": {
"source_support": "not_applicable",
"replication": "not_applicable",
"study_quality": "not_applicable",
"clinical_relevance": "not_applicable",
"numeric_integrity": "not_applicable",
"consistency": "not_applicable",
"overall": "not_applicable",
"rationale": "Candidate claim only; confidence is assigned after validation and aggregation."
},
"audit": {
"created_at": "2026-07-17T15:22:42.599883Z",
"extractor": "phytoevidence-claim-extractor-v1.0.0",
"source_hash": "8cce169c39dc423ab9d4990db3703f7ac2fe724f8248dd565ee187d3feabd5f6",
"events": [
{
"timestamp": "2026-07-17T15:22:42.599883Z",
"action": "candidate_extracted",
"actor": "phytoevidence-claim-extractor-v1.0.0",
"details": "Exact abstract sentence 3 selected from abstract_background."
}
]
}
}
],
"source_abstracts": [
{
"pmid": "29389474",
"abstract": "BACKGROUND: Rosemary has been traditionally used for memory. METHODS: Sixty-eight university students were randomized to oral rosemary or placebo. RESULTS: Oral rosemary 500 mg twice a day for 1 month significantly improved prospective and retrospective memory compared with placebo (p < 0.05). CONCLUSIONS: Rosemary may improve selected memory outcomes in university students.",
"language": "en"
}
],
"translations": [],
"options": {
"entailment_threshold": 0.65,
"contradiction_threshold": 0.5,
"relative_numeric_tolerance": 0.02,
"allow_partial": true
}
}