Matching input schema of query_lsd.py to bayestar