@Test
public void testTuplePatternsWithDifferingLengthsAreAccepted() {

    GraphPattern<String, String> pattern = new GraphPattern<>(
            tuplePattern("?x", "knows", "?y"),
            tuplePattern("?x", "age", "21", "2016graph")
    );
    assertEquals(2, pattern.getPatterns().length);
}