健康と知識のためのヨガ
Wolfram Knowledgebaseには,ヨガのポーズについてのデータを要約した,精選データ集合が含まれている.このため,ポーズ,難易度,使われる筋肉,持続時間,その他の多くの特徴を,簡単,強力,かつ詳細に,しかも完全にプログラム可能な方法で調べ学ぶことができるようになっている.
サソリのポーズから始め,"PreparatoryPoses"の関係に基づいたヨガのポーズの関係を形にして可視化する.
In[1]:=

poseGraph =
NestGraph[Cases[EntityValue[#, "PreparatoryPoses"], _Entity] &,
Entity["YogaPose", "ScorpionPose"], 4, VertexLabels -> "Name",
VertexLabelStyle -> LightGray]
Out[1]=

さまざまなポーズの簡単な画像を表示する.
In[2]:=

With[{v = Take[VertexList[poseGraph], 5]},
schm = Rule @@@ Transpose[{v, EntityValue[v, "Schematic"]}]
] // Column
Out[2]=

インターリンケージを共有する「コミュニティ」ごとにポーズをグループ化してプロットする.
In[3]:=

CommunityGraphPlot[EdgeList[poseGraph] /. e_DirectedEdge :> Reverse@e,
VertexLabels -> Placed["Name", Tooltip]]
Out[3]=

アシュタンヨガの基本シーケンスにおける一連のポーズで収縮する筋肉を数え,使用される筋肉数とともにプロットする.
完全なWolfram言語入力を表示する
Out[5]=

太陽礼拝Aの一連のポーズで伸ばされる筋肉を求め,最も品番に伸ばされる筋肉を可視化する.
In[6]:=

muscles = (SortBy[
Tally[DeleteMissing[
Flatten[EntityValue[
Cases[Entity["YogaSequence", "SunSalutationA"][
"PrimaryPoseSequence"], _Entity, Infinity],
"StretchedMuscles"]]]], Last] // Reverse) // Take[#, 20] &
Out[6]=

最も頻繁に伸ばされる筋肉を可視化する.
In[7]:=

EntityValue[muscles[[1, 1]], "RegionalLocationImage"]
Out[7]=

隠的に定義された実体クラスを使って,脚の筋肉を伸ばし体幹(コア)の筋肉を鍛える,初心者用の中等度強度のヨガポーズを求め,可視化する.
In[8]:=

EntityList[
Entity["YogaPose", {"ExperienceLevel" -> "Beginner",
"IntensityLevel" -> "Medium",
"SitesOfImprovedMobility" -> Entity["AnatomicalStructure", "Leg"],
"SitesOfImprovedStrength" ->
Entity["AnatomicalStructure", "Abdomen"]}]]
Out[8]=

これらのポーズの簡単な画像を実体の連想として見る.
In[9]:=

EntityList[
Entity["YogaPose", {"ExperienceLevel" -> "Beginner",
"IntensityLevel" -> "Medium",
"SitesOfImprovedMobility" -> Entity["AnatomicalStructure", "Leg"],
"SitesOfImprovedStrength" ->
Entity["AnatomicalStructure", "Abdomen"]}]];
EntityValue[Take[%, 5], "Schematic", "EntityAssociation"]
Out[9]=

腸腰筋を鍛え膝腱を伸ばす,上級者用のヨガのポーズを表示する.
In[10]:=

EntityValue[
Entity["YogaPose", {"ExperienceLevel" -> "Advanced",
"PrimaryContractedMuscles" ->
Entity["AnatomicalStructure", "Iliopsoas"],
"StretchedMuscles" ->
Entity["AnatomicalStructure",
"SetOfHamstringMuscles"]}], "Schematic", "EntityAssociation"]
Out[10]=

持続時間が30分から60分の間になるヨガのシーケンスを求める.
In[11]:=

EntityList@
Entity["YogaSequence", {"EstimatedDuration" ->
Quantity[ Interval[{30, 60}], "Minutes"]}]
Out[11]=
