Ontologies with Python: Programming OWL 2.0 Ontologies with Python and Owlready2 1st Edition Lamy Jean-Baptiste All Chapters Instant Download
Ontologies with Python: Programming OWL 2.0 Ontologies with Python and Owlready2 1st Edition Lamy Jean-Baptiste All Chapters Instant Download
com
https://ebookmeta.com/product/ontologies-with-python-
programming-owl-2-0-ontologies-with-python-and-
owlready2-1st-edition-lamy-jean-baptiste/
OR CLICK BUTTON
DOWNLOAD NOW
https://ebookmeta.com/product/ontologies-with-python-programming-
owl-2-0-ontologies-with-python-and-owlready2-1st-edition-lamy-jean-
baptiste-2/
ebookmeta.com
https://ebookmeta.com/product/python-programming-with-design-
patterns-1st-edition-james-cooper/
ebookmeta.com
https://ebookmeta.com/product/learn-tensorflow-2-0-implement-machine-
learning-and-deep-learning-models-with-python-1st-edition-pramod-
singh/
ebookmeta.com
https://ebookmeta.com/product/handbook-of-polish-czech-and-slovak-
holocaust-fiction-works-and-contexts-1st-edition-elisa-maria-hiemer-
editor/
ebookmeta.com
Archaeology of Religion in South Asia Buddhist Brahmanical
and Jaina Religious Centres in Bihar and Bengal c AD 600
1200 1st Edition Birendra Nath Prasad
https://ebookmeta.com/product/archaeology-of-religion-in-south-asia-
buddhist-brahmanical-and-jaina-religious-centres-in-bihar-and-bengal-
c-ad-600-1200-1st-edition-birendra-nath-prasad/
ebookmeta.com
https://ebookmeta.com/product/the-woman-with-the-ring-1st-edition-
jessica-gadziala/
ebookmeta.com
Falling for the Wolf The fated 1 1st Edition Lilura Sloane
https://ebookmeta.com/product/falling-for-the-wolf-the-fated-1-1st-
edition-lilura-sloane/
ebookmeta.com
https://ebookmeta.com/product/rise-sin-and-secrets-0-5-1st-edition-
various-authors/
ebookmeta.com
https://ebookmeta.com/product/hamiltonian-monte-carlo-methods-in-
machine-learning-tshilidzi-marwala/
ebookmeta.com
Singularity Now The Artificial Intelligence Timeline A
reader s and investor s guide to the technological event
horizon artificial intelligence automation robotics and
beyond February 2017 1st Edition Singularity Now
https://ebookmeta.com/product/singularity-now-the-artificial-
intelligence-timeline-a-reader-s-and-investor-s-guide-to-the-
technological-event-horizon-artificial-intelligence-automation-
robotics-and-beyond-february-2017-1st-edition/
ebookmeta.com
Lamy Jean-Baptiste
Standard Apress
Trademarked names, logos, and images may appear in this book. Rather
than use a trademark symbol with every occurrence of a trademarked
name, logo, or image we use the names, logos, and images only in an
editorial fashion and to the benefit of the trademark owner, with no
intention of infringement of the trademark. The use in this publication
of trade names, trademarks, service marks, and similar terms, even if
they are not identified as such, is not to be taken as an expression of
opinion as to whether or not they are subject to proprietary rights.
The publisher, the authors and the editors are safe to assume that the
advice and information in this book are believed to be true and accurate
at the date of publication. Neither the publisher nor the authors or the
editors give a warranty, express or implied, with respect to the material
contained herein or for any errors or omissions that may have been
made. The publisher remains neutral with regard to jurisdictional
claims in published maps and institutional affiliations.
Distributed to the book trade worldwide by Springer Science+Business
Media New York, 1 New York Plaza, Suite 4600, New York, NY 10004-
1562, USA. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-
ny@springer-sbm.com, or visit www.springeronline.com. Apress Media,
LLC is a California LLC and the sole member (owner) is Springer
Science + Business Media Finance Inc (SSBM Finance Inc). SSBM
Finance Inc is a Delaware corporation.
Acknowledgments
I would like to thank Moushin Gaouar, Appoh Kouame, and Adrien
Basse for being among the first to test Owlready, as well as my friends
and/or colleagues Rosy Tsopra, Gaoussou Camara, Antoine Gellman,
Patricia Nadjar, Antoine Saab, David Perlmutter, Arnaud Rosier, Karima
Sedki, Fadi Badra, Jordon Ritchie, Brandon Welch, Lina Soualmia, and
Marie-Christine Jaulent for discussions on ontologies, long or short, and
sometimes even before the existence of Owlready.
I also thank the ANSM (Agence Nationale de Sécurité du
Médicament et des produits de santé, French drug agency) for having
funded the VIIIP project (Integrated Visualization of Information on
Therapeutic Innovation), during which Owlready was born (at the time
under the name “Ontopy”).
Finally, I thank all members of the Owlready forum on Nabble (
http://owlready.8326.n8.nabble.com/ ) for their requests
and their advice, which greatly influenced the content of this book.
Table of Contents
Chapter 1:Introduction
1.1 Who is this book for?
1.2 Why ontologies?
1.3 Why Python?
1.4 Why Owlready?
1.5 Book outline
1.6 Summary
Chapter 2:The Python language:Adopt a snake!
2.1 Installing Python
2.2 Starting Python
2.3 Syntax
2.3.1 Comments
2.3.2 Writing on screen
2.3.3 Help
2.3.4 Variables
2.3.5 Indentation
2.4 Main datatypes
2.4.1 Integer (int) and floating-point numbers (float)
2.4.2 Booleans (bool)
2.4.3 Character strings (str)
2.4.4 Lists (list)
2.4.5 Tuples (tuple)
2.4.6 Dictionaries (dict and defaultdict)
2.4.7 Sets (set)
2.4.8 Files (open)
2.4.9 Conversion between datatypes
2.5 Conditions (if)
2.6 Loops (for)
2.7 Generators
2.8 Functions (def)
2.9 Classes (class)
2.9.1 Classes and instances
2.9.2 Inheritance
2.9.3 Special method names
2.9.4 Functions and operators for object-oriented
programming
2.10 Python modules
2.10.1 Importing a module
2.10.2 Installing additional modules
2.11 Installing Owlready2
2.11.1 Installing Owlready2 from terminal
2.11.2 Installing Owlready2 from IDLE or Spyder (or any
Python shell)
2.11.3 Manual installation of Owlready2
2.12 Summary
Chapter 3:OWL ontologies
3.1 An ontology… what does it look like?
3.2 Creating ontologies manually with the Protégé editor
3.3 Example:An ontology of bacteria
3.4 Creating a new ontology
3.4.1 Classes
3.4.2 Disjoints
3.4.3 Partitions
3.4.4 Data properties
3.4.5 Object properties
3.4.6 Restrictions
3.4.7 Union, intersection, and complement
3.4.8 Definitions (equivalent-to relations)
3.4.9 Individuals
3.4.10 Other constructs
3.5 Automatic reasoning
3.6 Modeling exercises
3.7 Summary
Chapter 4:Accessing ontologies in Python
4.1 Importing Owlready
4.2 Loading an ontology
4.3 Imported ontologies
4.4 Listing the content of the ontology
4.5 Accessing entities
4.5.1 Individuals
4.5.2 Relations
4.5.3 Classes
4.5.4 Existential restrictions
4.5.5 Properties
4.6 Searching for entities
4.7 Huge ontologies and disk cache
4.8 Namespaces
4.9 Modifying entity rendering as text
4.10 Local directory of ontologies
4.11 Reloading an ontology in the quadstore
4.12 Example:creating a dynamic website from an ontology
4.13 Summary
Chapter 5:Creating and modifying ontologies in Python
5.1 Creating an empty ontology
5.2 Creating classes
5.2.1 Creating classes dynamically
5.3 Creating properties
5.4 Creating individuals
5.5 Modifying entities:relations and existential restrictions
5.6 Creating entities within a namespace
5.7 Renaming entities (refactoring)
5.8 Multiple definitions and forward declarations
5.9 Destroying entities
5.10 Destroying an ontology
5.11 Saving an ontology
5.12 Importing ontologies
5.13 Synchronization
5.14 Example:populating an ontology from a CSV file
5.14.1 Populating with individuals
5.14.2 Populating with classes
5.15 Summary
Chapter 6:Constructs, restrictions, and class properties
6.1 Creating constructs
6.2 Accessing construct parameters
6.3 Restrictions as class properties
6.4 Defined classes
6.5 Example:creating the ontology of bacteria in Python
6.6 Example:populating an ontology with defined classes
6.6.1 Populating using class properties
6.6.2 Populating using constructs
6.7 Summary
Chapter 7:Automatic reasoning
7.1 Disjoints
7.2 Reasoning with the Open-World assumption
7.3 Reasoning in a closed world or in a local closed world
7.4 Inconsistent classes and inconsistent ontologies
7.5 Restriction and reasoning on numbers and strings
7.6 SWRL rules
7.6.1 SWRL syntax
7.6.2 SWRL rules with Protégé
7.6.3 SWRL rules with Owlready
7.6.4 Advantages and limits of SWRL rules
7.7 Example:an ontology-based decision support system
7.8 Summary
Chapter 8:Annotations, multilingual texts, and full-text search
8.1 Annotating entities
8.2 Multilingual texts
8.3 Annotating constructs
8.4 Annotating properties and relations
8.5 Creating new annotation classes
8.6 Ontology metadata
8.7 Full-text search
8.8 Example:Using DBpedia in Python
8.8.1 Loading DBpedia
8.8.2 A search engine for DBpedia
8.9 Summary
Chapter 9:Using medical terminologies with PyMedTermino and
UMLS
9.1 UMLS
9.2 Importing terminologies from UMLS
9.3 Loading terminologies after initial importation
9.4 Using ICD10
9.5 Using SNOMED CT
9.6 Using UMLS unified concepts (CUI)
9.7 Mapping between terminologies
9.8 Manipulating sets of concepts
9.9 Importing all terminologies in UMLS
9.10 Example:Linking the ontology of bacteria with UMLS
9.11 Example:A multi-terminology browser
9.12 Summary
Chapter 10:Mixing Python and OWL
10.1 Adding Python methods to OWL classes
10.2 Associating a Python module to an ontology
10.2.1 Manual import
10.2.2 Automatic import
10.3 Polymorphism with type inference
10.4 Introspection
10.5 Reading restrictions backward
10.6 Example:Using Gene Ontology and managing “part-of”
relations
10.7 Example:A “dating site” for proteins
10.8 Summary
Chapter 11:Working with RDF triples and worlds
11.1 RDF triples
11.2 Manipulating RDF triples with RDFlib
11.2.1 Reading RDF triples
11.2.2 Creating new RDF triples with RDFlib
11.2.3 Removing RDF triples with RDFlib
11.3 Performing SPARQL requests
11.3.1 Searching with SPARQL
11.3.2 SPARQL prefixes
11.3.3 Creating RDF triples with SPARQL
11.3.4 Removing RDF triples with SPARQL
11.4 Accessing RDF triples with Owlready
11.5 Interrogating the SQLite3 database directly
11.6 Adding support for custom datatypes
11.7 Creating several isolated worlds
11.8 Summary
Appendix A:Description logics
Appendix B:Notations for formal ontologies
Appendix C:Reference manual
C.1 World class
C.2 Ontology class
C.3 Classes (ThingClass class)
C.4 Individuals (Thing class)
C.5 Properties (PropertyClass class and its descendants)
C.6 Constructs (Contruct class and its descendants)
C.6.1 Restriction class
C.6.2 Intersection (And class)
C.6.3 Union (Or class)
C.6.4 Complement (Not class)
C.6.5 Property inverse (Inverse class)
C.6.6 Individual set (OneOf class)
C.7 SWRL rules
C.7.1 Variable class
C.7.2 Rules (Imp class)
C.7.3 Class assertion atom (ClassAtom class)
C.7.4 Datatype assertion atom (DataRangeAtom class)
C.7.5 Object property value atom (IndividualPropertyAtom class)
C.7.6 Data property value atom (DatavaluedPropertyAtom class)
C.7.7 Same individual atom (SameIndividualAtom class)
C.7.8 Distinct individual atom (DifferentIndividualAtom class)
C.7.9 Built-in function atom (BuiltinAtom class)
C.8 PyMedTermino2
C.8.1 Terminology class
C.8.2 Concept in a terminology
C.8.3 Set of concepts (Concepts class)
C.9 Global functions
Index
About the Author
Lamy Jean-Baptiste
is a senior lecturer at Sorbonne Paris
Nord University and a member of the
LIMICS, a research lab focused on
biomedical informatics. He is also the
developer of the Owlready2 Python
module that allows access to OWL
ontologies. He has developed many
research prototypes, and one of them
(VCM iconic medical language) has been
patented in the United States, with three
licenses sold to industrial partners.
Jean-Baptiste speaks regularly at
artificial intelligence and medical
informatics conferences, has written over 50 journal papers, and is a
moderator on the Owlready forum on Nabbles. He was awarded the
best paper award at MEDINFO 2019, the largest international
conference in medical informatics.
Other documents randomly have
different content
he was dead drunk! The Chinese, however, usually take opium in
moderation, after their meals, just as we do beer and wine, and no
discredit attaches to such a use of it. The practice is more fascinating
than the use of intoxicating drinks, and more easily glides into
excess. Of teachers in China, unfortunately for them, there is an
immense supply owing to the number of disappointed candidates at
the competitive examinations for the Government service. In this
Chin-wan schoolhouse I met a fat man who had been in Hong-Kong,
and spoke a little English. If there was any self-approval in my air in
telling him that I had walked over the hills, it met with a speedy and
severe check, for he immediately said—“Eiya! Hab walkee! allo same
one coolie.” This was complimentary, but I had my revenge; for the
fat man told me that he was a gentleman living at his ease, whereas I
discovered him, early next morning, in a butcher’s shop, with his
sleeves tucked up dissecting a fat pig, into whose entrails he
staggered on my finding him, and exclaiming, “Hulloa! Allo same
one butcher.” It is due to the Chinese, however, to state, that very few
of them are ashamed of, or attempt to conceal, their occupations.
Hitherto I had been trifling with the excursion, but next day
Aheung knew by our starting early that we were in for work; and
deep gloom came over his countenance when he saw the direction I
was taking up the Chin-wan or Talshan Valley, towards an old and
totally unfrequented path which leads over a shoulder of the Tai-mon
shan, or “Great Hat Mountain.” No part of the Scotch Highlands
presents a more picturesque appearance than the upper part of this
valley, so plentifully are the small pines scattered about, so deep the
pools, so wild the stream, so huge and fantastic the shattered rocks.
The Great Hat Mountain, over a lower portion of which we go, is
about 4000 feet high, and terraced up to the very top, showing it was
cultivated at some former period; but now it is entirely without
habitations, and covered with long rank grass of the coarsest kind,
which forms a serious obstacle to the ascent. I got up to the top once,
with great difficulty, and was rewarded by a magnificent panorama
of sea and islands, mountains and plains. Even Canton could be seen
in the distance; the villages looked as if they could be counted by
hundreds, and every island was fringed round with numerous junks
and fishing-boats. Considering that the country round is one of the
most sparsely populated parts of China, the innumerable indications
of human life were somewhat surprising. In conjunction with what I
have seen in more thickly habitated parts of China, such as the
valleys of the great rivers, I incline to think that the numbers given
by the last census which I know of as available were certainly not
above the truth. It was taken about 1840, and the members of the
Russian Legation at Peking, who had access to it, gave the entire
population of the Chinese empire at 412 millions. An old legend
regarding the Tai-mon is, that a proprietor and feudal chief in its
neighbourhood gave protection and support to the sister of a
dethroned Chinese emperor, and, on the emperor regaining power,
he rewarded the chief by giving him all the circle of country which he
could see from that mountain. It would almost require some such
reward to induce one a second time to encounter the fatigue and
irritation of ascending it in its present condition. The Chinese have a
great idea of the influence of mountains, speaking of them as more or
less “powerful,” but this one has no particular reputation that way.
The old path we are now taking is in great part overgrown with grass,
and leads through a complete mountain solitude, where the silence is
broken only by the wind rustling in the rank herbage, and no signs of
life meet the eye. Aheung motions me to carry my revolver in my
hand; he is in an agony of terror, and I can distinguish him uttering
the words lu tsaak, or road-robber, and lo foo, or tiger—two beings
with which the Chinese imagination peoples the whole country. To
hear them talk of tigers, one would think these animals were as thick
as blackberries. Nothing was more common than for villagers to say
to me, “There is a tiger about here; would you be good enough to go
out and shoot it?” as if I had only to step to the door in order to find
one; whereas the fact is, that I never saw the slightest trace of any,
though a few certainly do exist. At first I used to be startled by the
information constantly tendered that there was a party of road-
robbers watching the path a little way on; but as they never
appeared, I began to get quite sceptical on the subject, until at last I
did unexpectedly meet with five of them, armed with short swords,
who were holding the top of a mountain pass. I was travelling in a
chair at the time, and on seeing this obstacle my coolies at once put
down the chair, and refused to proceed farther. I tried to represent to
them that though the robbers were five, we were five also; they
replied that they were paid to carry me, not to fight. Deeming it safer
to go forward than to go back, I walked up to the men, revolver in
hand; and whenever they saw I was so armed, they made off, greatly
to my relief, as only three chambers were loaded. Chinese pirates and
highwaymen do not live to rob, but rob to live; and so they like to be
pretty safe in what they do. As they are lawless only to prolong their
lives, it seems to them the height of absurdity to put themselves in
any decided peril for the sake of plunder. Theirs is a highly rational
system, in consonance with the practical tendencies of the Celestial
mind.
Notwithstanding Aheung’s terrors, we got quite undisturbed over
the Tai Mon, and reached before dusk a solitary Buddhist monastery,
situated in a wood at the head of and overlooking the Pak-heung, or
“Eight Village” Valley. As we came down on this place, I heard the
firing of a clan-fight at one of the villages below; and often as I have
been in the Pak-heung, never have I been there without finding a
fight going on, either between two or more of its own villages, or
between one or all of its villages and those of the Shap-heung, or
“Ten Village” Valley, immediately contiguous. They seemed to have
as much stomach for fighting as Aheung had for worship, and the
blame was laid chiefly on a large village called Kum-tin, or “Fertile
Land,” which suffered from a plethora of wealth, and had disputed
claims to land in various directions. Of all places I knew in that
neighbourhood, this monastery was my favourite haunt, from the
view it commanded, its cleanliness, its secluded position, and its
internal quiet. The two or three monks occupying it were always glad
to see me, as I gave them presents, and afforded relief to the tedium
of their life. On this occasion they gave me, as usual, a hearty
welcome; but I was rather startled, on being awakened about
midnight by loud shouts, knocking at the outer door, and the flashing
of torches beneath my window. This turned out to be some men from
one of the fighting villages, who had taken it into their heads to come
up to the monastery at that unseasonable hour for mingled purposes
of thanksgiving and jollification, and who remained there till
morning. They were, however, perfectly civil, and showed no
disposition to interfere with me in any way, except in questioning
Aheung as to where he came from, and what clan he belonged to.
Had he been one of that with which they were fighting, the
probability is they would have made him a prisoner.
It was delightful in the morning to sit in the cool air on the terrace
in front of this cold or Icy-Cloud Monastery, as it is called, and watch
the light mist rolling off the Pak-heung Valley, and brightening over
the waters of Deep Bay. Soon from every village the smoke of
household fires rose into the calm clear air, while, every ten minutes
or so, the boom of a gingall came from the combatants beneath, and
reverberated on the grand cliff behind us. The young green rice of the
fields below was like a vast lake lying round the villages and wooded
knolls, except where in the upper slopes it flowed down from field to
field like a river, bearing good promise for the stomachs of
industrious hungry men. The little wooded islets rose from the rice
sea with their temples and ancestral halls as out of the world’s
everyday work and life. On either side of the wide Pak-heung were
great, bare, sublime blocks of mountains, with white fleecy clouds
occasionally floating across God’s bright blue sky, while fish were
leaping in the pond below, and doves were cooing in the trees
around.
But one must have breakfast. The resources of the country are
confined to rice, salted vegetables, and bean-paste, which are not
particularly tempting; but we brought some fish with us, and Aheung
has procured some eggs and pork in the nearest village. Strictly
speaking, this being a Buddhist place of worship, no food that has
had life in it should be allowed to enter; but there are only two
monks here at present—an old man and a neophyte—and my
sacrilege is winked at. Nay, it is more than winked at, for, as we
breakfast together, the chopsticks of the monk gradually deviate
towards the palatable fried salt-water fish. Curiously and inquiringly
he turns one over, and then, as if satisfied with the result of his
careful examination, the old sophist exclaims, “Hai
tsai!”—“Vegetables of the sea!” and immediately swallows a piece.
Under this cunning and specious phrase he continues to dispose of a
very fair quantity of fish; but the pork was a little too much for his
conscience, and he affected not to see it at all. He also pretended, my
hair being cropped close, to believe that I was a Buddhist. On
learning that we were going to a place called Li-long, he briefly
informed me that the men of Li-long were robbers, and immediately
thereafter shovelled in a vast quantity of rice into his mouth, as if he
were afraid to say anything more on that painful subject. This monk,
who was quite hale and strong, said he was seventy years old, and
looked as if he might live as many more. His occupations, which he
took very easily, were praying, chanting, bowing, and reading. The
Chinese Buddhists have the idea that, by retiring to solitary places,
avoiding bodily activity and all sensual indulgence, living with
extreme temperance, and spending their days in meditation and
prayer, the vital power is preserved in the system, and gradually
collects towards the crown of the head, until at last the devotee gains
the possession of supernatural powers. I did not observe that this old
gentleman was distinguished in that particular; and the neophyte, it
is to be feared, was in a bad way, for I once detected him, the monk
being absent, sitting down with a youthful visitor to a dinner where
figured the unholy articles of fowl, pork, and Chinese wine, of the
two former of which he partook. On a previous visit to this place, a
wicked friend of mine, who had full command of the language,
disturbed the mind of the neophyte by ardent praise of the gentler
sex; and on reading the inscription, “May the children and
grandchildren of the contributors [to the monastery] gloriously
increase,” he asked him how he could expect his children to increase!
This youth was also fond of reading Christian tracts in Chinese.
Altogether, what with forbidden literature, forbidden diet, and
discourses on the forbidden sex, I fear the neophyte will never attain
to miraculous powers.
These Buddhist temples and monasteries are thickly scattered over
China. They are often buildings of great size, and afford the best
resting-place for travellers, but usually the staff of priests is very
small indeed, and these bear no very good name among the people.
This one of the Icy Cloud had not so much as a dozen rooms of
various sizes, but it was compact and well built. The walls had a few
frescoes of non-perspective landscapes, with grotesque devils in the
foreground; there were also statues of Buddha, of Kiu-tsaang-keun,
or the “Heavenly General,” and of Koon Yum, the Hearer of Cries, or
Goddess of Grace, to whom it was specially dedicated. Worshippers
were very rarely to be seen in it. Many inscriptions, of which the
following are examples, were hung upon the walls:—
“It is easy to leave the world; but if the heart is gross, and you cannot cease
thinking of the mud and trouble of life, your living in a deep hill is vain.”
“To be a Buddhist is easy, but to keep the regulations is difficult.”
“It is easy to preach doctrines (taali), but to apprehend principles is difficult.”
“If you do not put forth your works, but only preach, your strength is emptily
wasted; and if you talk till you break your teeth, even then it will be in vain.”
“If you are entirely without belief and desire (will), and do not attend to the
prohibitions, then your strength will have been uselessly wasted, and your head
shaved to no purpose.”
“May the precious ground (of the monastery) be renewed.”
“To be intimate, and not divided, consists in the virtuous roots being gathered in
a place.”
“When the image was asked why it turned round and fell backward, it said,
‘Because the people of the time would not turn their heads;’” [they probably being
a stiff-necked generation, like the people of many other times and places.]
“Peacefully seclude and regulate yourselves.”
Much more than that in which lies the tomb of Shelley is the
situation of some of these Celestial graves fitted to make one “in love
with death,” and there is much consoling in the thought which the
Chinaman can entertain, that when the cold hand has stilled the
beatings of the troubled heart, his disembodied spirit does not want
a home, his name and memory are perpetuated in the ancestral hall,
his wants are provided for, and the daughter whom he left a child
feels that he is near her even to her old age. How different these
convictions from the melancholy complaint of Abd-el-Rohaman, the
Arab poet, as, fancying himself in the grave, forsaken and forgotten
by all his kin, he wrote:—
“They threw upon me mould of the tomb and went their way,—
A guest, ’twould seem, had flitted from the dwellings of the tribe.
My gold and my treasures, each his share, they bore away,
Without thanks, without praise, with a jest and with a jibe.
“My gold and my treasures, each his share, they bore away;
On me they left the weight, with me they left the sin.
That night within the grave, without hoard or child, I lay:
No spouse, no friend was there, no comrade and no kin.