Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions tutorials/oc_parquet_enhanced.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -190,16 +190,16 @@ viewof relationshipTable = Inputs.table(relationshipPatterns, {
❌ **Common Mistake**: Assuming direct Sample → Location relationships
✅ **Reality**: All location queries require multi-hop traversal through SamplingEvent

### The Correct Paths Discovered
### The Correct Traversals Discovered (Using Typed Edges)

**Path 1: Direct Event Location**
**Direct Location (via EVENT_SAMPLE_LOCATION)**
```
MaterialSampleRecord → produced_by → SamplingEvent → sample_location → GeospatialCoordLocation
MaterialSampleRecord → MSR_PRODUCED_BY → SamplingEvent → EVENT_SAMPLE_LOCATION → GeospatialCoordLocation
```

**Path 2: Via Site Location**
**Site-Mediated Location (via EVENT_SAMPLING_SITE → SITE_LOCATION)**
```
MaterialSampleRecord → produced_by → SamplingEvent → sampling_site → SamplingSite → site_location → GeospatialCoordLocation
MaterialSampleRecord → MSR_PRODUCED_BY → SamplingEvent → EVENT_SAMPLING_SITE → SamplingSite → SITE_LOCATION → GeospatialCoordLocation
```

This discovery unlocked **1,096,274 samples** that were previously inaccessible due to incorrect query patterns!
Expand Down
Loading