Results

ARBQ
ad1732calyearvarious1
ad1799calyearvarious1
ad1789calyearvarious1
ad1735calyearvarious1
ad1826calyearvarious1
ad1796calyearvarious1
ad1743calyearvarious1
ad1800calyearvarious1
ad1751calyearvarious1
ad1836calyearvarious1
ad1808calyearvarious1
ad1758calyearvarious1
ad1831calyearvarious1
ad1816calyearvarious1
ad1767calyearvarious1
ad1848calyearvarious1
ad1824calyearvarious1
ad1845calyearvarious1
ad1828calyearvarious1
ad1782calyearvarious1
ad1862calyearvarious1
ad1773calyearvarious1
ad1841calyearvarious1
ad1840calyearvarious1
ad1790calyearvarious1
ad1795calyearvarious1
ad1849calyearvarious1
ad1844calyearvarious1
ad1784calyearvarious1
ad1850calyearvarious1
ad1874calyearvarious1
ad1804calyearvarious1
ad1869calyearvarious1
ad1852calyearvarious1
ad1791calyearvarious1
ad1868calyearvarious1
ad1856calyearvarious1
ad1809calyearvarious1
ad1865calyearvarious1
ad1860calyearvarious1
ad1875calyearvarious1
ad1822calyearvarious1
ad1885calyearvarious1
ad1893calyearvarious1
ad1876calyearvarious1
ad1881calyearvarious1
ad1880calyearvarious1
ad1829calyearvarious1
ad1886calyearvarious1
ad1837calyearvarious1
ad1908calyearvarious1
ad1884calyearvarious1
ad1833calyearvarious1
ad1901calyearvarious1
ad1888calyearvarious1
ad1843calyearvarious1
ad1896calyearvarious1
ad1858calyearvarious1
ad1919calyearvarious1
ad1904calyearvarious1
ad1857calyearvarious1
ad1930calyearvarious1
ad1924calyearvarious1
ad1912calyearvarious1
ad1923calyearvarious1
ad1920calyearvarious1
ad1872calyearvarious1
ad1933calyearvarious1
ad1964calyearvarious1
ad1928calyearvarious1
ad1882calyearvarious1
ad1945calyearvarious1
ad1932calyearvarious1
ad1972calyearvarious1
ad1948calyearvarious1
ad1890calyearvarious1
ad1969calyearvarious1
ad1952calyearvarious1
ad1917calyearvarious1
ad1963calyearvarious1
ad1960calyearvarious1
ad1973calyearvarious1
ad1913calyearvarious1
ad1994calyearvarious1
ad1968calyearvarious1
ad2006calyearvarious1
ad1974calyearvarious1
ad1976calyearvarious1
ad1911calyearvarious1
ad2004calyearvarious1
ad1980calyearvarious1
ad2018calyearvarious1
ad1988calyearvarious1
ad1946calyearvarious1
ad1992calyearvarious1
ad2000calyearvarious1
ad1961calyearvarious1
ad2008calyearvarious1
ad2016calyearvarious1
ad1942calyearvarious1
ad2020calyearvarious1

Code

Memelang:  .calyear

SQL:  SELECT * FROM meme m0 WHERE m0.rid='calyear' AND m0.qnt!=0;

Memelang Demo

This is demonstration of translating Memelang to SQL for querying relational databases. See the PHP code in GitHub. A Python implementation is coming soon. Example queries:

Show all data in the database.

qry.all

All about George Washington.

george_washington

Who were children of the presidents?

.child

Which presidents were members of the Whig party?

.party:whig

Which presidents were born before 1820?

.birth.year:ad<1820

Which presidents attended Columbia and were lawyers?

.college:columbia .lawyer

Who were the spouses of the twentieth through thirtieth presidents?

.president_order>=20 .president_order<=30 .spouse

Which presidents did not have children?

.president_order .child=f

Use qry.all to return all memes related to the matching As.

.college:harvard .college:columbia qry.all

Get all about James Carter as well as Ronald Reagan.

james_carter; ronald_reagan

Which presidents were lawyers that attended Harvard or William and Mary?

.lawyer .college:harvard=t1 .college:william_and_mary=t1

What were the professions of the presidents?

?profession

What were the professions of George Washington?

george_washington?profession

Which presidents previously worked for New York state?

new_york'?profession

Which presidents has children that became presidents?

.child.president_order