Docs | BioBox Platform
GuideAPIRelease NotesLog In
  • Welcome to BioBox!
  • Framework
    • Overview
    • Why Graph?
    • Core Concepts
  • Data Packages
    • Data Packages
    • External Ontologies
      • Gene Ontology
      • Tissue
      • Disease
      • Cell Ontology
      • Phenotype
  • How To
    • 🧭Configure your Knowledge Graph Schema
      • πŸ—‚οΈFormat Internal Data For Uploading
      • ‴️Upload Internal Data
    • βš–οΈCreate Prioritization Graph Models
      • πŸ—’οΈGenerate Reports
      • πŸ›£οΈPathway Enrichment
    • πŸ—ΊοΈUse the Graph Explorer
      • βš™οΈRunning Graph Algorithms
      • πŸ’ΎSave Graph Explorer Sessions
    • πŸ”—Use the Query Language
      • Customize the data table returned with your query
      • 🧭Explore and understand your results
      • πŸ“ŠVisualize data returned in Query Language
      • ✏️Modify Queries using the Query Editor
    • Ask questions with Natural Language (GraphRAG)
      • Use Agent Orion to generate a query with Natural Language
      • Use Agent Iris to converse with your data
  • πŸ“ŠVisualize data on the Legacy Platform
    • πŸ“„Create a Genomic Sequencing Dashboard (Legacy Platform)
    • 🍭Create a Stacked Lollipop Plot (Legacy Platform)
    • ↕️Upload raw data (Legacy Platform)
    • πŸ“«Invite Users to Your Organization
  • Release Notes
Powered by GitBook
On this page
  • Configuring a Data Property
  • Adding multiple Data Properties to a Concept or Relationship
  1. How To
  2. Use the Query Language

Modify Queries using the Query Editor

How to edit queries using the Query Editor

PreviousVisualize data returned in Query LanguageNextAsk questions with Natural Language (GraphRAG)

Last updated 6 months ago

Once a query has been submitted, the Query Editor can be used to further refine the query as an alternative to writing in Query Language. This will enable you to update the query on basis of the data properties associated with any of the relationships and concepts within your query.

For example the biological question "Which genes are upreulgated in tumor samples diagnosed with endometrium adenocarcinoma?" Translates to the query

(Gene)<- upregulates <-(DifferentialExpressionDataset)-> experimental group includes ->(TumorSample)-> pathologically confirmed to be ->(Disease{displayName="endometrium adenocarcinoma"})

Let's say you want to update the logR and p-adjusted cut off values associated with "upregulates" and update the disease to be "Liver Cancer"

Select "Query Editor" below the search bar to open the tool. A dialog will appear that will allow you to modify all of the data properties associated with the concepts and relationships within the query.

The modified query would be

(Gene)<- upregulates { logR > 1 & padj < 0.05 } <-(DifferentialExpressionDataset)-> experimental group includes ->(TumorSample)-> pathologically confirmed to be ->(Disease { displayName="Liver Cancer" })code

Let's walk through how we generated the modified query.

Configuring a Data Property

Scroll through the dialog to identify the concept or relationships you would like to add a property to.

Fill in the subsequent inputs

Data Property

This input will display all of the data properties available for you to use scoped to a specific concept or relationship.

Property type

  • Number (numerical values)

  • Text (text based values)

Operator

If the property is a Text Select from

  • Equals

  • Not Equals

  • Regex Match

If the property is a Number select from

  • Less than or equal

  • Greater than or equal

  • Not Equals

  • Less than

  • Greater than

  • Equals

Value

  • Use this input to type in the value you would like to filter on. This must be an exact match.

Adding multiple Data Properties to a Concept or Relationship

Multiple data property filters can be added to each concept or relationship by selecting " Add Property".

Once all of the properties have been configured submit the query to obtain your refined answer.

πŸ”—
✏️