hi guys,
the following are facts from my database for prolog,
node represent points with ID n lat and long
node_tag has similar ID with nodes n more description all the way to way_tag, how do i create a predicate(s) to help me generate one one list with one node and link it to all the rest, please help
node(46315543, 52.35548, 4.84315).
node(46315968, 52.35558, 4.84068).
node_tag(46315543, 'AND_nodes', 221526).
node_tag(46315543, 'source', 'AND').
node_tag(46315968, 'AND_nodes', 221460).
node_tag(46315968, 'source', 'AND').
way(7382895, [46315543, 46315628, 46315973]).
way(7382896, [46315968, 46315971]).
way_tag(7382895, 'name', 'Hodenpijlkade').
way_tag(7382895, 'AND_nosr_r', 15207959).
way_tag(7382895, 'highway', 'unclassified').
way_tag(7382895, 'oneway', 1).
way_tag(7382896, 'name', 'Schipluidenpad').
way_tag(7382896, 'AND_nosr_r', 15207958).
way_tag(7382896, 'highway', 'unclassified').
the following are facts from my database for prolog,
node represent points with ID n lat and long
node_tag has similar ID with nodes n more description all the way to way_tag, how do i create a predicate(s) to help me generate one one list with one node and link it to all the rest, please help
node(46315543, 52.35548, 4.84315).
node(46315968, 52.35558, 4.84068).
node_tag(46315543, 'AND_nodes', 221526).
node_tag(46315543, 'source', 'AND').
node_tag(46315968, 'AND_nodes', 221460).
node_tag(46315968, 'source', 'AND').
way(7382895, [46315543, 46315628, 46315973]).
way(7382896, [46315968, 46315971]).
way_tag(7382895, 'name', 'Hodenpijlkade').
way_tag(7382895, 'AND_nosr_r', 15207959).
way_tag(7382895, 'highway', 'unclassified').
way_tag(7382895, 'oneway', 1).
way_tag(7382896, 'name', 'Schipluidenpad').
way_tag(7382896, 'AND_nosr_r', 15207958).
way_tag(7382896, 'highway', 'unclassified').