fact.tex (1045B)
1 \begin{tikzpicture} 2 \node (capital) at (0, 0) {\textsl{capital of}\textsuperscript{\,\wdrel{1376}}}; 3 \node[left=0mm of capital] (paris) {\vphantom{capital of}Paris\textsuperscript{\,\wdent{90}}}; 4 \node[right=0mm of capital] (france) {\vphantom{capital of}France\textsuperscript{\,\wdent{142}}}; 5 6 \draw[decorate,decoration={brace,amplitude=5}] ($(capital.north west) + (1mm,0)$) -- ($(capital.north east) + (-1mm,0)$) node [midway,anchor=south,yshift=1mm] {\vphantom{entity}relation}; 7 \draw[decorate,decoration={brace,amplitude=5}] ($(paris.north west) + (1mm,0)$) -- ($(paris.north east) + (-1mm,0)$) node [midway,anchor=south,yshift=1mm,align=center] {head\\entity}; 8 \draw[decorate,decoration={brace,amplitude=5}] ($(france.north west) + (1mm,0)$) -- ($(france.north east) + (-1mm,0)$) node [midway,anchor=south,yshift=1mm,align=center] {tail\\entity}; 9 10 \draw[decorate,decoration={brace,amplitude=5}] ($(france.south east) + (-1mm,0)$) -- ($(paris.south west) + (1mm,0)$) node [midway,anchor=north,yshift=-2mm] {fact}; 11 \end{tikzpicture}