Simple Question (Direct)
Simple Question
Q375484
P734
Q82799
USER
Who has the surname Jean Baptiste Eugène Estienne ?
(Q375484,P734,c(Q82799))
action filter_type
action find
entity Q375484
relation P734
type Q82799
['Q375484', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q375484 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Jean Baptiste Eugène Estienne
action filter_type
action find
entity Jean Baptiste Eugène Estienne
relation family name
type name
['Jean Baptiste Eugène Estienne', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Jean_Baptiste_Eugène_Estienne property:family_name ?s . ?s rdf:type ontology:name }
[]
name
Q745520
SYSTEM
Estienne
Q745520
(Q375484,P734,c(Q82799))
action filter_type
action find
entity Q375484
relation P734
type Q82799
[ANSWER] has the surname Jean Baptiste Eugène [ANSWER]
['Q375484', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q375484 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Estienne
Estienne has the surname Jean Baptiste Eugène Estienne
Estienne
action filter_type
action find
entity Jean Baptiste Eugène Estienne
relation family name
type name
['Jean Baptiste Eugène Estienne', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Jean_Baptiste_Eugène_Estienne property:family_name ?s . ?s rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q375484
P69
Q3914
USER
Which school is that person an alumni of ?
(Q745520,P69,c(Q3914))
action filter_type
action find
entity Q375484
relation P69
type Q3914
['Q745520', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?g WHERE { resource:Q375484 property:P69 ?g . ?g rdf:type ontology:Q3914 }
Jean Baptiste Eugène Estienne
action filter_type
action find
entity Jean Baptiste Eugène Estienne
relation educated at
type school
['Estienne', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?g WHERE { resource:Jean_Baptiste_Eugène_Estienne property:educated_at ?g . ?g rdf:type ontology:school }
[]
school
Q273626
SYSTEM
École Polytechnique
Q273626
(Q745520,P69,c(Q3914))
action filter_type
action find
entity Q375484
relation P69
type Q3914
[ANSWER] is that person an alumni of
['Q745520', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?g WHERE { resource:Q375484 property:P69 ?g . ?g rdf:type ontology:Q3914 }
École Polytechnique
École Polytechnique is that person an alumni of
École Polytechnique
action filter_type
action find
entity Jean Baptiste Eugène Estienne
relation educated at
type school
['Estienne', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?g WHERE { resource:Jean_Baptiste_Eugène_Estienne property:educated_at ?g . ?g rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q375484
P138
Q34442
USER
Which road has that person as its namesake ?
(c(Q34442),P138,Q273626)
action filter_type
action find_reverse
entity Q375484
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q273626']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q375484 . ?q rdf:type ontology:Q34442 }
Jean Baptiste Eugène Estienne
action filter_type
action find_reverse
entity Jean Baptiste Eugène Estienne
relation named after
type road
[{'concept': 'road'}, 'named after', 'École Polytechnique']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:Jean_Baptiste_Eugène_Estienne . ?q rdf:type ontology:road }
[]
road
Q3452346
SYSTEM
rue du Général-Estienne
Q3452346
(c(Q34442),P138,Q273626)
action filter_type
action find_reverse
entity Q375484
relation P138
type Q34442
[ANSWER] has that person as its namesake
[{'concept': 'Q34442'}, 'P138', 'Q273626']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q375484 . ?q rdf:type ontology:Q34442 }
rue du Général-Estienne
Rue du Général-Estienne has that person as its namesake
rue du Général-Estienne
action filter_type
action find_reverse
entity Jean Baptiste Eugène Estienne
relation named after
type road
[{'concept': 'road'}, 'named after', 'École Polytechnique']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:Jean_Baptiste_Eugène_Estienne . ?q rdf:type ontology:road }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P559
Q1777515 Q34442
USER
Which junctions are the endpoints for around 2 roads ?
(c(Q34442),P559,c(Q1777515))
action approx
action find_reverse_tuple_counts
relation P559
type Q1777515
type Q34442
value 2
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?v ) WHERE { ?k rdf:type ontology:Q1777515 . ?p rdf:type ontology:Q34442 . ?p property:P559 ?k } GROUP BY ?k } . FILTER ( ?v = 2 ) }
action approx
action find_reverse_tuple_counts
relation terminus
type junction
type road
value 2
[{'concept': 'road'}, 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?v ) WHERE { ?k rdf:type ontology:junction . ?p rdf:type ontology:road . ?p property:terminus ?k } GROUP BY ?k } . FILTER ( ?v = 2 ) }
[]
junction road
Q2361137 Q20656517 Q2092158
SYSTEM
Coenplein, Avenhorn junction, Hoogeveen interchange
Q20656517 Q2092158 Q19782668 Q19803354 Q2361137 Q2600826 Q2682908
(c(Q34442),P559,c(Q1777515))
action approx
action find_reverse_tuple_counts
relation P559
type Q1777515
type Q34442
value 2
[ANSWERS] are the endpoints for around 2 roads
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?v ) WHERE { ?k rdf:type ontology:Q1777515 . ?p rdf:type ontology:Q34442 . ?p property:P559 ?k } GROUP BY ?k } . FILTER ( ?v = 2 ) }
Avenhorn junction Hoogeveen interchange 's-Gravendeel junction Papendrecht A15 junction Coenplein Velperbroek interchange Westerlee interchange
Coenplein, Avenhorn junction and Hoogeveen interchange are the endpoints for around 2 roads
Coenplein Avenhorn junction Hoogeveen interchange
action approx
action find_reverse_tuple_counts
relation terminus
type junction
type road
value 2
[{'concept': 'road'}, 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?v ) WHERE { ?k rdf:type ontology:junction . ?p rdf:type ontology:road . ?p property:terminus ?k } GROUP BY ?k } . FILTER ( ?v = 2 ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P559
Q1777515 Q34442 Q83620
USER
Which junctions are the terminus for approximately the same number of roads or thoroughfares as that junction ?
(c(Q34442)|c(Q83620),P559,c(Q1777515))
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:Q20202072 ?y } . ?z rdf:type ontology:Q34442 . ?y rdf:type ontology:Q1777515 . ?x rdf:type ontology:Q83620 }
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:terminus ?y } . ?z rdf:type ontology:road . ?y rdf:type ontology:junction . ?x rdf:type ontology:thoroughfare }
[]
junction road thoroughfare
Comparative|More/Less|Mult. entity type|Clarification
Q2092158
SYSTEM
Did you mean Hoogeveen interchange ?
(c(Q34442)|c(Q83620),P559,c(Q1777515))
[ANSWER]
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:Q20202072 ?y } . ?z rdf:type ontology:Q34442 . ?y rdf:type ontology:Q1777515 . ?x rdf:type ontology:Q83620 }
Did you mean Hoogeveen interchange ?
Hoogeveen interchange
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:terminus ?y } . ?z rdf:type ontology:road . ?y rdf:type ontology:junction . ?x rdf:type ontology:thoroughfare }
[]
Comparative Reasoning (All)
USER
No, I meant Avenhorn junction. Could you tell me the answer for that?
(c(Q34442)|c(Q83620),P559,c(Q1777515))
Q20656517
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q1777515'}]
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'junction'}]
[]
Q2361137 Q20656517 Q2650314
SYSTEM
Coenplein, Avenhorn junction, Julianaplein
Q20656517 Q2650314 Q19782668 Q19803354 Q2361137 Q2466108 Q2600826 Q2682908
(c(Q34442)|c(Q83620),P559,c(Q1777515))
[ANSWERS] are the terminus for approximately the same number of roads or thoroughfares as that junction
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q20202072 ?y } UNION { ?x property:Q20202072 ?y } } . ?z rdf:type ontology:Q34442 . ?y rdf:type ontology:Q1777515 . ?x rdf:type ontology:Q83620 }
Avenhorn junction Julianaplein 's-Gravendeel junction Papendrecht A15 junction Coenplein Sint-Annabosch interchange Velperbroek interchange Westerlee interchange
Coenplein, Avenhorn junction and Julianaplein are the terminus for approximately the same number of roads or thoroughfares as that junction
Coenplein Avenhorn junction Julianaplein
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ?y WHERE { { { ?z property:terminus ?y } UNION { ?x property:terminus ?y } } . ?z rdf:type ontology:road . ?y rdf:type ontology:junction . ?x rdf:type ontology:thoroughfare }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P559
Q1777515 Q34442 Q83620
USER
Which junctions are the endpoints for approximately the same number of roads and thoroughfares as that junction ?
(c(Q34442)|c(Q83620),P559,c(Q1777515))
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q20202072 ?y } UNION { ?x property:Q20202072 ?y } } . ?z rdf:type ontology:Q34442 . ?y rdf:type ontology:Q1777515 . ?x rdf:type ontology:Q83620 }
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ?y WHERE { { { ?z property:terminus ?y } UNION { ?x property:terminus ?y } } . ?z rdf:type ontology:road . ?y rdf:type ontology:junction . ?x rdf:type ontology:thoroughfare }
[]
junction road thoroughfare
Comparative|More/Less|Mult. entity type|Clarification
Q2361137
SYSTEM
Did you mean Coenplein ?
(c(Q34442)|c(Q83620),P559,c(Q1777515))
[ANSWER]
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q20202072 ?y } UNION { ?x property:Q20202072 ?y } } . ?z rdf:type ontology:Q34442 . ?y rdf:type ontology:Q1777515 . ?x rdf:type ontology:Q83620 }
Did you mean Coenplein ?
Coenplein
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ?y WHERE { { { ?z property:terminus ?y } UNION { ?x property:terminus ?y } } . ?z rdf:type ontology:road . ?y rdf:type ontology:junction . ?x rdf:type ontology:thoroughfare }
[]
Comparative Reasoning (All)
USER
No, I meant Avenhorn junction. Could you tell me the answer for that?
(c(Q34442)|c(Q83620),P559,c(Q1777515))
Q20656517
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q1777515'}]
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'junction'}]
[]
Q2361137 Q20656517 Q2650314
SYSTEM
Coenplein, Avenhorn junction, Julianaplein
Q20656517 Q2650314 Q19782668 Q19803354 Q2361137 Q2466108 Q2600826 Q2682908
(c(Q34442)|c(Q83620),P559,c(Q1777515))
[ANSWERS] are the endpoints for approximately the same number of roads and thoroughfares as that junction
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q20202072 ?y } UNION { ?x property:Q20202072 ?y } } . ?z rdf:type ontology:Q34442 . ?y rdf:type ontology:Q1777515 . ?x rdf:type ontology:Q83620 }
Avenhorn junction Julianaplein 's-Gravendeel junction Papendrecht A15 junction Coenplein Sint-Annabosch interchange Velperbroek interchange Westerlee interchange
Coenplein, Avenhorn junction and Julianaplein are the endpoints for approximately the same number of roads and thoroughfares as that junction
Coenplein Avenhorn junction Julianaplein
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ?y WHERE { { { ?z property:terminus ?y } UNION { ?x property:terminus ?y } } . ?z rdf:type ontology:road . ?y rdf:type ontology:junction . ?x rdf:type ontology:thoroughfare }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q20655740
P559
Q1777515 Q83620 Q34442
USER
How many junctions are a terminus for lesser number of thoroughfares and roads than Middenmeer junction ?
(c(Q83620)|c(Q34442),P559,c(Q1777515))
action count
action less
action union
action find_reverse_tuple_counts
relation P559
type Q1777515
type Q83620
action find_reverse_tuple_counts
relation P559
type Q1777515
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q20655740
relation P559
type Q83620
type Q34442
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?r WHERE { ?n rdf:type ?x . VALUES ( ?x ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } } GROUP BY ?r } . FILTER ( ?l < ?y ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:P559 resource:Q20655740 . { VALUES ( ?v ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?p rdf:type ?v } } } }
Middenmeer junction
action count
action less
action union
action find_reverse_tuple_counts
relation terminus
type junction
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type junction
type road
action count
action filter_multi_types
action find_reverse
entity Middenmeer junction
relation terminus
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?r WHERE { ?n rdf:type ?x . VALUES ( ?x ) { ( ontology:thoroughfare ) ( ontology:road ) } } GROUP BY ?r } . FILTER ( ?l < ?y ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:terminus resource:Middenmeer_junction . { VALUES ( ?v ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?p rdf:type ?v } } } }
[]
junction thoroughfare road
SYSTEM
2
Q328576 Q371929
(c(Q83620)|c(Q34442),P559,c(Q1777515))
action count
action less
action union
action find_reverse_tuple_counts
relation P559
type Q1777515
type Q83620
action find_reverse_tuple_counts
relation P559
type Q1777515
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q20655740
relation P559
type Q83620
type Q34442
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?r WHERE { ?n rdf:type ?x . VALUES ( ?x ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } } GROUP BY ?r } . FILTER ( ?l < ?y ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:P559 resource:Q20655740 . { VALUES ( ?v ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?p rdf:type ?v } } } }
Dreieck Walsrode Slussen
2
action count
action less
action union
action find_reverse_tuple_counts
relation terminus
type junction
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type junction
type road
action count
action filter_multi_types
action find_reverse
entity Middenmeer junction
relation terminus
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?r WHERE { ?n rdf:type ?x . VALUES ( ?x ) { ( ontology:thoroughfare ) ( ontology:road ) } } GROUP BY ?r } . FILTER ( ?l < ?y ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:terminus resource:Middenmeer_junction . { VALUES ( ?v ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?p rdf:type ?v } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2361137
P361
Q34442
USER
Which roads are Coenplein a portion of ?
(Q2361137,P361,c(Q34442))
action filter_type
action find
entity Q2361137
relation P361
type Q34442
['Q2361137', 'P361', {'concept': 'Q34442'}]
SELECT DISTINCT ?k WHERE { resource:Q2361137 property:P361 ?k . ?k rdf:type ontology:Q34442 }
Coenplein
action filter_type
action find
entity Coenplein
relation part of
type road
['Coenplein', 'part of', {'concept': 'road'}]
SELECT DISTINCT ?k WHERE { resource:Coenplein property:part_of ?k . ?k rdf:type ontology:road }
[]
road
Q1668976 Q1852074
SYSTEM
A8 motorway, A10 motorway
Q1668976 Q1852074
(Q2361137,P361,c(Q34442))
action filter_type
action find
entity Q2361137
relation P361
type Q34442
[ANSWERS]
['Q2361137', 'P361', {'concept': 'Q34442'}]
SELECT DISTINCT ?k WHERE { resource:Q2361137 property:P361 ?k . ?k rdf:type ontology:Q34442 }
A8 motorway A10 motorway
Which roads are Coenplein a portion of
A8 motorway A10 motorway
action filter_type
action find
entity Coenplein
relation part of
type road
['Coenplein', 'part of', {'concept': 'road'}]
SELECT DISTINCT ?k WHERE { resource:Coenplein property:part_of ?k . ?k rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1668976 Q1852074
P361
Q1777515
USER
Which junctions are a portion of A8 motorway and A10 motorway ?
(c(Q1777515),P361,Q1668976) (c(Q1777515),P361,Q1852074)
action union
action filter_type
action find_reverse
entity Q1668976
relation P361
type Q1777515
action filter_type
action find_reverse
entity Q1852074
relation P361
type Q1777515
[{'concept': 'Q1777515'}, 'P361', 'Q1668976'] [{'concept': 'Q1777515'}, 'P361', 'Q1852074']
SELECT DISTINCT ?o WHERE { VALUES ( ?v ) { ( resource:Q1668976 ) ( resource:Q1852074 ) } . ?o property:P361 ?v }
A8 motorway A10 motorway
action union
action filter_type
action find_reverse
entity A8 motorway
relation part of
type junction
action filter_type
action find_reverse
entity A10 motorway
relation part of
type junction
[{'concept': 'junction'}, 'part of', 'A8 motorway'] [{'concept': 'junction'}, 'part of', 'A10 motorway']
SELECT DISTINCT ?o WHERE { VALUES ( ?v ) { ( resource:A8_motorway ) ( resource:A10_motorway ) } . ?o property:part_of ?v }
[]
junction
Q2361137 Q7471837 Q2361137
SYSTEM
Zaandam interchange for 2nd, Coenplein for 1st, 3rd
Q2361137 Q7471837 Q2361137 Q2498593 Q2300168 Q2179633 Q20670591
(c(Q1777515),P361,Q1668976) (c(Q1777515),P361,Q1852074)
action union
action filter_type
action find_reverse
entity Q1668976
relation P361
type Q1777515
action filter_type
action find_reverse
entity Q1852074
relation P361
type Q1777515
[ANSWERS]
[{'concept': 'Q1777515'}, 'P361', 'Q1668976'] [{'concept': 'Q1777515'}, 'P361', 'Q1852074']
SELECT DISTINCT ?o WHERE { VALUES ( ?v ) { ( resource:Q1668976 ) ( resource:Q1852074 ) } . ?o property:P361 ?v }
Coenplein Zaandam interchange Coenplein Amstel Interchange Watergraafsmeer interchange Knooppunt De Nieuwe Meer Amsterdam-Noord junction
Coenplein, Zaandam interchange and Coenplein are a portion of A8 motorway and A10 motorway
Coenplein Zaandam interchange Coenplein
action union
action filter_type
action find_reverse
entity A8 motorway
relation part of
type junction
action filter_type
action find_reverse
entity A10 motorway
relation part of
type junction
[{'concept': 'junction'}, 'part of', 'A8 motorway'] [{'concept': 'junction'}, 'part of', 'A10 motorway']
SELECT DISTINCT ?o WHERE { VALUES ( ?v ) { ( resource:A8_motorway ) ( resource:A10_motorway ) } . ?o property:part_of ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1668976
P1382
Q34442
USER
Which roads partially overlap with A8 motorway ?
(Q1668976,P1382,c(Q34442))
action filter_type
action find
entity Q1668976
relation P1382
type Q34442
['Q1668976', 'P1382', {'concept': 'Q34442'}]
SELECT DISTINCT ?r WHERE { resource:Q1668976 property:P1382 ?r . ?r rdf:type ontology:Q34442 }
A8 motorway
action filter_type
action find
entity A8 motorway
relation coincident with
type road
['A8 motorway', 'coincident with', {'concept': 'road'}]
SELECT DISTINCT ?r WHERE { resource:A8_motorway property:coincident_with ?r . ?r rdf:type ontology:road }
[]
road
Q2462535 Q2152999
SYSTEM
N246 road, A7 motorway
Q2462535 Q2152999
(Q1668976,P1382,c(Q34442))
action filter_type
action find
entity Q1668976
relation P1382
type Q34442
[ANSWERS] partially overlap with A8 motorway
['Q1668976', 'P1382', {'concept': 'Q34442'}]
SELECT DISTINCT ?r WHERE { resource:Q1668976 property:P1382 ?r . ?r rdf:type ontology:Q34442 }
N246 road A7 motorway
N246 road and A7 motorway partially overlap with A8 motorway
N246 road A7 motorway
action filter_type
action find
entity A8 motorway
relation coincident with
type road
['A8 motorway', 'coincident with', {'concept': 'road'}]
SELECT DISTINCT ?r WHERE { resource:A8_motorway property:coincident_with ?r . ?r rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2462535 Q2152999
P1382
Q34442
USER
Which roads are coincident with those ones ?
(c(Q34442),P1382,Q2462535) (c(Q34442),P1382,Q2152999)
action filter_type
action find_reverse
entity prev_answer
relation P1382
type Q34442
[{'concept': 'Q34442'}, 'P1382', 'Q2462535'] [{'concept': 'Q34442'}, 'P1382', 'Q2152999']
SELECT DISTINCT ?e WHERE { ?e property:P1382 ?w . ?e rdf:type ontology:Q34442 . VALUES ( ?w ) { ( resource:Q2462535 ) ( resource:Q2152999 ) } }
N246 road A7 motorway
action filter_type
action find_reverse
entity prev_answer
relation coincident with
type road
[{'concept': 'road'}, 'coincident with', 'N246 road'] [{'concept': 'road'}, 'coincident with', 'A7 motorway']
SELECT DISTINCT ?e WHERE { ?e property:coincident_with ?w . ?e rdf:type ontology:road . VALUES ( ?w ) { ( resource:N246_road ) ( resource:A7_motorway ) } }
[]
road
Q1668976 Q1668976 Q19576095
SYSTEM
A8 motorway for 1st, 2nd, Vaartdijk for 3rd
Q1668976 Q19375705 Q19576095 Q1668976
(c(Q34442),P1382,Q2462535) (c(Q34442),P1382,Q2152999)
action filter_type
action find_reverse
entity prev_answer
relation P1382
type Q34442
[ANSWERS]
[{'concept': 'Q34442'}, 'P1382', 'Q2462535'] [{'concept': 'Q34442'}, 'P1382', 'Q2152999']
SELECT DISTINCT ?e WHERE { ?e property:P1382 ?w . ?e rdf:type ontology:Q34442 . VALUES ( ?w ) { ( resource:Q2462535 ) ( resource:Q2152999 ) } }
A8 motorway Noorderweg Vaartdijk A8 motorway
A8 motorway, A8 motorway and Vaartdijk are coincident with those ones
A8 motorway A8 motorway Vaartdijk
action filter_type
action find_reverse
entity prev_answer
relation coincident with
type road
[{'concept': 'road'}, 'coincident with', 'N246 road'] [{'concept': 'road'}, 'coincident with', 'A7 motorway']
SELECT DISTINCT ?e WHERE { ?e property:coincident_with ?w . ?e rdf:type ontology:road . VALUES ( ?w ) { ( resource:N246_road ) ( resource:A7_motorway ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q19576095
P276
Q56061
USER
Which administrative territory is the place where that road is located ?
(Q19576095,P276,c(Q56061))
action filter_type
action find
entity Q19576095
relation P276
type Q56061
['Q19576095', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q19576095 property:P276 ?f . ?f rdf:type ontology:Q56061 }
Vaartdijk
action filter_type
action find
entity Vaartdijk
relation location
type administrative territorial entity
['Vaartdijk', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Vaartdijk property:location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q1668976
SYSTEM
Did you mean A8 motorway ?
Q1668976 Q1668976 Q19576095
(Q1668976,P276,c(Q56061)) (Q1668976,P276,c(Q56061)) (Q19576095,P276,c(Q56061))
[ANSWER]
['Q1668976', 'P276', {'concept': 'Q56061'}] ['Q1668976', 'P276', {'concept': 'Q56061'}] ['Q19576095', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q19576095 property:P276 ?f . ?f rdf:type ontology:Q56061 }
A8 motorway A8 motorway Vaartdijk
Did you mean A8 motorway ?
A8 motorway
['A8 motorway', 'location', {'concept': 'administrative territorial entity'}] ['A8 motorway', 'location', {'concept': 'administrative territorial entity'}] ['Vaartdijk', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Vaartdijk property:location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Vaartdijk. Could you tell me the answer for that?
(Q19576095,P276,c(Q56061))
Q19576095
['Q19576095', 'P276', {'concept': 'Q56061'}]
['Vaartdijk', 'location', {'concept': 'administrative territorial entity'}]
[]
Q1614461
SYSTEM
Assendelft
Q1614461
(Q19576095,P276,c(Q56061))
action filter_type
action find
entity Q19576095
relation P276
type Q56061
[ANSWER] is the place where that road is located
['Q19576095', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q19576095 property:P276 ?f . ?f rdf:type ontology:Q56061 }
Assendelft
Assendelft is the place where that road is located
Assendelft
action filter_type
action find
entity Vaartdijk
relation location
type administrative territorial entity
['Vaartdijk', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Vaartdijk property:location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]