<jupyter_start><jupyter_text>PDDLS compiler usage example<jupyter_code>!pip install ..
!pddlsc --help
!pddlsc -d demo2/demo2_domain.pddls -r demo2/objects.ttl -o out.pddl demo2/demo2_problem.pddls
!cat out.pddl
!pddlsc -d demo2/demo2_domain.pddls -r demo2/objects.ttl demo2/hole_onto.ttl -o out.pddl demo2/demo2_problem.pddls
!cat out.pddl<jupyter_output>(define (problem planners-demo2-problem1)
    (:domain planners-demo2)
    (:objects
 CylindricalPillar_1 - pillar TriangularPillar_2 - pillar SquarePillar_3 - pillar CylindricalHole_4 - hole TriangularHole_5 - hole SquareHole_6 - hole    )
    (:init
( available CylindricalPillar_1 )
( available TriangularPillar_2 )
( available SquarePillar_3 )
( clear CylindricalHole_4 )
( clear TriangularHole_5 )
( clear SquareHole_6 )
( = ( number-of-pillars-inserted ) 0 )
( = ( number-of-pillars-to-insert ) 3 )
(insertable CylindricalPillar_1 CylindricalHole_4)
(insertable TriangularPillar_2 TriangularHole_5)
    )
    (:goal
( and ( = ( number-of-pillars-inserted ) ( number-of-pillars-to-insert ) ) )    )
)
{'fraction_non_alphanumeric': 0.10760667903525047, 'fraction_numerical': 0.029684601113172542, 'mean_word_length': 4.1380952380952385, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '276716', 'license': 'MIT', 'n_tokens_mistral': 454, 'n_tokens_neox': 439, 'n_words': 72, 'path': 'examples/demo.ipynb', 'repo_name': 'IBM/PDDLS', 'size': '1078'}