doxa-study-evidence / queries.sql
Giuliocc's picture
Release source-grounded context, event references and study evidence with exact rights and annotation status
dd5f5a4 verified
Raw History Blame Contribute Delete
605 Bytes
-- DuckDB with httpfs; pin a release commit in the hf:// URI for frozen work.
SELECT id, title, claim, gold_label, context_coverage
FROM read_parquet('hf://datasets/Giuliocc/doxa-study-evidence/data/claim_packets/corpus.parquet')
WHERE len(numeric_mentions) > 0 LIMIT 20;
SELECT kind, count(*) AS review_questions
FROM read_parquet('hf://datasets/Giuliocc/doxa-study-evidence/data/review_prompts/corpus.parquet')
GROUP BY kind;
SELECT pmcid, title, license.identifier, source_xml_sha256
FROM read_parquet('hf://datasets/Giuliocc/doxa-study-evidence/data/papers/corpus.parquet')
ORDER BY pmcid LIMIT 20;