Simple Question (Direct)
Simple Question
Q4460465
P21
Q290
USER
What is the sex of Patrice Tonga ?
(Q4460465,P21,c(Q290))
action filter_type
action find
entity Q4460465
relation P21
type Q290
['Q4460465', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q4460465 property:P21 ?y . ?y rdf:type ontology:Q290 }
Patrice Tonga
action filter_type
action find
entity Patrice Tonga
relation gender
type sex
['Patrice Tonga', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Patrice_Tonga property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4460465,P21,c(Q290))
action filter_type
action find
entity Q4460465
relation P21
type Q290
The sex of Patrice Tonga is a [ANSWER]
['Q4460465', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q4460465 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
The sex of Patrice Tonga is a male
male
action filter_type
action find
entity Patrice Tonga
relation gender
type sex
['Patrice Tonga', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Patrice_Tonga property:gender ?y . ?y rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q18917482
P21
Q502895
USER
Does John Ward have the gender as that sex ?
(Q18917482,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q18917482
relation P21
['Q18917482', 'P21', 'Q6581097']
ASK WHERE { resource:Q18917482 property:P21 resource:Q6581097 }
male John Ward
action is_in
entity male
action find
entity John Ward
relation gender
['John Ward', 'gender', 'male']
ASK WHERE { resource:John_Ward property:gender resource:male }
[]
common name
SYSTEM
YES
(Q18917482,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q18917482
relation P21
[ANSWER]
['Q18917482', 'P21', 'Q6581097']
ASK WHERE { resource:Q18917482 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity John Ward
relation gender
['John Ward', 'gender', 'male']
ASK WHERE { resource:John_Ward property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4460465 Q1009 Q7165363
P27
Q15617994
USER
Is Patrice Tonga a native of Cameroon and Penwartha Coombe ?
(Q4460465,P27,Q1009) (Q4460465,P27,Q7165363)
action is_in
entity Q4460465
action intersection
action find_reverse
entity Q1009
relation P27
action find_reverse
entity Q7165363
relation P27
['Q4460465', 'P27', 'Q1009'] ['Q4460465', 'P27', 'Q7165363']
ASK WHERE { resource:Q4460465 property:P27 resource:Q1009 . resource:Q4460465 property:P27 resource:Q7165363 }
Patrice Tonga Cameroon Penwartha Coombe
action is_in
entity Patrice Tonga
action intersection
action find_reverse
entity Cameroon
relation country of citizenship
action find_reverse
entity Penwartha Coombe
relation country of citizenship
['Patrice Tonga', 'country of citizenship', 'Cameroon'] ['Patrice Tonga', 'country of citizenship', 'Penwartha Coombe']
ASK WHERE { resource:Patrice_Tonga property:country_of_citizenship resource:Cameroon . resource:Patrice_Tonga property:country_of_citizenship resource:Penwartha_Coombe }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q4460465,P27,Q1009) (Q4460465,P27,Q7165363)
action is_in
entity Q4460465
action intersection
action find_reverse
entity Q1009
relation P27
action find_reverse
entity Q7165363
relation P27
[ANSWER]
['Q4460465', 'P27', 'Q1009'] ['Q4460465', 'P27', 'Q7165363']
ASK WHERE { resource:Q4460465 property:P27 resource:Q1009 . resource:Q4460465 property:P27 resource:Q7165363 }
YES and NO respectively
action is_in
entity Patrice Tonga
action intersection
action find_reverse
entity Cameroon
relation country of citizenship
action find_reverse
entity Penwartha Coombe
relation country of citizenship
['Patrice Tonga', 'country of citizenship', 'Cameroon'] ['Patrice Tonga', 'country of citizenship', 'Penwartha Coombe']
ASK WHERE { resource:Patrice_Tonga property:country_of_citizenship resource:Cameroon . resource:Patrice_Tonga property:country_of_citizenship resource:Penwartha_Coombe }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6581097 Q487439
P69
Q502895
USER
How many people were educated at male or Oral ?
(c(Q502895),P69,Q6581097) (c(Q502895),P69,Q487439)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
action filter_type
action find_reverse
entity Q487439
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q6581097'] [{'concept': 'Q502895'}, 'P69', 'Q487439']
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:P69 resource:Q6581097 . ?x rdf:type ontology:Q502895 } UNION { ?x rdf:type ontology:Q502895 . ?x property:P69 resource:Q487439 } }
male Oral
action count
action union
action filter_type
action find_reverse
entity male
relation educated at
type common name
action filter_type
action find_reverse
entity Oral
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male'] [{'concept': 'common name'}, 'educated at', 'Oral']
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:educated_at resource:male . ?x rdf:type ontology:common_name } UNION { ?x rdf:type ontology:common_name . ?x property:educated_at resource:Oral } }
[]
common name
SYSTEM
2
Q4662307 Q1377525
(c(Q502895),P69,Q6581097) (c(Q502895),P69,Q487439)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
action filter_type
action find_reverse
entity Q487439
relation P69
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P69', 'Q6581097'] [{'concept': 'Q502895'}, 'P69', 'Q487439']
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:P69 resource:Q6581097 . ?x rdf:type ontology:Q502895 } UNION { ?x rdf:type ontology:Q502895 . ?x property:P69 resource:Q487439 } }
Aaron Parchem Imangali Tasmagambetov
2
action count
action union
action filter_type
action find_reverse
entity male
relation educated at
type common name
action filter_type
action find_reverse
entity Oral
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male'] [{'concept': 'common name'}, 'educated at', 'Oral']
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:educated_at resource:male . ?x rdf:type ontology:common_name } UNION { ?x rdf:type ontology:common_name . ?x property:educated_at resource:Oral } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4460465
P641
Q349
USER
Which sport was Patrice Tonga a part of ?
(Q4460465,P641,c(Q349))
action filter_type
action find
entity Q4460465
relation P641
type Q349
['Q4460465', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q4460465 property:P641 ?u . ?u rdf:type ontology:Q349 }
Patrice Tonga
action filter_type
action find
entity Patrice Tonga
relation sport
type sport
['Patrice Tonga', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Patrice_Tonga property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4460465,P641,c(Q349))
action filter_type
action find
entity Q4460465
relation P641
type Q349
Which sport was Patrice Tonga a part of
['Q4460465', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q4460465 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
Which sport was Patrice Tonga a part of
association football
action filter_type
action find
entity Patrice Tonga
relation sport
type sport
['Patrice Tonga', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Patrice_Tonga property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3438017
Q349
USER
And how about Thomas Doe?
(Q3438017,P641,c(Q349))
action filter_type
action find
entity Q3438017
relation P641
type Q349
['Q3438017', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3438017 property:P641 ?o . ?o rdf:type ontology:Q349 }
Thomas Doe
action filter_type
action find
entity Thomas Doe
relation sport
type sport
['Thomas Doe', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_Doe property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q177275
SYSTEM
bobsleigh
Q177275
(Q3438017,P641,c(Q349))
action filter_type
action find
entity Q3438017
relation P641
type Q349
[ANSWER]
['Q3438017', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3438017 property:P641 ?o . ?o rdf:type ontology:Q349 }
bobsleigh
bobsleigh
action filter_type
action find
entity Thomas Doe
relation sport
type sport
['Thomas Doe', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_Doe property:sport ?o . ?o rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q502895 Q18608583
USER
Which sports were atleast 14779 people and recurring sporting events a part of ?
(c(Q502895)|c(Q18608583),P641,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
value 14779
[[{'concept': 'Q502895'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?b WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q18608583 ) } } GROUP BY ?b } . FILTER ( ?m >= 14779 ) }
action atleast
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
value 14779
[[{'concept': 'common name'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?b WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:common_name ) ( ontology:recurring_sporting_event ) } } GROUP BY ?b } . FILTER ( ?m >= 14779 ) }
[]
sport common name recurring sporting event
Q5372 Q41466 Q2736
SYSTEM
basketball, ice hockey, association football
Q5372 Q41466 Q2736
(c(Q502895)|c(Q18608583),P641,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
value 14779
The [ANSWERS] were atleast 14779 people and recurring sporting events a part of
[[{'concept': 'Q502895'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?b WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q18608583 ) } } GROUP BY ?b } . FILTER ( ?m >= 14779 ) }
basketball ice hockey association football
The basketball, ice hockey and association football were atleast 14779 people and recurring sporting events a part of
basketball ice hockey association football
action atleast
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
value 14779
[[{'concept': 'common name'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?b WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:common_name ) ( ontology:recurring_sporting_event ) } } GROUP BY ?b } . FILTER ( ?m >= 14779 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q201360
P641
Q847017
USER
Are Grasshopper Club Zürich involved in playing those sports ?
(Q201360,P641,Q5372) (Q201360,P641,Q41466) (Q201360,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q201360
relation P641
['Q201360', 'P641', 'Q5372'] ['Q201360', 'P641', 'Q41466'] ['Q201360', 'P641', 'Q2736']
ASK WHERE { VALUES ( ?q ) { ( resource:Q5372 ) ( resource:Q41466 ) ( resource:Q2736 ) } . resource:Q201360 property:P641 ?q }
Grasshopper Club Zürich
action is_in
entity prev_answer
action find
entity Grasshopper Club Zürich
relation sport
['Grasshopper Club Zürich', 'sport', 'basketball'] ['Grasshopper Club Zürich', 'sport', 'ice hockey'] ['Grasshopper Club Zürich', 'sport', 'association football']
ASK WHERE { VALUES ( ?q ) { ( resource:basketball ) ( resource:ice_hockey ) ( resource:association_football ) } . resource:Grasshopper_Club_Zürich property:sport ?q }
[]
sports club
SYSTEM
YES
(Q201360,P641,Q5372) (Q201360,P641,Q41466) (Q201360,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q201360
relation P641
[ANSWER]
['Q201360', 'P641', 'Q5372'] ['Q201360', 'P641', 'Q41466'] ['Q201360', 'P641', 'Q2736']
ASK WHERE { VALUES ( ?q ) { ( resource:Q5372 ) ( resource:Q41466 ) ( resource:Q2736 ) } . resource:Q201360 property:P641 ?q }
Yes
action is_in
entity prev_answer
action find
entity Grasshopper Club Zürich
relation sport
['Grasshopper Club Zürich', 'sport', 'basketball'] ['Grasshopper Club Zürich', 'sport', 'ice hockey'] ['Grasshopper Club Zürich', 'sport', 'association football']
ASK WHERE { VALUES ( ?q ) { ( resource:basketball ) ( resource:ice_hockey ) ( resource:association_football ) } . resource:Grasshopper_Club_Zürich property:sport ?q }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q393808
P641
Q349 Q502895 Q18608583
USER
How many sports did approximately the same number of people or recurring sporting events participate in as Dog agility ?
(c(Q502895)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q393808
relation P641
type Q502895
type Q18608583
[[{'concept': 'Q502895'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { FILTER ( ?i = ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q18608583 ) } . ?h rdf:type ?w } . ?h property:P641 resource:Q393808 } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?r WHERE { { ?b property:P641 ?r . ?r rdf:type ontology:Q349 . ?b rdf:type ontology:Q18608583 } UNION { ?b property:P641 ?r . ?r rdf:type ontology:Q349 . ?b rdf:type ontology:Q502895 } } GROUP BY ?r } }
Dog agility
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity Dog agility
relation sport
type common name
type recurring sporting event
[[{'concept': 'common name'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { FILTER ( ?i = ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { VALUES ( ?w ) { ( ontology:common_name ) ( ontology:recurring_sporting_event ) } . ?h rdf:type ?w } . ?h property:sport resource:Dog_agility } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?r WHERE { { ?b property:sport ?r . ?r rdf:type ontology:sport . ?b rdf:type ontology:recurring_sporting_event } UNION { ?b property:sport ?r . ?r rdf:type ontology:sport . ?b rdf:type ontology:common_name } } GROUP BY ?r } }
[]
sport common name recurring sporting event
SYSTEM
177
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q847 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5375 Q5377 Q206989 Q5369 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q502895)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q393808
relation P641
type Q502895
type Q18608583
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { FILTER ( ?i = ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q18608583 ) } . ?h rdf:type ?w } . ?h property:P641 resource:Q393808 } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?r WHERE { { ?b property:P641 ?r . ?r rdf:type ontology:Q349 . ?b rdf:type ontology:Q18608583 } UNION { ?b property:P641 ?r . ?r rdf:type ontology:Q349 . ?b rdf:type ontology:Q502895 } } GROUP BY ?r } }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport tennis equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football dancesport Kabaddi curling women's basketball rallying rallycross cricket golf shooting sport baseball canoe polo handball natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
177
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity Dog agility
relation sport
type common name
type recurring sporting event
[[{'concept': 'common name'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { FILTER ( ?i = ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { VALUES ( ?w ) { ( ontology:common_name ) ( ontology:recurring_sporting_event ) } . ?h rdf:type ?w } . ?h property:sport resource:Dog_agility } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?r WHERE { { ?b property:sport ?r . ?r rdf:type ontology:sport . ?b rdf:type ontology:recurring_sporting_event } UNION { ?b property:sport ?r . ?r rdf:type ontology:sport . ?b rdf:type ontology:common_name } } GROUP BY ?r } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4460465
P19
Q56061
USER
Which administrative territory was Patrice Tonga born at ?
(Q4460465,P19,c(Q56061))
action filter_type
action find
entity Q4460465
relation P19
type Q56061
['Q4460465', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q4460465 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Patrice Tonga
action filter_type
action find
entity Patrice Tonga
relation place of birth
type administrative territorial entity
['Patrice Tonga', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Patrice_Tonga property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q132830
SYSTEM
Douala
Q132830
(Q4460465,P19,c(Q56061))
action filter_type
action find
entity Q4460465
relation P19
type Q56061
Patrice Tonga was born in [ANSWER]
['Q4460465', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q4460465 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Douala
Patrice Tonga was born in Douala
Douala
action filter_type
action find
entity Patrice Tonga
relation place of birth
type administrative territorial entity
['Patrice Tonga', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Patrice_Tonga property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q106123 Q4460465
P27 P17
Q15617994
USER
Which administrative territories are Patrice Tonga a civilian of or are international E-road network situated in ?
OR((Q4460465,P27,c(Q15617994)), (Q106123,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4460465
relation P27
action find
entity Q106123
relation P17
type Q15617994
{'OR': [['Q4460465', 'P27', {'concept': 'Q15617994'}], ['Q106123', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q4460465 property:P27 ?x } UNION { resource:Q106123 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
international E-road network Patrice Tonga
action filter_type
action union
action find
entity Patrice Tonga
relation country of citizenship
action find
entity international E-road network
relation country
type designation for an administrative territorial entity
{'OR': [['Patrice Tonga', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['international E-road network', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Patrice_Tonga property:country_of_citizenship ?x } UNION { resource:international_E-road_network property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1009 Q217 Q28 Q142 Q224 Q20 Q813 Q45 Q227 Q403
SYSTEM
Some of them are Cameroon, Republic of Moldova, Hungary, France, Croatia, Norway, Kyrgyzstan, Portugal, Azerbaijan, Serbia
Q1009 Q214 Q227 Q225 Q224 Q55 Q222 Q221 Q145 Q31 Q265 Q33 Q32 Q874 Q37 Q36 Q34 Q39 Q38 Q184 Q142 Q813 Q191 Q45 Q399 Q403 Q159 Q41 Q43 Q212 Q213 Q236 Q211 Q230 Q217 Q232 Q215 Q218 Q219 Q20 Q863 Q27 Q28 Q29
OR((Q4460465,P27,c(Q15617994)), (Q106123,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4460465
relation P27
action find
entity Q106123
relation P17
type Q15617994
[ANSWERS] are Patrice Tonga a civilian of or are international E-road network situated in
{'OR': [['Q4460465', 'P27', {'concept': 'Q15617994'}], ['Q106123', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q4460465 property:P27 ?x } UNION { resource:Q106123 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Cameroon Slovakia Azerbaijan Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom Belgium Uzbekistan Finland Luxembourg Turkmenistan Lithuania Poland Sweden Switzerland Italy Belarus France Kyrgyzstan Estonia Portugal Armenia Serbia Russia Greece Turkey Ukraine Czech Republic Montenegro Latvia Georgia Republic of Moldova Kazakhstan Slovenia Romania Bulgaria Norway Tajikistan Ireland Hungary Spain
Cameroon, Republic of Moldova, Hungary, France, Croatia, Norway, Kyrgyzstan, Portugal, Azerbaijan and Serbia are Patrice Tonga a civilian of or are international E-road network situated in
Cameroon Republic of Moldova Hungary France Croatia Norway Kyrgyzstan Portugal Azerbaijan Serbia
action filter_type
action union
action find
entity Patrice Tonga
relation country of citizenship
action find
entity international E-road network
relation country
type designation for an administrative territorial entity
{'OR': [['Patrice Tonga', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['international E-road network', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Patrice_Tonga property:country_of_citizenship ?x } UNION { resource:international_E-road_network property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2061951 Q4460465
P19 P27
Q15617994
USER
Which administrative territories do Patrice Tonga belong to or were Paul Ritterbusch born ?
OR((Q4460465,P27,c(Q15617994)), (Q2061951,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q4460465
relation P27
action find
entity Q2061951
relation P19
type Q15617994
{'OR': [['Q4460465', 'P27', {'concept': 'Q15617994'}], ['Q2061951', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4460465 property:P27 ?s } UNION { resource:Q2061951 property:P19 ?s } } . ?s rdf:type ontology:Q15617994 }
Paul Ritterbusch Patrice Tonga
action filter_type
action union
action find
entity Patrice Tonga
relation country of citizenship
action find
entity Paul Ritterbusch
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Patrice Tonga', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Paul Ritterbusch', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Patrice_Tonga property:country_of_citizenship ?s } UNION { resource:Paul_Ritterbusch property:place_of_birth ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1009 Q159 Q20077
SYSTEM
Cameroon, Russia, Werdau
Q1009 Q159 Q20077
OR((Q4460465,P27,c(Q15617994)), (Q2061951,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q4460465
relation P27
action find
entity Q2061951
relation P19
type Q15617994
Patrice Tonga belong to [ANSWERS]
{'OR': [['Q4460465', 'P27', {'concept': 'Q15617994'}], ['Q2061951', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4460465 property:P27 ?s } UNION { resource:Q2061951 property:P19 ?s } } . ?s rdf:type ontology:Q15617994 }
Cameroon Russia Werdau
Patrice Tonga belong to Cameroon, Russia and Werdau
Cameroon Russia Werdau
action filter_type
action union
action find
entity Patrice Tonga
relation country of citizenship
action find
entity Paul Ritterbusch
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Patrice Tonga', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Paul Ritterbusch', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Patrice_Tonga property:country_of_citizenship ?s } UNION { resource:Paul_Ritterbusch property:place_of_birth ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]