Ease of installation/use is the most important factor here - not performance.
Small is OK as large datasets are not expected.
Check out the SWI-Prolog Semantic Web Library. Should be very easy to use, even with little knowledge of Prolog.