Simple Question (Direct)
Simple Question
Q16685882
P410
Q4189293
USER
Which title was the military rank conferred upon Étienne Legrand ?
(Q16685882,P410,c(Q4189293))
action filter_type
action find
entity Q16685882
relation P410
type Q4189293
['Q16685882', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q4189293 . resource:Q16685882 property:P410 ?n }
Étienne Legrand
action filter_type
action find
entity Étienne Legrand
relation military rank
type title
['Étienne Legrand', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:title . resource:Étienne_Legrand property:military_rank ?n }
[]
title
Q2487961
SYSTEM
divisional general
Q2487961
(Q16685882,P410,c(Q4189293))
action filter_type
action find
entity Q16685882
relation P410
type Q4189293
[ANSWER] was the military rank conferred upon Étienne Legrand
['Q16685882', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q4189293 . resource:Q16685882 property:P410 ?n }
divisional general
Divisional general was the military rank conferred upon Étienne Legrand
divisional general
action filter_type
action find
entity Étienne Legrand
relation military rank
type title
['Étienne Legrand', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:title . resource:Étienne_Legrand property:military_rank ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16685882
P734
Q82799
USER
Who has the surname Étienne Legrand ?
(Q16685882,P734,c(Q82799))
action filter_type
action find
entity Q16685882
relation P734
type Q82799
['Q16685882', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q16685882 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Étienne Legrand
action filter_type
action find
entity Étienne Legrand
relation family name
type name
['Étienne Legrand', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Étienne_Legrand property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q16872020
SYSTEM
Legrand
Q16872020
(Q16685882,P734,c(Q82799))
action filter_type
action find
entity Q16685882
relation P734
type Q82799
[ANSWER] has the surname Étienne [ANSWER]
['Q16685882', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q16685882 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Legrand
Legrand has the surname Étienne Legrand
Legrand
action filter_type
action find
entity Étienne Legrand
relation family name
type name
['Étienne Legrand', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Étienne_Legrand property:family_name ?v . ?v rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11562532
Q82799
USER
And how about Fukiko Watanabe?
(Q11562532,P734,c(Q82799))
action filter_type
action find
entity Q11562532
relation P734
type Q82799
['Q11562532', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q11562532 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Fukiko Watanabe
action filter_type
action find
entity Fukiko Watanabe
relation family name
type name
['Fukiko Watanabe', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Fukiko_Watanabe property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q10983405
SYSTEM
Watanabe
Q10983405
(Q11562532,P734,c(Q82799))
action filter_type
action find
entity Q11562532
relation P734
type Q82799
[ANSWER]
['Q11562532', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q11562532 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Watanabe
Watanabe
action filter_type
action find
entity Fukiko Watanabe
relation family name
type name
['Fukiko Watanabe', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Fukiko_Watanabe property:family_name ?j . ?j rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q10983405 Q11458319
P734
Q502895
USER
Does Jun Jugaku have that one as their family name ?
(Q11458319,P734,Q10983405)
action is_in
entity Q11458319
action find
entity Q10983405
relation P734
['Q11458319', 'P734', 'Q10983405']
ASK WHERE { resource:Q10983405 property:P734 resource:Q11458319 }
Watanabe Jun Jugaku
action is_in
entity Jun Jugaku
action find
entity Watanabe
relation family name
['Jun Jugaku', 'family name', 'Watanabe']
ASK WHERE { resource:Watanabe property:family_name resource:Jun_Jugaku }
[]
common name
SYSTEM
NO
(Q11458319,P734,Q10983405)
action is_in
entity Q11458319
action find
entity Q10983405
relation P734
[ANSWER]
['Q11458319', 'P734', 'Q10983405']
ASK WHERE { resource:Q10983405 property:P734 resource:Q11458319 }
No
action is_in
entity Jun Jugaku
action find
entity Watanabe
relation family name
['Jun Jugaku', 'family name', 'Watanabe']
ASK WHERE { resource:Watanabe property:family_name resource:Jun_Jugaku }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q27352651
P361
Q8436 Q9332 Q82799
USER
How many names are a portion of greater number of families or behaviors than Seon ?
(c(Q82799),P361,c(Q8436)|c(Q9332))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q9332
action count
action filter_multi_types
action find
entity Q27352651
relation P361
type Q8436
type Q9332
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { FILTER ( ?f > ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Q27352651 property:P361 ?l . { VALUES ( ?u ) { ( ontology:Q8436 ) ( ontology:Q9332 ) } . ?l rdf:type ?u } } } . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?f ) WHERE { { ?n property:P361 ?k . ?n rdf:type ontology:Q82799 . ?k rdf:type ontology:Q8436 } UNION { ?n property:P361 ?k . ?n rdf:type ontology:Q82799 . ?k rdf:type ontology:Q9332 } } GROUP BY ?n } }
Seon
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type behavior
action count
action filter_multi_types
action find
entity Seon
relation part of
type family
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'behavior'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { FILTER ( ?f > ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Seon property:part_of ?l . { VALUES ( ?u ) { ( ontology:family ) ( ontology:behavior ) } . ?l rdf:type ?u } } } . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?f ) WHERE { { ?n property:part_of ?k . ?n rdf:type ontology:name . ?k rdf:type ontology:family } UNION { ?n property:part_of ?k . ?n rdf:type ontology:name . ?k rdf:type ontology:behavior } } GROUP BY ?n } }
[]
family behavior name
SYSTEM
3
Q235598 Q742083 Q382004
(c(Q82799),P361,c(Q8436)|c(Q9332))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q9332
action count
action filter_multi_types
action find
entity Q27352651
relation P361
type Q8436
type Q9332
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { FILTER ( ?f > ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Q27352651 property:P361 ?l . { VALUES ( ?u ) { ( ontology:Q8436 ) ( ontology:Q9332 ) } . ?l rdf:type ?u } } } . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?f ) WHERE { { ?n property:P361 ?k . ?n rdf:type ontology:Q82799 . ?k rdf:type ontology:Q8436 } UNION { ?n property:P361 ?k . ?n rdf:type ontology:Q82799 . ?k rdf:type ontology:Q9332 } } GROUP BY ?n } }
Piso Princes of Paliano Afa-Negus
3
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type behavior
action count
action filter_multi_types
action find
entity Seon
relation part of
type family
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'behavior'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { FILTER ( ?f > ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Seon property:part_of ?l . { VALUES ( ?u ) { ( ontology:family ) ( ontology:behavior ) } . ?l rdf:type ?u } } } . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?f ) WHERE { { ?n property:part_of ?k . ?n rdf:type ontology:name . ?k rdf:type ontology:family } UNION { ?n property:part_of ?k . ?n rdf:type ontology:name . ?k rdf:type ontology:behavior } } GROUP BY ?n } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q20083701
P361
Q8436 Q9332 Q82799
USER
And how about Man?
(c(Q82799),P361,c(Q8436)|c(Q9332))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q9332
action count
action filter_multi_types
action find
entity Q20083701
relation P361
type Q8436
type Q9332
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q20083701 property:P361 ?w . { { ?w rdf:type ontology:Q8436 } UNION { ?w rdf:type ontology:Q9332 } } } } . FILTER ( ?a > ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) ?z WHERE { { ?z property:P361 ?k . ?k rdf:type ontology:Q9332 . ?z rdf:type ontology:Q82799 } UNION { ?z property:P361 ?k . ?z rdf:type ontology:Q82799 . ?k rdf:type ontology:Q8436 } } GROUP BY ?z } }
Man
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type behavior
action count
action filter_multi_types
action find
entity Man
relation part of
type family
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'behavior'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Man property:part_of ?w . { { ?w rdf:type ontology:family } UNION { ?w rdf:type ontology:behavior } } } } . FILTER ( ?a > ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) ?z WHERE { { ?z property:part_of ?k . ?k rdf:type ontology:behavior . ?z rdf:type ontology:name } UNION { ?z property:part_of ?k . ?z rdf:type ontology:name . ?k rdf:type ontology:family } } GROUP BY ?z } }
[]
family behavior name
SYSTEM
3
Q235598 Q742083 Q382004
(c(Q82799),P361,c(Q8436)|c(Q9332))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q9332
action count
action filter_multi_types
action find
entity Q20083701
relation P361
type Q8436
type Q9332
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q20083701 property:P361 ?w . { { ?w rdf:type ontology:Q8436 } UNION { ?w rdf:type ontology:Q9332 } } } } . FILTER ( ?a > ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) ?z WHERE { { ?z property:P361 ?k . ?k rdf:type ontology:Q9332 . ?z rdf:type ontology:Q82799 } UNION { ?z property:P361 ?k . ?z rdf:type ontology:Q82799 . ?k rdf:type ontology:Q8436 } } GROUP BY ?z } }
Piso Princes of Paliano Afa-Negus
3
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type behavior
action count
action filter_multi_types
action find
entity Man
relation part of
type family
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'behavior'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Man property:part_of ?w . { { ?w rdf:type ontology:family } UNION { ?w rdf:type ontology:behavior } } } } . FILTER ( ?a > ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) ?z WHERE { { ?z property:part_of ?k . ?k rdf:type ontology:behavior . ?z rdf:type ontology:name } UNION { ?z property:part_of ?k . ?z rdf:type ontology:name . ?k rdf:type ontology:family } } GROUP BY ?z } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15619164 Q56061 Q82799
USER
Which names have around 1 abstract beings and administrative territories as their toponym ?
(c(Q82799),P138,c(Q15619164)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q15619164
action find_tuple_counts
relation P138
type Q82799
type Q56061
value 1
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?n ) WHERE { { ?u rdf:type ontology:Q82799 . ?x rdf:type ontology:Q15619164 . ?u property:P138 ?x } UNION { ?u rdf:type ontology:Q82799 . ?x rdf:type ontology:Q56061 . ?u property:P138 ?x } } GROUP BY ?u } . FILTER ( ?n = 1 ) }
action approx
action union
action find_tuple_counts
relation named after
type name
type abstract being
action find_tuple_counts
relation named after
type name
type administrative territorial entity
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?n ) WHERE { { ?u rdf:type ontology:name . ?x rdf:type ontology:abstract_being . ?u property:named_after ?x } UNION { ?u rdf:type ontology:name . ?x rdf:type ontology:administrative_territorial_entity . ?u property:named_after ?x } } GROUP BY ?u } . FILTER ( ?n = 1 ) }
[]
abstract being administrative territorial entity name
Q1069827 Q22922124 Q16877784
SYSTEM
Rosario, von Mecklenburg-Schwerin, Napoli
Q1069827 Q23688105 Q17643158 Q20818054 Q20963077 Q22922124 Q16877784
(c(Q82799),P138,c(Q15619164)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q15619164
action find_tuple_counts
relation P138
type Q82799
type Q56061
value 1
[ANSWERS] have around 1 abstract beings and administrative territories as their toponym
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?n ) WHERE { { ?u rdf:type ontology:Q82799 . ?x rdf:type ontology:Q15619164 . ?u property:P138 ?x } UNION { ?u rdf:type ontology:Q82799 . ?x rdf:type ontology:Q56061 . ?u property:P138 ?x } } GROUP BY ?u } . FILTER ( ?n = 1 ) }
Rosario de Bragança If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Giolla Íosa Aryaman von Mecklenburg-Schwerin Napoli
Rosario, von Mecklenburg-Schwerin and Napoli have around 1 abstract beings and administrative territories as their toponym
Rosario von Mecklenburg-Schwerin Napoli
action approx
action union
action find_tuple_counts
relation named after
type name
type abstract being
action find_tuple_counts
relation named after
type name
type administrative territorial entity
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?n ) WHERE { { ?u rdf:type ontology:name . ?x rdf:type ontology:abstract_being . ?u property:named_after ?x } UNION { ?u rdf:type ontology:name . ?x rdf:type ontology:administrative_territorial_entity . ?u property:named_after ?x } } GROUP BY ?u } . FILTER ( ?n = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16685882
P19
Q20667921
USER
Which french administrative division was Étienne Legrand born in ?
(Q16685882,P19,c(Q20667921))
action filter_type
action find
entity Q16685882
relation P19
type Q20667921
['Q16685882', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q16685882 property:P19 ?z . ?z rdf:type ontology:Q20667921 }
Étienne Legrand
action filter_type
action find
entity Étienne Legrand
relation place of birth
type type of french administrative division
['Étienne Legrand', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Étienne_Legrand property:place_of_birth ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q840893
SYSTEM
Pont-de-Vaux
Q840893
(Q16685882,P19,c(Q20667921))
action filter_type
action find
entity Q16685882
relation P19
type Q20667921
Étienne Legrand was born in [ANSWER]
['Q16685882', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q16685882 property:P19 ?z . ?z rdf:type ontology:Q20667921 }
Pont-de-Vaux
Étienne Legrand was born in Pont-de-Vaux
Pont-de-Vaux
action filter_type
action find
entity Étienne Legrand
relation place of birth
type type of french administrative division
['Étienne Legrand', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Étienne_Legrand property:place_of_birth ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16685882
P20
Q20667921
USER
Where did the expiration of that person occur ?
(Q840893,P20,c(Q20667921))
action filter_type
action find
entity Q16685882
relation P20
type Q20667921
['Q840893', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q16685882 property:P20 ?q . ?q rdf:type ontology:Q20667921 }
Étienne Legrand
action filter_type
action find
entity Étienne Legrand
relation place of death
type type of french administrative division
['Pont-de-Vaux', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Étienne_Legrand property:place_of_death ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q840893
SYSTEM
Pont-de-Vaux
Q840893
(Q840893,P20,c(Q20667921))
action filter_type
action find
entity Q16685882
relation P20
type Q20667921
The expiration of that person occurred in [ANSWER]
['Q840893', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q16685882 property:P20 ?q . ?q rdf:type ontology:Q20667921 }
Pont-de-Vaux
The expiration of that person occurred in Pont-de-Vaux
Pont-de-Vaux
action filter_type
action find
entity Étienne Legrand
relation place of death
type type of french administrative division
['Pont-de-Vaux', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Étienne_Legrand property:place_of_death ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q840893 Q607287
P47
Q20667921
USER
Is Colomby-sur-Thaon adjacent to that one ?
(Q840893,P47,Q607287)
action is_in
entity Q607287
action find
entity Q840893
relation P47
['Q840893', 'P47', 'Q607287']
ASK WHERE { resource:Q840893 property:P47 resource:Q607287 }
Pont-de-Vaux Colomby-sur-Thaon
action is_in
entity Colomby-sur-Thaon
action find
entity Pont-de-Vaux
relation shares border with
['Pont-de-Vaux', 'shares border with', 'Colomby-sur-Thaon']
ASK WHERE { resource:Pont-de-Vaux property:shares_border_with resource:Colomby-sur-Thaon }
[]
type of french administrative division
SYSTEM
NO
(Q840893,P47,Q607287)
action is_in
entity Q607287
action find
entity Q840893
relation P47
[ANSWER]
['Q840893', 'P47', 'Q607287']
ASK WHERE { resource:Q840893 property:P47 resource:Q607287 }
No
action is_in
entity Colomby-sur-Thaon
action find
entity Pont-de-Vaux
relation shares border with
['Pont-de-Vaux', 'shares border with', 'Colomby-sur-Thaon']
ASK WHERE { resource:Pont-de-Vaux property:shares_border_with resource:Colomby-sur-Thaon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q840893
P1444
Q31629
USER
Which type of sport ends at Pont-de-Vaux ?
action filter_type
action find_reverse
entity Q840893
relation P1444
type Q31629
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q31629 . ?e property:P1444 resource:Q840893 }
Pont-de-Vaux
action filter_type
action find_reverse
entity Pont-de-Vaux
relation destination point
type type of sport
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:type_of_sport . ?e property:destination_point resource:Pont-de-Vaux }
[]
type of sport
Q20823512
SYSTEM
2015 Tour de l'Ain, Stage 2
Q20823512
action filter_type
action find_reverse
entity Q840893
relation P1444
type Q31629
The [ANSWER] ends at Pont-de-Vaux
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q31629 . ?e property:P1444 resource:Q840893 }
2015 Tour de l'Ain, Stage 2
The 2015 Tour de l'Ain, Stage 2 ends at Pont-de-Vaux
2015 Tour de l'Ain, Stage 2
action filter_type
action find_reverse
entity Pont-de-Vaux
relation destination point
type type of sport
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:type_of_sport . ?e property:destination_point resource:Pont-de-Vaux }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P361
Q18608583 Q874405 Q31629
USER
Which types of sport are a component of more number of recurring sporting events or social groups than that type of sport ?
(c(Q31629),P361,c(Q18608583)|c(Q874405))
action greater
action union
action find_tuple_counts
relation P361
type Q31629
type Q18608583
action find_tuple_counts
relation P361
type Q31629
type Q874405
action count
action filter_multi_types
action find
entity Q20823512
relation P361
type Q18608583
type Q874405
[{'concept': 'Q31629'}, 'P361', [{'concept': 'Q18608583'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?l WHERE { VALUES ( ?n ) { ( ontology:Q18608583 ) ( ontology:Q874405 ) } . ?w rdf:type ?n } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Q20823512 property:P361 ?u . { { ?u rdf:type ontology:Q18608583 } UNION { ?u rdf:type ontology:Q874405 } } } } . FILTER ( ?h > ?p ) }
action greater
action union
action find_tuple_counts
relation part of
type type of sport
type recurring sporting event
action find_tuple_counts
relation part of
type type of sport
type social group
action count
action filter_multi_types
action find
entity 2015 Tour de l'Ain, Stage 2
relation part of
type recurring sporting event
type social group
[{'concept': 'type of sport'}, 'part of', [{'concept': 'recurring sporting event'}, {'concept': 'social group'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?l WHERE { VALUES ( ?n ) { ( ontology:recurring_sporting_event ) ( ontology:social_group ) } . ?w rdf:type ?n } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:2015_Tour_de_l'Ain,_Stage_2 property:part_of ?u . { { ?u rdf:type ontology:recurring_sporting_event } UNION { ?u rdf:type ontology:social_group } } } } . FILTER ( ?h > ?p ) }
[]
recurring sporting event social group type of sport
SYSTEM
31
Q17747909 Q2807503 Q22344380 Q19392891 Q19392890 Q20746188 Q20746189 Q20746184 Q20746185 Q20746186 Q20746187 Q260938 Q21755419 Q21755418 Q21755417 Q21755416 Q22344375 Q19392888 Q19392889 Q265672 Q17747711 Q2219503 Q512229 Q22344367 Q22344357 Q12007223 Q17747832 Q20746190 Q21755420 Q17747942 Q17747499
(c(Q31629),P361,c(Q18608583)|c(Q874405))
action greater
action union
action find_tuple_counts
relation P361
type Q31629
type Q18608583
action find_tuple_counts
relation P361
type Q31629
type Q874405
action count
action filter_multi_types
action find
entity Q20823512
relation P361
type Q18608583
type Q874405
[ANSWER]
[{'concept': 'Q31629'}, 'P361', [{'concept': 'Q18608583'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?l WHERE { VALUES ( ?n ) { ( ontology:Q18608583 ) ( ontology:Q874405 ) } . ?w rdf:type ?n } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Q20823512 property:P361 ?u . { { ?u rdf:type ontology:Q18608583 } UNION { ?u rdf:type ontology:Q874405 } } } } . FILTER ( ?h > ?p ) }
2014 Tour of Norway, Stage 4 1995 Tour de France, Stage 12 2016 Ladies Tour of Qatar, Stage 4 2013 Tour of Norway, Stage 5 2013 Tour of Norway, Stage 4 2015 Tour de Pologne, Stage 5 2015 Tour de Pologne, Stage 6 2015 Tour de Pologne, Stage 1 2015 Tour de Pologne, Stage 2 2015 Tour de Pologne, Stage 3 2015 Tour de Pologne, Stage 4 2012 Tour de France, Prologue 2014 Tour de l'Ain, Stage 3 2014 Tour de l'Ain, Stage 2 2014 Tour de l'Ain, Stage 1 2014 Tour de l'Ain, Prologue 2016 Ladies Tour of Qatar, Stage 3 2013 Tour of Norway, Stage 1 2013 Tour of Norway, Stage 2 2008 Tour de France, Stage 8 2014 Tour of Norway, Stage 2 2004 Tour de France, Prologue Academic fencing 2016 Ladies Tour of Qatar, Stage 2 2016 Ladies Tour of Qatar, Stage 1 2013 Tour of Norway, Stage 3 2014 Tour of Norway, Stage 3 2015 Tour de Pologne, Stage 7 2014 Tour de l'Ain, Stage 4 2014 Tour of Norway, Stage 5 2014 Tour of Norway, Stage 1
31
action greater
action union
action find_tuple_counts
relation part of
type type of sport
type recurring sporting event
action find_tuple_counts
relation part of
type type of sport
type social group
action count
action filter_multi_types
action find
entity 2015 Tour de l'Ain, Stage 2
relation part of
type recurring sporting event
type social group
[{'concept': 'type of sport'}, 'part of', [{'concept': 'recurring sporting event'}, {'concept': 'social group'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?l WHERE { VALUES ( ?n ) { ( ontology:recurring_sporting_event ) ( ontology:social_group ) } . ?w rdf:type ?n } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:2015_Tour_de_l'Ain,_Stage_2 property:part_of ?u . { { ?u rdf:type ontology:recurring_sporting_event } UNION { ?u rdf:type ontology:social_group } } } } . FILTER ( ?h > ?p ) }
[]