Simple Question (Direct)
Simple Question
Q710139
P1066
Q502895
USER
Which person was the supervisor of Jules Laurens ?
(Q710139,P1066,c(Q502895))
action filter_type
action find
entity Q710139
relation P1066
type Q502895
['Q710139', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q710139 property:P1066 ?b . ?b rdf:type ontology:Q502895 }
Jules Laurens
action filter_type
action find
entity Jules Laurens
relation student of
type common name
['Jules Laurens', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Jules_Laurens property:student_of ?b . ?b rdf:type ontology:common_name }
[]
common name
Q322582
SYSTEM
Paul Delaroche
Q322582
(Q710139,P1066,c(Q502895))
action filter_type
action find
entity Q710139
relation P1066
type Q502895
De [ANSWER] was the supervisor of Jules Laurens
['Q710139', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q710139 property:P1066 ?b . ?b rdf:type ontology:Q502895 }
Paul Delaroche
De Paul Delaroche was the supervisor of Jules Laurens
Paul Delaroche
action filter_type
action find
entity Jules Laurens
relation student of
type common name
['Jules Laurens', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Jules_Laurens property:student_of ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q322582
P138
Q34442
USER
Which road is the eponym of that person ?
(c(Q34442),P138,Q322582)
action filter_type
action find_reverse
entity Q322582
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q322582']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q34442 . ?g property:P138 resource:Q322582 }
Paul Delaroche
action filter_type
action find_reverse
entity Paul Delaroche
relation named after
type road
[{'concept': 'road'}, 'named after', 'Paul Delaroche']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:road . ?g property:named_after resource:Paul_Delaroche }
[]
road
Q3449408
SYSTEM
rue Paul-Delaroche
Q3449408
(c(Q34442),P138,Q322582)
action filter_type
action find_reverse
entity Q322582
relation P138
type Q34442
[ANSWER] is the eponym of that person
[{'concept': 'Q34442'}, 'P138', 'Q322582']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q34442 . ?g property:P138 resource:Q322582 }
rue Paul-Delaroche
Rue Paul-Delaroche is the eponym of that person
rue Paul-Delaroche
action filter_type
action find_reverse
entity Paul Delaroche
relation named after
type road
[{'concept': 'road'}, 'named after', 'Paul Delaroche']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:road . ?g property:named_after resource:Paul_Delaroche }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q322582 Q3791677
P20
Q56061
USER
How many administrative territories did Paul Delaroche or John and James Woolf expire ?
(Q322582,P20,c(Q56061)) (Q3791677,P20,c(Q56061))
action count
action union
action filter_type
action find
entity Q322582
relation P20
type Q56061
action filter_type
action find
entity Q3791677
relation P20
type Q56061
['Q322582', 'P20', {'concept': 'Q56061'}] ['Q3791677', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { resource:Q322582 property:P20 ?k . ?k rdf:type ontology:Q56061 } UNION { resource:Q3791677 property:P20 ?k . ?k rdf:type ontology:Q56061 } }
Paul Delaroche John and James Woolf
action count
action union
action filter_type
action find
entity Paul Delaroche
relation place of death
type administrative territorial entity
action filter_type
action find
entity John and James Woolf
relation place of death
type administrative territorial entity
['Paul Delaroche', 'place of death', {'concept': 'administrative territorial entity'}] ['John and James Woolf', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { resource:Paul_Delaroche property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity } UNION { resource:John_and_James_Woolf property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q90 Q84
(Q322582,P20,c(Q56061)) (Q3791677,P20,c(Q56061))
action count
action union
action filter_type
action find
entity Q322582
relation P20
type Q56061
action filter_type
action find
entity Q3791677
relation P20
type Q56061
[ANSWER]
['Q322582', 'P20', {'concept': 'Q56061'}] ['Q3791677', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { resource:Q322582 property:P20 ?k . ?k rdf:type ontology:Q56061 } UNION { resource:Q3791677 property:P20 ?k . ?k rdf:type ontology:Q56061 } }
Paris London
2
action count
action union
action filter_type
action find
entity Paul Delaroche
relation place of death
type administrative territorial entity
action filter_type
action find
entity John and James Woolf
relation place of death
type administrative territorial entity
['Paul Delaroche', 'place of death', {'concept': 'administrative territorial entity'}] ['John and James Woolf', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { resource:Paul_Delaroche property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity } UNION { resource:John_and_James_Woolf property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2600826
P559
Q1777515 Q34442
USER
Which junctions serve as the endpoint for less number of roads than Velperbroek interchange ?
(c(Q34442),P559,c(Q1777515))
action less
action find_reverse_tuple_counts
relation P559
type Q1777515
type Q34442
action count
action filter_type
action find_reverse
entity Q2600826
relation P559
type Q34442
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P559 ?r . ?r rdf:type ontology:Q1777515 . ?e rdf:type ontology:Q34442 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P559 resource:Q2600826 . ?g rdf:type ontology:Q34442 } } . FILTER ( ?f < ?i ) }
Velperbroek interchange
action less
action find_reverse_tuple_counts
relation terminus
type junction
type road
action count
action filter_type
action find_reverse
entity Velperbroek interchange
relation terminus
type road
[{'concept': 'road'}, 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:terminus ?r . ?r rdf:type ontology:junction . ?e rdf:type ontology:road } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:terminus resource:Velperbroek_interchange . ?g rdf:type ontology:road } } . FILTER ( ?f < ?i ) }
[]
junction road
Q1885232 Q5817040 Q20053950
SYSTEM
Kleinpolderplein, Terbregseplein, Noordeloos junction
Q2195157 Q20053950 Q2638061 Q2954587 Q2625235 Q2446617 Q19720079 Q2179633 Q4304650 Q2300168 Q2307825 Q19858843 Q19833571 Q6654084 Q2678075 Q19969273 Q20174395 Q2650314 Q7471404 Q2206294 Q20899730 Q3415689 Q20638325 Q1817153 Q19832232 Q10636006 Q2692587 Q2159663 Q7471798 Q20898155 Q19816351 Q1885232 Q19816541 Q3197676 Q7471881 Q20033518 Q1828981 Q2498593 Q2786809 Q7471546 Q2536024 Q10691825 Q2623929 Q2925693 Q19816347 Q328576 Q2278230 Q20033528 Q20241115 Q19845691 Q20209178 Q2470034 Q20143160 Q20035645 Q20744377 Q2438409 Q2324323 Q20531684 Q20898172 Q1916676 Q6791198 Q19857132 Q20638278 Q2478863 Q20669319 Q2195771 Q1926020 Q2661014 Q20174690 Q11652213 Q2476262 Q20026816 Q20114572 Q20643424 Q2357795 Q7471858 Q20655740 Q14513610 Q2466108 Q4023983 Q20532574 Q20653556 Q371929 Q19826687 Q7464568 Q1864986 Q2081674 Q20645213 Q20670591 Q19858852 Q5817040 Q20143847 Q20165887
(c(Q34442),P559,c(Q1777515))
action less
action find_reverse_tuple_counts
relation P559
type Q1777515
type Q34442
action count
action filter_type
action find_reverse
entity Q2600826
relation P559
type Q34442
[ANSWERS] serve as the endpoint for less number of roads than Velperbroek interchange
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P559 ?r . ?r rdf:type ontology:Q1777515 . ?e rdf:type ontology:Q34442 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P559 resource:Q2600826 . ?g rdf:type ontology:Q34442 } } . FILTER ( ?f < ?i ) }
Hoevelaken interchange Noordeloos junction Paalgraven interchange Rijkevoort interchange Neerbosch interchange Diemen interchange Assen interchange Knooppunt De Nieuwe Meer Batadorp interchange Watergraafsmeer interchange De Stok interchange Hendrik-Ido-Ambacht A15 junction Brielle junction Liuliqiao Bridge Gouwe interchange IJmuiden A22 junction Soest junction Julianaplein Lankhorst interchange Emmeloord interchange Roosendaal junction Almere Interchange Ochten junction Klaverpolder interchange Almelo-West junction Polhemsplatsen Zurich interchange Burgerveen interchange Drachten A7 junction Tilburg-Noord A65 junction Bodegraven junction Kleinpolderplein Leidschendam junction Euvelgunne interchange Het Vonderen interchange Rotterdam-Centrum A16 junction De Poel interchange Amstel Interchange Kruisdonk interchange Beverwijk interchange De Hoek interchange Tegelbacken Muiderberg interchange Tiglia interchange Zoeterwoude-Rijndijk junction Dreieck Walsrode Vaanplein Nieuwegein A2 junction Leusden-Zuid junction Waalre junction Driebergen junction Ekkersweijer interchange Spijkenisse junction Den Haag-Zuid junction Middelburg-Centrum junction Maanderbroek interchange Lunetten interchange Maarssen A2 junction Waalwijk A59 junction Oud-Dijk interchange Joure interchange Westerpark junction Veenendaal junction Middelburg-Oost junction Beverwijk-Oost junction Ewijk interchange Vught interchange Ridderkerk interchange Amersfoort-Zuid junction Nagashima interchange Werpsterhoek interchange Noordwijkerhout junction Gorinchem junction Weesp junction Velsen interchange Kunderberg interchange Middenmeer junction Kooimeer interchange Sint-Annabosch interchange Raasdorp interchange Maarssen A27 junction Wognum junction Slussen Barneveld junction Guseo Interchange De Baars interchange Ypenburg interchange Den Dolder junction Amsterdam-Noord junction Alblasserdam junction Terbregseplein Oostvoorne junction Maasdijk junction
Kleinpolderplein, Terbregseplein and Noordeloos junction serve as the endpoint for less number of roads than Velperbroek interchange
Kleinpolderplein Terbregseplein Noordeloos junction
action less
action find_reverse_tuple_counts
relation terminus
type junction
type road
action count
action filter_type
action find_reverse
entity Velperbroek interchange
relation terminus
type road
[{'concept': 'road'}, 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:terminus ?r . ?r rdf:type ontology:junction . ?e rdf:type ontology:road } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:terminus resource:Velperbroek_interchange . ?g rdf:type ontology:road } } . FILTER ( ?f < ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q19858852
P559
Q1777515 Q34442
USER
And also tell me about Alblasserdam junction?
(c(Q34442),P559,c(Q1777515))
action less
action find_reverse_tuple_counts
relation P559
type Q1777515
type Q34442
action count
action filter_type
action find_reverse
entity Q19858852
relation P559
type Q34442
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P559 ?f . ?f rdf:type ontology:Q1777515 . ?e rdf:type ontology:Q34442 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:P559 resource:Q19858852 . ?r rdf:type ontology:Q34442 } } . FILTER ( ?n < ?y ) }
Alblasserdam junction
action less
action find_reverse_tuple_counts
relation terminus
type junction
type road
action count
action filter_type
action find_reverse
entity Alblasserdam junction
relation terminus
type road
[{'concept': 'road'}, 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:terminus ?f . ?f rdf:type ontology:junction . ?e rdf:type ontology:road } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:terminus resource:Alblasserdam_junction . ?r rdf:type ontology:road } } . FILTER ( ?n < ?y ) }
[]
junction road
Q2195157 Q328576 Q2324323
SYSTEM
Hoevelaken interchange, Dreieck Walsrode, Lunetten interchange
Q2195157 Q328576 Q2324323 Q11652213 Q371929
(c(Q34442),P559,c(Q1777515))
action less
action find_reverse_tuple_counts
relation P559
type Q1777515
type Q34442
action count
action filter_type
action find_reverse
entity Q19858852
relation P559
type Q34442
[ANSWERS]
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P559 ?f . ?f rdf:type ontology:Q1777515 . ?e rdf:type ontology:Q34442 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:P559 resource:Q19858852 . ?r rdf:type ontology:Q34442 } } . FILTER ( ?n < ?y ) }
Hoevelaken interchange Dreieck Walsrode Lunetten interchange Nagashima interchange Slussen
Hoevelaken interchange Dreieck Walsrode Lunetten interchange
action less
action find_reverse_tuple_counts
relation terminus
type junction
type road
action count
action filter_type
action find_reverse
entity Alblasserdam junction
relation terminus
type road
[{'concept': 'road'}, 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:terminus ?f . ?f rdf:type ontology:junction . ?e rdf:type ontology:road } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:terminus resource:Alblasserdam_junction . ?r rdf:type ontology:road } } . FILTER ( ?n < ?y ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P559
Q1777515 Q83620
USER
Which junctions are a terminus for lesser number of thoroughfares than that junction ?
(c(Q83620),P559,c(Q1777515))
[{'concept': 'Q83620'}, 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ?y WHERE { ?z property:Q20202072 ?y . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q1777515 }
[{'concept': 'thoroughfare'}, 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ?y WHERE { ?z property:terminus ?y . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:junction }
[]
junction thoroughfare
Comparative|More/Less|Single entity type|Clarification
Q2324323
SYSTEM
Did you mean Lunetten interchange ?
(c(Q83620),P559,c(Q1777515))
[ANSWER]
[{'concept': 'Q83620'}, 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ?y WHERE { ?z property:Q20202072 ?y . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q1777515 }
Did you mean Lunetten interchange ?
Lunetten interchange
[{'concept': 'thoroughfare'}, 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ?y WHERE { ?z property:terminus ?y . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:junction }
[]
Comparative Reasoning (All)
USER
No, I meant Hoevelaken interchange. Could you tell me the answer for that?
(c(Q83620),P559,c(Q1777515))
Q2195157
[{'concept': 'Q83620'}, 'P559', {'concept': 'Q1777515'}]
[{'concept': 'thoroughfare'}, 'terminus', {'concept': 'junction'}]
[]
Q1885232 Q5817040 Q20053950
SYSTEM
Kleinpolderplein, Terbregseplein, Noordeloos junction
Q20053950 Q2638061 Q2954587 Q2625235 Q2446617 Q19720079 Q2179633 Q4304650 Q2300168 Q2307825 Q19858843 Q19833571 Q6654084 Q2678075 Q19969273 Q20656517 Q20174395 Q7471404 Q2206294 Q20899730 Q3415689 Q20638325 Q1817153 Q19832232 Q10636006 Q2692587 Q2159663 Q19782668 Q7471798 Q20898155 Q19816351 Q19803354 Q1885232 Q19816541 Q3197676 Q7471881 Q20033518 Q1828981 Q2498593 Q2786809 Q7471546 Q2536024 Q10691825 Q2623929 Q2925693 Q19816347 Q328576 Q2278230 Q20033528 Q20241115 Q19845691 Q20209178 Q2470034 Q20143160 Q20035645 Q20744377 Q2438409 Q20531684 Q20898172 Q1916676 Q6791198 Q19857132 Q20638278 Q2478863 Q20669319 Q2195771 Q1926020 Q2661014 Q20174690 Q2476262 Q20026816 Q20114572 Q2361137 Q20643424 Q2357795 Q7471858 Q20655740 Q14513610 Q4023983 Q20532574 Q20653556 Q371929 Q19826687 Q7464568 Q1864986 Q2081674 Q20645213 Q2600826 Q20670591 Q19858852 Q2682908 Q5817040 Q20143847 Q20165887
(c(Q83620),P559,c(Q1777515))
[ANSWERS] are a terminus for lesser number of thoroughfares than that junction
[{'concept': 'Q83620'}, 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ?y WHERE { ?z property:Q20202072 ?y . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q1777515 }
Noordeloos junction Paalgraven interchange Rijkevoort interchange Neerbosch interchange Diemen interchange Assen interchange Knooppunt De Nieuwe Meer Batadorp interchange Watergraafsmeer interchange De Stok interchange Hendrik-Ido-Ambacht A15 junction Brielle junction Liuliqiao Bridge Gouwe interchange IJmuiden A22 junction Avenhorn junction Soest junction Lankhorst interchange Emmeloord interchange Roosendaal junction Almere Interchange Ochten junction Klaverpolder interchange Almelo-West junction Polhemsplatsen Zurich interchange Burgerveen interchange 's-Gravendeel junction Drachten A7 junction Tilburg-Noord A65 junction Bodegraven junction Papendrecht A15 junction Kleinpolderplein Leidschendam junction Euvelgunne interchange Het Vonderen interchange Rotterdam-Centrum A16 junction De Poel interchange Amstel Interchange Kruisdonk interchange Beverwijk interchange De Hoek interchange Tegelbacken Muiderberg interchange Tiglia interchange Zoeterwoude-Rijndijk junction Dreieck Walsrode Vaanplein Nieuwegein A2 junction Leusden-Zuid junction Waalre junction Driebergen junction Ekkersweijer interchange Spijkenisse junction Den Haag-Zuid junction Middelburg-Centrum junction Maanderbroek interchange Maarssen A2 junction Waalwijk A59 junction Oud-Dijk interchange Joure interchange Westerpark junction Veenendaal junction Middelburg-Oost junction Beverwijk-Oost junction Ewijk interchange Vught interchange Ridderkerk interchange Amersfoort-Zuid junction Werpsterhoek interchange Noordwijkerhout junction Gorinchem junction Coenplein Weesp junction Velsen interchange Kunderberg interchange Middenmeer junction Kooimeer interchange Raasdorp interchange Maarssen A27 junction Wognum junction Slussen Barneveld junction Guseo Interchange De Baars interchange Ypenburg interchange Den Dolder junction Velperbroek interchange Amsterdam-Noord junction Alblasserdam junction Westerlee interchange Terbregseplein Oostvoorne junction Maasdijk junction
Kleinpolderplein, Terbregseplein and Noordeloos junction are a terminus for lesser number of thoroughfares than that junction
Kleinpolderplein Terbregseplein Noordeloos junction
[{'concept': 'thoroughfare'}, 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ?y WHERE { ?z property:terminus ?y . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:junction }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P559
Q34442
USER
How many roads have that junction as the terminus ?
(c(Q34442),P559,Q5817040)
[{'concept': 'Q34442'}, 'P559', 'Q5817040']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q20202072 resource:Q5817040 . ?z rdf:type ontology:Q34442 }
[{'concept': 'road'}, 'terminus', 'Terbregseplein']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:terminus resource:Terbregseplein . ?z rdf:type ontology:road }
[]
road
Quantitative|Count|Single entity type|Clarification
Q20053950
SYSTEM
Did you mean Noordeloos junction ?
(c(Q34442),P559,Q1885232) (c(Q34442),P559,Q5817040) (c(Q34442),P559,Q20053950)
[ANSWER]
[{'concept': 'Q34442'}, 'P559', 'Q1885232'] [{'concept': 'Q34442'}, 'P559', 'Q5817040'] [{'concept': 'Q34442'}, 'P559', 'Q20053950']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q20202072 resource:Q5817040 . ?z rdf:type ontology:Q34442 }
Did you mean Noordeloos junction ?
Noordeloos junction
[{'concept': 'road'}, 'terminus', 'Kleinpolderplein'] [{'concept': 'road'}, 'terminus', 'Terbregseplein'] [{'concept': 'road'}, 'terminus', 'Noordeloos junction']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:terminus resource:Terbregseplein . ?z rdf:type ontology:road }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Terbregseplein. Could you tell me the answer for that?
(c(Q34442),P559,Q5817040)
Q5817040
[{'concept': 'Q34442'}, 'P559', 'Q5817040']
[{'concept': 'road'}, 'terminus', 'Terbregseplein']
[]
SYSTEM
1
Q1469578
(c(Q34442),P559,Q5817040)
[ANSWER]
[{'concept': 'Q34442'}, 'P559', 'Q5817040']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q20202072 resource:Q5817040 . ?z rdf:type ontology:Q34442 }
A16 motorway
1
[{'concept': 'road'}, 'terminus', 'Terbregseplein']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:terminus resource:Terbregseplein . ?z rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1885232
P1382
Q34442
USER
Which road has partial concurrency with Kleinpolderplein ?
(c(Q34442),P1382,Q1885232)
action filter_type
action find
entity Q1885232
relation P1382
type Q34442
[{'concept': 'Q34442'}, 'P1382', 'Q1885232']
SELECT DISTINCT ?z WHERE { resource:Q1885232 property:P1382 ?z . ?z rdf:type ontology:Q34442 }
Kleinpolderplein
action filter_type
action find
entity Kleinpolderplein
relation coincident with
type road
[{'concept': 'road'}, 'coincident with', 'Kleinpolderplein']
SELECT DISTINCT ?z WHERE { resource:Kleinpolderplein property:coincident_with ?z . ?z rdf:type ontology:road }
[]
road
Q19303636
SYSTEM
Kleinpolderplein
Q19303636
(c(Q34442),P1382,Q1885232)
action filter_type
action find
entity Q1885232
relation P1382
type Q34442
Is [ANSWER] has partial concurrency with [ANSWER]
[{'concept': 'Q34442'}, 'P1382', 'Q1885232']
SELECT DISTINCT ?z WHERE { resource:Q1885232 property:P1382 ?z . ?z rdf:type ontology:Q34442 }
Kleinpolderplein
Is Kleinpolderplein has partial concurrency with Kleinpolderplein
Kleinpolderplein
action filter_type
action find
entity Kleinpolderplein
relation coincident with
type road
[{'concept': 'road'}, 'coincident with', 'Kleinpolderplein']
SELECT DISTINCT ?z WHERE { resource:Kleinpolderplein property:coincident_with ?z . ?z rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1885232
P276
Q56061
USER
Where is that junction situated ?
(Q19303636,P276,c(Q56061))
action filter_type
action find
entity Q1885232
relation P276
type Q56061
['Q19303636', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1885232 property:P276 ?i . ?i rdf:type ontology:Q56061 }
Kleinpolderplein
action filter_type
action find
entity Kleinpolderplein
relation location
type administrative territorial entity
['Kleinpolderplein', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Kleinpolderplein property:location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34370
SYSTEM
Rotterdam
Q34370
(Q19303636,P276,c(Q56061))
action filter_type
action find
entity Q1885232
relation P276
type Q56061
That junction is situated in [ANSWER]
['Q19303636', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1885232 property:P276 ?i . ?i rdf:type ontology:Q56061 }
Rotterdam
That junction is situated in Rotterdam
Rotterdam
action filter_type
action find
entity Kleinpolderplein
relation location
type administrative territorial entity
['Kleinpolderplein', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Kleinpolderplein property:location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2195157 Q17831979
P559
Q34442
USER
How many roads have Hoevelaken interchange or Hvitfeldtsplatsen as the terminus ?
(c(Q34442),P559,Q2195157) (c(Q34442),P559,Q17831979)
action count
action union
action filter_type
action find_reverse
entity Q2195157
relation P559
type Q34442
action filter_type
action find_reverse
entity Q17831979
relation P559
type Q34442
[{'concept': 'Q34442'}, 'P559', 'Q2195157'] [{'concept': 'Q34442'}, 'P559', 'Q17831979']
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { ?g property:P559 resource:Q2195157 . ?g rdf:type ontology:Q34442 } UNION { ?g property:P559 resource:Q17831979 . ?g rdf:type ontology:Q34442 } }
Hoevelaken interchange Hvitfeldtsplatsen
action count
action union
action filter_type
action find_reverse
entity Hoevelaken interchange
relation terminus
type road
action filter_type
action find_reverse
entity Hvitfeldtsplatsen
relation terminus
type road
[{'concept': 'road'}, 'terminus', 'Hoevelaken interchange'] [{'concept': 'road'}, 'terminus', 'Hvitfeldtsplatsen']
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { ?g property:terminus resource:Hoevelaken_interchange . ?g rdf:type ontology:road } UNION { ?g property:terminus resource:Hvitfeldtsplatsen . ?g rdf:type ontology:road } }
[]
road
SYSTEM
2
Q10572387 Q10544154
(c(Q34442),P559,Q2195157) (c(Q34442),P559,Q17831979)
action count
action union
action filter_type
action find_reverse
entity Q2195157
relation P559
type Q34442
action filter_type
action find_reverse
entity Q17831979
relation P559
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P559', 'Q2195157'] [{'concept': 'Q34442'}, 'P559', 'Q17831979']
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { ?g property:P559 resource:Q2195157 . ?g rdf:type ontology:Q34442 } UNION { ?g property:P559 resource:Q17831979 . ?g rdf:type ontology:Q34442 } }
Läroverksgatan Kaserngränden
2
action count
action union
action filter_type
action find_reverse
entity Hoevelaken interchange
relation terminus
type road
action filter_type
action find_reverse
entity Hvitfeldtsplatsen
relation terminus
type road
[{'concept': 'road'}, 'terminus', 'Hoevelaken interchange'] [{'concept': 'road'}, 'terminus', 'Hvitfeldtsplatsen']
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { ?g property:terminus resource:Hoevelaken_interchange . ?g rdf:type ontology:road } UNION { ?g property:terminus resource:Hvitfeldtsplatsen . ?g rdf:type ontology:road } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q2221906 Q486972 Q1777515
USER
Which junctions have max number of geographic locations and human settlements as their namesake ?
(c(Q1777515),P138,c(Q2221906)|c(Q486972))
action argmax
action union
action find_tuple_counts
relation P138
type Q1777515
type Q2221906
action find_tuple_counts
relation P138
type Q1777515
type Q486972
[{'concept': 'Q1777515'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?m WHERE { { ?m property:P138 ?y . ?m rdf:type ontology:Q1777515 . ?y rdf:type ontology:Q486972 } UNION { ?m property:P138 ?y . ?m rdf:type ontology:Q1777515 . ?y rdf:type ontology:Q2221906 } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?t WHERE { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2221906 ) ( ontology:Q486972 ) } } GROUP BY ?t } . FILTER ( ?k = ?d ) }
action argmax
action union
action find_tuple_counts
relation named after
type junction
type geographic location
action find_tuple_counts
relation named after
type junction
type human settlement
[{'concept': 'junction'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?m WHERE { { ?m property:named_after ?y . ?m rdf:type ontology:junction . ?y rdf:type ontology:human_settlement } UNION { ?m property:named_after ?y . ?m rdf:type ontology:junction . ?y rdf:type ontology:geographic_location } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?t WHERE { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:geographic_location ) ( ontology:human_settlement ) } } GROUP BY ?t } . FILTER ( ?k = ?d ) }
[]
geographic location human settlement junction
Q1885232 Q2192574 Q2300168
SYSTEM
Kleinpolderplein, Europaplein junction, Watergraafsmeer interchange
Q2300168 Q2177336 Q1885232 Q2192574 Q20898172 Q2465938 Q4993866 Q21076970
(c(Q1777515),P138,c(Q2221906)|c(Q486972))
action argmax
action union
action find_tuple_counts
relation P138
type Q1777515
type Q2221906
action find_tuple_counts
relation P138
type Q1777515
type Q486972
[ANSWERS] have max number of geographic locations and human settlements as their namesake
[{'concept': 'Q1777515'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?m WHERE { { ?m property:P138 ?y . ?m rdf:type ontology:Q1777515 . ?y rdf:type ontology:Q486972 } UNION { ?m property:P138 ?y . ?m rdf:type ontology:Q1777515 . ?y rdf:type ontology:Q2221906 } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?t WHERE { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2221906 ) ( ontology:Q486972 ) } } GROUP BY ?t } . FILTER ( ?k = ?d ) }
Watergraafsmeer interchange Kethelplein Kleinpolderplein Europaplein junction Waalwijk A59 junction Hooipolder interchange Europaplein Langstraatplein
Kleinpolderplein, Europaplein junction and Watergraafsmeer interchange have max number of geographic locations and human settlements as their namesake
Kleinpolderplein Europaplein junction Watergraafsmeer interchange
action argmax
action union
action find_tuple_counts
relation named after
type junction
type geographic location
action find_tuple_counts
relation named after
type junction
type human settlement
[{'concept': 'junction'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?m WHERE { { ?m property:named_after ?y . ?m rdf:type ontology:junction . ?y rdf:type ontology:human_settlement } UNION { ?m property:named_after ?y . ?m rdf:type ontology:junction . ?y rdf:type ontology:geographic_location } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?t WHERE { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:geographic_location ) ( ontology:human_settlement ) } } GROUP BY ?t } . FILTER ( ?k = ?d ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P559
Q1777515 Q83620
USER
How many thoroughfares terminates at approximately 1 junction ?
(c(Q83620),P559,c(Q1777515))
action count
action approx
action find_tuple_counts
relation P559
type Q83620
type Q1777515
value 1
[{'concept': 'Q83620'}, 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?a ) WHERE { ?c property:P559 ?y . ?y rdf:type ontology:Q1777515 . ?c rdf:type ontology:Q83620 } GROUP BY ?c } . FILTER ( ?a = 1 ) }
action count
action approx
action find_tuple_counts
relation terminus
type thoroughfare
type junction
value 1
[{'concept': 'thoroughfare'}, 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?a ) WHERE { ?c property:terminus ?y . ?y rdf:type ontology:junction . ?c rdf:type ontology:thoroughfare } GROUP BY ?c } . FILTER ( ?a = 1 ) }
[]
junction thoroughfare
SYSTEM
2
Q658777 Q11494819
(c(Q83620),P559,c(Q1777515))
action count
action approx
action find_tuple_counts
relation P559
type Q83620
type Q1777515
value 1
[ANSWER]
[{'concept': 'Q83620'}, 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?a ) WHERE { ?c property:P559 ?y . ?y rdf:type ontology:Q1777515 . ?c rdf:type ontology:Q83620 } GROUP BY ?c } . FILTER ( ?a = 1 ) }
European route E233 Aichi Prefectural Road and Mie Prefectural Road Route 168
2
action count
action approx
action find_tuple_counts
relation terminus
type thoroughfare
type junction
value 1
[{'concept': 'thoroughfare'}, 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?a ) WHERE { ?c property:terminus ?y . ?y rdf:type ontology:junction . ?c rdf:type ontology:thoroughfare } GROUP BY ?c } . FILTER ( ?a = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15813233 Q2600826
P559
Q34442
USER
Which roads terminates at Velperbroek interchange or Leyboldstraße ?
OR((c(Q34442),P559,Q2600826), (c(Q34442),P559,Q15813233))
action filter_type
action union
action find_reverse
entity Q2600826
relation P559
action find_reverse
entity Q15813233
relation P559
type Q34442
{'OR': [[{'concept': 'Q34442'}, 'P559', 'Q2600826'], [{'concept': 'Q34442'}, 'P559', 'Q15813233']]}
SELECT DISTINCT ?h WHERE { { { ?h property:P559 resource:Q2600826 } UNION { ?h property:P559 resource:Q15813233 } } . ?h rdf:type ontology:Q34442 }
Leyboldstraße Velperbroek interchange
action filter_type
action union
action find_reverse
entity Velperbroek interchange
relation terminus
action find_reverse
entity Leyboldstraße
relation terminus
type road
{'OR': [[{'concept': 'road'}, 'terminus', 'Velperbroek interchange'], [{'concept': 'road'}, 'terminus', 'Leyboldstraße']]}
SELECT DISTINCT ?h WHERE { { { ?h property:terminus resource:Velperbroek_interchange } UNION { ?h property:terminus resource:Leyboldstraße } } . ?h rdf:type ontology:road }
[]
road
Q15813073 Q430370 Q15813235 Q2113980 Q15813248 Q15813238
SYSTEM
Am Südpark, Provincial road N348, Eugen-Langen-Straße, Provincial road N325, Robert-Heuser-Straße, Von-Groote-Straße
Q15813073 Q430370 Q15813235 Q2113980 Q15813248 Q15813238
OR((c(Q34442),P559,Q2600826), (c(Q34442),P559,Q15813233))
action filter_type
action union
action find_reverse
entity Q2600826
relation P559
action find_reverse
entity Q15813233
relation P559
type Q34442
[ANSWERS] terminate at Velperbroek interchange or Leyboldstraße
{'OR': [[{'concept': 'Q34442'}, 'P559', 'Q2600826'], [{'concept': 'Q34442'}, 'P559', 'Q15813233']]}
SELECT DISTINCT ?h WHERE { { { ?h property:P559 resource:Q2600826 } UNION { ?h property:P559 resource:Q15813233 } } . ?h rdf:type ontology:Q34442 }
Am Südpark Provincial road N348 Eugen-Langen-Straße Provincial road N325 Robert-Heuser-Straße Von-Groote-Straße
Am Südpark, Provincial road N348, Eugen-Langen-Straße, Provincial road N325, Robert-Heuser-Straße and Von-Groote-Straße terminate at Velperbroek interchange or Leyboldstraße
Am Südpark Provincial road N348 Eugen-Langen-Straße Provincial road N325 Robert-Heuser-Straße Von-Groote-Straße
action filter_type
action union
action find_reverse
entity Velperbroek interchange
relation terminus
action find_reverse
entity Leyboldstraße
relation terminus
type road
{'OR': [[{'concept': 'road'}, 'terminus', 'Velperbroek interchange'], [{'concept': 'road'}, 'terminus', 'Leyboldstraße']]}
SELECT DISTINCT ?h WHERE { { { ?h property:terminus resource:Velperbroek_interchange } UNION { ?h property:terminus resource:Leyboldstraße } } . ?h rdf:type ontology:road }
[]