Created
January 10, 2019 10:29
-
-
Save tom-sherman/719580aea3b4553e6d10728e06a578aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<rbl:kb xmlns:rbl="http://rbl.io/schema/RBLang"> | |
<concept name="person" type="string" /> | |
<concept name="language" type="string" /> | |
<concept name="country" type="string" /> | |
<rel name="speaks" subject="person" object="language" plural="true"> | |
<firstForm>Does %S speak %O</firstForm> | |
<secondFormSubject>Who speaks %O?</secondFormSubject> | |
<secondFormObject>What language does %S speak?</secondFormObject> | |
</rel> | |
<rel name="lives in" subject="person" object="country" plural="false"> | |
<firstForm>Does %S live in %O?</firstForm> | |
<secondFormSubject>Who lives in %O?</secondFormSubject> | |
<secondFormObject>Where does %S live?</secondFormObject> | |
</rel> | |
<rel name="national language" subject="country" object="language" plural="false"> | |
<firstForm>Is the national language of %S %O?</firstForm> | |
<secondFormSubject>Which country's national language is %O?</secondFormSubject> | |
<secondFormObject>What is the national language of %S?</secondFormObject> | |
</rel> | |
<concinst name="Fred" type="person" /> | |
<concinst name="English" type="language" > | |
<meta type="md"> | |
A West Germanic language that was first spoken in early medieval England and is now a global lingua franca. | |
</meta> | |
</concinst> | |
<concinst name="French" type="language" > | |
<meta type="md"> | |
A Romance language, belonging to the Indo-European family that is an official language in 29 countries, most of which form la francophonie (in French), the community of French-speaking countries. | |
</meta> | |
</concinst> | |
<concinst name="England" type="country" > | |
<meta type="md"> | |
England is a country that is part of the United Kingdom. It shares land borders with Scotland to the north and Wales to the west. | |
</meta> | |
</concinst> | |
<concinst name="France" type="country" > | |
<meta type="md"> | |
Officially the French Republic (French: République française) , France is a sovereign country in Western Europe that includes several overseas regions and territories. | |
</meta> | |
</concinst> | |
<relinst type="national language" subject="England" object="English" /> | |
<relinst type="national language" subject="France" object="French" /> | |
<relinst type="lives in" subject="Fred" object="England" /> | |
<relinst type="speaks" cf="75" > | |
<condition rel="lives in" subject="%S" object="%COUNTRY" /> | |
<condition rel="national language" subject="%COUNTRY" object="%O" /> | |
</relinst> | |
</rbl:kb> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment