Simple Question (Direct)
Simple Question
Q3438459
P641
Q349
USER
What was the sport that Rodrigo Fernandes Alflen was a part of ?
(Q3438459,P641,c(Q349))
action filter_type
action find
entity Q3438459
relation P641
type Q349
['Q3438459', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q3438459 property:P641 ?c . ?c rdf:type ontology:Q349 }
Rodrigo Fernandes Alflen
action filter_type
action find
entity Rodrigo Fernandes Alflen
relation sport
type sport
['Rodrigo Fernandes Alflen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Rodrigo_Fernandes_Alflen property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3438459,P641,c(Q349))
action filter_type
action find
entity Q3438459
relation P641
type Q349
The sport that Rodrigo Fernandes Alflen was a part of was h [ANSWER]
['Q3438459', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q3438459 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
The sport that Rodrigo Fernandes Alflen was a part of was h association football
association football
action filter_type
action find
entity Rodrigo Fernandes Alflen
relation sport
type sport
['Rodrigo Fernandes Alflen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Rodrigo_Fernandes_Alflen property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3438459
P54
Q6979593
USER
Which national association football team is that person a member of ?
(Q2736,P54,c(Q6979593))
action filter_type
action find
entity Q3438459
relation P54
type Q6979593
['Q2736', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?m WHERE { resource:Q3438459 property:P54 ?m . ?m rdf:type ontology:Q6979593 }
Rodrigo Fernandes Alflen
action filter_type
action find
entity Rodrigo Fernandes Alflen
relation member of sports team
type national association football team
['association football', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?m WHERE { resource:Rodrigo_Fernandes_Alflen property:member_of_sports_team ?m . ?m rdf:type ontology:national_association_football_team }
[]
national association football team
Q899189
SYSTEM
Brazil Olympic football team
Q899189
(Q2736,P54,c(Q6979593))
action filter_type
action find
entity Q3438459
relation P54
type Q6979593
The [ANSWER] is that person a member of
['Q2736', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?m WHERE { resource:Q3438459 property:P54 ?m . ?m rdf:type ontology:Q6979593 }
Brazil Olympic football team
The Brazil Olympic football team is that person a member of
Brazil Olympic football team
action filter_type
action find
entity Rodrigo Fernandes Alflen
relation member of sports team
type national association football team
['association football', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?m WHERE { resource:Rodrigo_Fernandes_Alflen property:member_of_sports_team ?m . ?m rdf:type ontology:national_association_football_team }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q899189 Q644202
P1532
Q15617994
USER
Is Niederwallmenach played by that national association football team ?
(Q899189,P1532,Q644202)
action is_in
entity Q644202
action find
entity Q899189
relation P1532
['Q899189', 'P1532', 'Q644202']
ASK WHERE { resource:Q899189 property:P1532 resource:Q644202 }
Brazil Olympic football team Niederwallmenach
action is_in
entity Niederwallmenach
action find
entity Brazil Olympic football team
relation country for sport
['Brazil Olympic football team', 'country for sport', 'Niederwallmenach']
ASK WHERE { resource:Brazil_Olympic_football_team property:country_for_sport resource:Niederwallmenach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q899189,P1532,Q644202)
action is_in
entity Q644202
action find
entity Q899189
relation P1532
[ANSWER]
['Q899189', 'P1532', 'Q644202']
ASK WHERE { resource:Q899189 property:P1532 resource:Q644202 }
No
action is_in
entity Niederwallmenach
action find
entity Brazil Olympic football team
relation country for sport
['Brazil Olympic football team', 'country for sport', 'Niederwallmenach']
ASK WHERE { resource:Brazil_Olympic_football_team property:country_for_sport resource:Niederwallmenach }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3438459 Q82712
P27
Q15617994
USER
Is Impruneta the native country of Rodrigo Fernandes Alflen ?
(Q3438459,P27,Q82712)
action is_in
entity Q82712
action find
entity Q3438459
relation P27
['Q3438459', 'P27', 'Q82712']
ASK WHERE { resource:Q3438459 property:P27 resource:Q82712 }
Rodrigo Fernandes Alflen Impruneta
action is_in
entity Impruneta
action find
entity Rodrigo Fernandes Alflen
relation country of citizenship
['Rodrigo Fernandes Alflen', 'country of citizenship', 'Impruneta']
ASK WHERE { resource:Rodrigo_Fernandes_Alflen property:country_of_citizenship resource:Impruneta }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3438459,P27,Q82712)
action is_in
entity Q82712
action find
entity Q3438459
relation P27
[ANSWER]
['Q3438459', 'P27', 'Q82712']
ASK WHERE { resource:Q3438459 property:P27 resource:Q82712 }
No
action is_in
entity Impruneta
action find
entity Rodrigo Fernandes Alflen
relation country of citizenship
['Rodrigo Fernandes Alflen', 'country of citizenship', 'Impruneta']
ASK WHERE { resource:Rodrigo_Fernandes_Alflen property:country_of_citizenship resource:Impruneta }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1396169 Q3438459
P19
Q56061
USER
Which administrative territories are the places of birth of Rodrigo Fernandes Alflen or Susanna Moodie ?
OR((Q3438459,P19,c(Q56061)), (Q1396169,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3438459
relation P19
action find
entity Q1396169
relation P19
type Q56061
{'OR': [['Q3438459', 'P19', {'concept': 'Q56061'}], ['Q1396169', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { ?r property:P19 ?a . VALUES ( ?r ) { ( resource:Q1396169 ) ( resource:Q3438459 ) } } . ?a rdf:type ontology:Q56061 }
Susanna Moodie Rodrigo Fernandes Alflen
action filter_type
action union
action find
entity Rodrigo Fernandes Alflen
relation place of birth
action find
entity Susanna Moodie
relation place of birth
type administrative territorial entity
{'OR': [['Rodrigo Fernandes Alflen', 'place of birth', {'concept': 'administrative territorial entity'}], ['Susanna Moodie', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?r property:place_of_birth ?a . VALUES ( ?r ) { ( resource:Susanna_Moodie ) ( resource:Rodrigo_Fernandes_Alflen ) } } . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q81882 Q1009468
SYSTEM
Santos, Bungay
Q81882 Q1009468
OR((Q3438459,P19,c(Q56061)), (Q1396169,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3438459
relation P19
action find
entity Q1396169
relation P19
type Q56061
[ANSWERS] are the places of birth of Rodrigo Fernandes Alflen or Susanna Moodie
{'OR': [['Q3438459', 'P19', {'concept': 'Q56061'}], ['Q1396169', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { ?r property:P19 ?a . VALUES ( ?r ) { ( resource:Q1396169 ) ( resource:Q3438459 ) } } . ?a rdf:type ontology:Q56061 }
Santos Bungay
Santos and Bungay are the places of birth of Rodrigo Fernandes Alflen or Susanna Moodie
Santos Bungay
action filter_type
action union
action find
entity Rodrigo Fernandes Alflen
relation place of birth
action find
entity Susanna Moodie
relation place of birth
type administrative territorial entity
{'OR': [['Rodrigo Fernandes Alflen', 'place of birth', {'concept': 'administrative territorial entity'}], ['Susanna Moodie', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?r property:place_of_birth ?a . VALUES ( ?r ) { ( resource:Susanna_Moodie ) ( resource:Rodrigo_Fernandes_Alflen ) } } . ?a rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3563596 Q899189
P1532 P17
Q15617994
USER
Which administrative territories are represented by Brazil Olympic football team or are Vrbanja situated in ?
OR((Q899189,P1532,c(Q15617994)), (Q3563596,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q899189
relation P1532
action find
entity Q3563596
relation P17
type Q15617994
{'OR': [['Q899189', 'P1532', {'concept': 'Q15617994'}], ['Q3563596', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q3563596 property:P17 ?n } UNION { resource:Q899189 property:P1532 ?n } } . ?n rdf:type ontology:Q15617994 }
Vrbanja Brazil Olympic football team
action filter_type
action union
action find
entity Brazil Olympic football team
relation country for sport
action find
entity Vrbanja
relation country
type designation for an administrative territorial entity
{'OR': [['Brazil Olympic football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Vrbanja', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Vrbanja property:country ?n } UNION { resource:Brazil_Olympic_football_team property:country_for_sport ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q225
SYSTEM
Brazil, Bosnia and Herzegovina
Q155 Q225
OR((Q899189,P1532,c(Q15617994)), (Q3563596,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q899189
relation P1532
action find
entity Q3563596
relation P17
type Q15617994
[ANSWERS] are represented by Brazil Olympic football team or are Vrbanja situated in
{'OR': [['Q899189', 'P1532', {'concept': 'Q15617994'}], ['Q3563596', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q3563596 property:P17 ?n } UNION { resource:Q899189 property:P1532 ?n } } . ?n rdf:type ontology:Q15617994 }
Brazil Bosnia and Herzegovina
Brazil and Bosnia and Herzegovina are represented by Brazil Olympic football team or are Vrbanja situated in
Brazil Bosnia and Herzegovina
action filter_type
action union
action find
entity Brazil Olympic football team
relation country for sport
action find
entity Vrbanja
relation country
type designation for an administrative territorial entity
{'OR': [['Brazil Olympic football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Vrbanja', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Vrbanja property:country ?n } UNION { resource:Brazil_Olympic_football_team property:country_for_sport ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q18608583 Q13406554
USER
How many sports did approximately 1614 recurring sporting events and sport competitions participate in ?
(c(Q18608583)|c(Q13406554),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
value 1614
[[{'concept': 'Q18608583'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:Q18608583 ) ( ontology:Q13406554 ) } } GROUP BY ?e } . FILTER ( ?j = 1614 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
value 1614
[[{'concept': 'recurring sporting event'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:recurring_sporting_event ) ( ontology:sport_competition ) } } GROUP BY ?e } . FILTER ( ?j = 1614 ) }
[]
sport recurring sporting event sport competition
SYSTEM
6
Q847 Q328716 Q5372 Q5369 Q41466 Q1734
(c(Q18608583)|c(Q13406554),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
value 1614
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:Q18608583 ) ( ontology:Q13406554 ) } } GROUP BY ?e } . FILTER ( ?j = 1614 ) }
tennis motorcycle sport basketball baseball ice hockey volleyball
6
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
value 1614
[[{'concept': 'recurring sporting event'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:recurring_sporting_event ) ( ontology:sport_competition ) } } GROUP BY ?e } . FILTER ( ?j = 1614 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3091
Q502895 Q3745054 Q502895
USER
How many people ride on a approximately 4 people and horse breeds ?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
value 4
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?r WHERE { { ?r rdf:type ontology:Q502895 . ?j rdf:type ontology:Q502895 . ?r property:P3091 ?j } UNION { ?r property:P3091 ?j . ?r rdf:type ontology:Q502895 . ?j rdf:type ontology:Q3745054 } } GROUP BY ?r } . FILTER ( ?v = 4 ) }
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
value 4
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?r WHERE { { ?r rdf:type ontology:common_name . ?j rdf:type ontology:common_name . ?r property:mount ?j } UNION { ?r property:mount ?j . ?r rdf:type ontology:common_name . ?j rdf:type ontology:horse_breed } } GROUP BY ?r } . FILTER ( ?v = 4 ) }
[]
common name horse breed common name
SYSTEM
2
Q538006 Q1538882
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
value 4
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?r WHERE { { ?r rdf:type ontology:Q502895 . ?j rdf:type ontology:Q502895 . ?r property:P3091 ?j } UNION { ?r property:P3091 ?j . ?r rdf:type ontology:Q502895 . ?j rdf:type ontology:Q3745054 } } GROUP BY ?r } . FILTER ( ?v = 4 ) }
Pat Eddery Kevin Staut
2
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
value 4
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?r WHERE { { ?r rdf:type ontology:common_name . ?j rdf:type ontology:common_name . ?r property:mount ?j } UNION { ?r property:mount ?j . ?r rdf:type ontology:common_name . ?j rdf:type ontology:horse_breed } } GROUP BY ?r } . FILTER ( ?v = 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P138
Q17444909
USER
Which astronomical object type has Brazil as its toponym ?
(c(Q17444909),P138,Q155)
action filter_type
action find_reverse
entity Q155
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q155']
SELECT DISTINCT ?o WHERE { ?o property:P138 resource:Q155 . ?o rdf:type ontology:Q17444909 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Brazil']
SELECT DISTINCT ?o WHERE { ?o property:named_after resource:Brazil . ?o rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q150378
SYSTEM
293 Brasilia
Q150378
(c(Q17444909),P138,Q155)
action filter_type
action find_reverse
entity Q155
relation P138
type Q17444909
[ANSWER] has Brazil as its toponym
[{'concept': 'Q17444909'}, 'P138', 'Q155']
SELECT DISTINCT ?o WHERE { ?o property:P138 resource:Q155 . ?o rdf:type ontology:Q17444909 }
293 Brasilia
293 Brasilia has Brazil as its toponym
293 Brasilia
action filter_type
action find_reverse
entity Brazil
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Brazil']
SELECT DISTINCT ?o WHERE { ?o property:named_after resource:Brazil . ?o rdf:type ontology:astronomical_object_type }
[]