Skip to content

Feature request: Predicate lists #23

@cristianvasquez

Description

@cristianvasquez

Hello,

Great work with Aspen, thank you very much!. I will start experimenting with it :)

I have a suggestion, which is to borrow the 'predicate lists' feature from the turtle syntax (https://www.w3.org/TR/turtle/#sec-intro)

This allows to not repeat the starting nodes each time, by using the ';' character

So if you have


default Person, name
default_attribute Employer, company_name
reciprocal knows, is friends with

# Write out the narrative data
(Matt) [is friends with] (Brianna).
(Eliza) [knows] (Brianna).
(Matt) [is friends with] (Eliza).

(Matt) [works for] (Employer, UMass Boston).

This can be prettified to:


default Person, name
default_attribute Employer, company_name
reciprocal knows, is friends with

# Write out the narrative data
(Matt) 	[is friends with] (Brianna) ;
	[is friends with] (Eliza) ;
	[works for] (Employer, UMass Boston) .

(Eliza) [knows] (Brianna).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions