Search documentation

Type a word or phrase to search documentation.

    Reference

    CLI: search

    Find resources by text in the selected workspace and branch.

    legra graph search <text> [--limit <count>] [--format json|tsv]
    
    legra graph search 'climate risk' --workspace research --branch main --limit 20
    

    Results include matching resources, labels and types where available, and relevance scores. The default limit is 50 and the default format is TSV. Use --format json for SPARQL Results JSON.

    Text search must be enabled for the selected branch. If it is unavailable, ask the workspace administrator about the branch's capabilities.

    Use Query when you need precise relationships, filters, or aggregations.