Legislative is related to Court. Court is related to Official. Official is related to Ceremony. 
Academic is related to Philosophy. Logic is a type of Philosophy. Logic is related to Order. 
Legislative <--RelatedTo--> Court <--RelatedTo--> Official <--RelatedTo--> Ceremony 
Academic <--RelatedTo--> Philosophy <--IsA-- Logic <--RelatedTo--> Order 