Simple Question (Direct)
Simple Question
Q20031167
P641
Q349
USER
Which sport was Kenny Gabriel a part of ?
(Q20031167,P641,c(Q349))
action filter_type
action find
entity Q20031167
relation P641
type Q349
['Q20031167', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q20031167 property:P641 ?r . ?r rdf:type ontology:Q349 }
Kenny Gabriel
action filter_type
action find
entity Kenny Gabriel
relation sport
type sport
['Kenny Gabriel', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Kenny_Gabriel property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q20031167,P641,c(Q349))
action filter_type
action find
entity Q20031167
relation P641
type Q349
Which sport was Kenny Gabriel a part of
['Q20031167', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q20031167 property:P641 ?r . ?r rdf:type ontology:Q349 }
basketball
Which sport was Kenny Gabriel a part of
basketball
action filter_type
action find
entity Kenny Gabriel
relation sport
type sport
['Kenny Gabriel', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Kenny_Gabriel property:sport ?r . ?r rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20031167
P54
Q12973014
USER
Which sports team is Kenny Gabriel a member of ?
(Q20031167,P54,c(Q12973014))
action filter_type
action find
entity Q20031167
relation P54
type Q12973014
['Q20031167', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12973014 . resource:Q20031167 property:P54 ?e }
Kenny Gabriel
action filter_type
action find
entity Kenny Gabriel
relation member of sports team
type sports team
['Kenny Gabriel', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sports_team . resource:Kenny_Gabriel property:member_of_sports_team ?e }
[]
sports team
Q431912
SYSTEM
Maccabi Ashdod B.C.
Q431912
(Q20031167,P54,c(Q12973014))
action filter_type
action find
entity Q20031167
relation P54
type Q12973014
[ANSWER] is Kenny Gabriel a member of
['Q20031167', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12973014 . resource:Q20031167 property:P54 ?e }
Maccabi Ashdod B.C.
Maccabi Ashdod B.C. is Kenny Gabriel a member of
Maccabi Ashdod B.C.
action filter_type
action find
entity Kenny Gabriel
relation member of sports team
type sports team
['Kenny Gabriel', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sports_team . resource:Kenny_Gabriel property:member_of_sports_team ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q332212
Q12973014
USER
And what about Ian Turnbull?
(Q332212,P54,c(Q12973014))
action filter_type
action find
entity Q332212
relation P54
type Q12973014
['Q332212', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { resource:Q332212 property:P54 ?v . ?v rdf:type ontology:Q12973014 }
Ian Turnbull
action filter_type
action find
entity Ian Turnbull
relation member of sports team
type sports team
['Ian Turnbull', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { resource:Ian_Turnbull property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team }
[]
sports team
Q203008 Q193643 Q203384
SYSTEM
Los Angeles Kings, Pittsburgh Penguins, Toronto Maple Leafs
Q203008 Q193643 Q203384
(Q332212,P54,c(Q12973014))
action filter_type
action find
entity Q332212
relation P54
type Q12973014
[ANSWERS]
['Q332212', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { resource:Q332212 property:P54 ?v . ?v rdf:type ontology:Q12973014 }
Los Angeles Kings Pittsburgh Penguins Toronto Maple Leafs
Los Angeles Kings Pittsburgh Penguins Toronto Maple Leafs
action filter_type
action find
entity Ian Turnbull
relation member of sports team
type sports team
['Ian Turnbull', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { resource:Ian_Turnbull property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1395532
P1923
Q12973014 Q18608583 Q13406554
USER
How many sports teams competed in around the same number of recurring sporting events or sport competitions as Thailand national badminton team ?
(c(Q18608583)|c(Q13406554),P1923,c(Q12973014))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q18608583
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q1395532
relation P1923
type Q18608583
type Q13406554
[[{'concept': 'Q18608583'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?x ) WHERE { VALUES ( ?u ) { ( ontology:Q18608583 ) ( ontology:Q13406554 ) } . ?q rdf:type ?u } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P1923 resource:Q1395532 . { { ?h rdf:type ontology:Q18608583 } UNION { ?h rdf:type ontology:Q13406554 } } } } . FILTER ( ?x = ?j ) }
Thailand national badminton team
action count
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type recurring sporting event
action find_reverse_tuple_counts
relation participating teams
type sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Thailand national badminton team
relation participating teams
type recurring sporting event
type sport competition
[[{'concept': 'recurring sporting event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?x ) WHERE { VALUES ( ?u ) { ( ontology:recurring_sporting_event ) ( ontology:sport_competition ) } . ?q rdf:type ?u } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:participating_teams resource:Thailand_national_badminton_team . { { ?h rdf:type ontology:recurring_sporting_event } UNION { ?h rdf:type ontology:sport_competition } } } } . FILTER ( ?x = ?j ) }
[]
sports team recurring sporting event sport competition
SYSTEM
131
Q23674523 Q3421766 Q16295654 Q1981530 Q23887716 Q27147065 Q27147067 Q27660052 Q27146793 Q27159856 Q22956606 Q23674434 Q20725930 Q3500017 Q661160 Q461595 Q22132404 Q604617 Q22939728 Q27146762 Q27147077 Q21520147 Q22955635 Q27146511 Q747368 Q213417 Q17483961 Q812812 Q799663 Q27146479 Q27146478 Q27146475 Q27146772 Q27147044 Q27147041 Q27147111 Q22956043 Q384639 Q750016 Q645934 Q3217856 Q1090946 Q670376 Q1107477 Q27147052 Q27147054 Q27146294 Q27147108 Q1772900 Q27159842 Q27147107 Q23887469 Q966632 Q15809074 Q1988831 Q22939172 Q23953473 Q27147026 Q27147020 Q23664286 Q653772 Q23887753 Q22958235 Q23979109 Q23681177 Q27146516 Q721134 Q27147134 Q23663718 Q27147131 Q1395532 Q154053 Q27147139 Q1723502 Q1107146 Q19336122 Q5461394 Q15786 Q2072673 Q1265173 Q27146525 Q334634 Q27147126 Q27146519 Q22117386 Q27146529 Q335169 Q650855 Q23664320 Q27146543 Q22978787 Q16331496 Q22978783 Q15742001 Q27146539 Q372930 Q22940028 Q27146301 Q27146500 Q27147245 Q27146531 Q23900171 Q815514 Q27146788 Q19831195 Q2473436 Q19336080 Q27146307 Q22950181 Q27146496 Q27146494 Q899152 Q27146490 Q19599054 Q27146783 Q21772601 Q27146310 Q27146314 Q15293849 Q27146317 Q27147016 Q652879 Q16883477 Q491924 Q27147099 Q27147140 Q15733441 Q27146782 Q15623981 Q27146786 Q27147093
(c(Q18608583)|c(Q13406554),P1923,c(Q12973014))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q18608583
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q1395532
relation P1923
type Q18608583
type Q13406554
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?x ) WHERE { VALUES ( ?u ) { ( ontology:Q18608583 ) ( ontology:Q13406554 ) } . ?q rdf:type ?u } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P1923 resource:Q1395532 . { { ?h rdf:type ontology:Q18608583 } UNION { ?h rdf:type ontology:Q13406554 } } } } . FILTER ( ?x = ?j ) }
Cheng-Tung-Panciatici Rebellion Racing Australia national badminton team New Zealand national badminton team Gulf Racing Suriname national badminton team Trinidad and Tobago national badminton team Northern Ireland national badminton team Sri Lanka national badminton team Jersey badminton team Lotterer-Tréluyer-Fässler ByKolles G-Drive Racing Strakka Racing Netherlands men's national field hockey team Atlanta Braves Manor Racing Spain men's national field hockey team Bernhard-Webber-Hartley Brunei national badminton team Botswana national badminton team AMEK Kapsalou di Grassi-Duval-Jarvis Romania national badminton team Germany men's national field hockey team New York Yankees Singapore national badminton team Be Pink GDR national badminton team Greenland national badminton team Greece national badminton team Gibraltar national badminton team Kazakhstan national badminton team Guatemala national badminton team Falkland Islands national badminton team Seychelles national badminton team Toyota Gazoo Racing China national badminton team Aston Martin Racing Argentina men's national field hockey team Larbre Compétition Japan national badminton team Arizona Diamondbacks Malaysia national badminton team Jamaica national badminton team Mexico national badminton team Armenia national badminton team Morocco national badminton team Nigeria national badminton team Guernsey badminton team Mauritius national badminton team RGR Sport by Morand Taiwan national badminton team Extreme Speed Motorsports AF Corse Porsche Team EAS Ayios Dhometios Chile national badminton team Barbados national badminton team Ford Chip Ganassi Team UK Pittsburgh Pirates Abu Dhabi-Proton Racing Conway-Sarrazin-Wurz Atlas Aglandjias Signatech #36 Slovakia national badminton team San Diego Padres Fiji national badminton team Audi Sport Team Joest Zimbabwe national badminton team Thailand national badminton team Eintracht Braunschweig Norfolk Island national badminton team Canada national badminton team Indonesia national badminton team Wanty-Groupe Gobert 2015 Florida Gators football 1. FC Nürnberg Peru national badminton team India national badminton team Turkey national badminton team Los Angeles Dodgers Uganda national badminton team Slovenia national badminton team UniSA-Australia 2016 Vietnam national badminton team Chicago White Sox Detroit Tigers Dempsey-Proton Racing Yugoslavia national badminton team G-Drive Racing #28 Elpida Astromeriti G-Drive Racing #26 North Korea national badminton team Czechoslovakia national badminton team United States national badminton team Dumas-Jani-Lieb Belarus national badminton team Malta national badminton team Isle of Man national badminton team USSR national badminton team Parnassos Strovolou Belgium men's national field hockey team Pakistan national badminton team Roompot Oranje Peloton 2015 Fortec Motorsport RusVelo 2015 Croatia national badminton team Davidson-Buemi-Nakajima Luxembourg national badminton team Lithuania national badminton team Brazil national badminton team Latvia national badminton team KC Motorgroup Mongolia national badminton team Thiella Dromolaxia Cyprus national badminton team Estonia national badminton team Hong Kong national badminton team Faroe Islands national badminton team Argentina national badminton team Miami Marlins SMP Racing South Korea national badminton team Kenya national badminton team Samoa national badminton team Philippines national badminton team Maldives national badminton team South Africa national badminton team Nepal national badminton team Ghana national badminton team
131
action count
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type recurring sporting event
action find_reverse_tuple_counts
relation participating teams
type sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Thailand national badminton team
relation participating teams
type recurring sporting event
type sport competition
[[{'concept': 'recurring sporting event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?x ) WHERE { VALUES ( ?u ) { ( ontology:recurring_sporting_event ) ( ontology:sport_competition ) } . ?q rdf:type ?u } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:participating_teams resource:Thailand_national_badminton_team . { { ?h rdf:type ontology:recurring_sporting_event } UNION { ?h rdf:type ontology:sport_competition } } } } . FILTER ( ?x = ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1270077
P1923
Q12973014 Q18608583 Q13406554
USER
And how about Denmark national badminton team?
(c(Q18608583)|c(Q13406554),P1923,c(Q12973014))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q18608583
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q1270077
relation P1923
type Q18608583
type Q13406554
[[{'concept': 'Q18608583'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?g ) WHERE { { ?c rdf:type ontology:Q12973014 . ?l rdf:type ontology:Q13406554 . ?l property:P1923 ?c } UNION { ?c rdf:type ontology:Q12973014 . ?l rdf:type ontology:Q18608583 . ?l property:P1923 ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P1923 resource:Q1270077 . { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:Q18608583 ) ( ontology:Q13406554 ) } } } } . FILTER ( ?g = ?o ) }
Denmark national badminton team
action count
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type recurring sporting event
action find_reverse_tuple_counts
relation participating teams
type sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Denmark national badminton team
relation participating teams
type recurring sporting event
type sport competition
[[{'concept': 'recurring sporting event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?g ) WHERE { { ?c rdf:type ontology:sports_team . ?l rdf:type ontology:sport_competition . ?l property:participating_teams ?c } UNION { ?c rdf:type ontology:sports_team . ?l rdf:type ontology:recurring_sporting_event . ?l property:participating_teams ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:participating_teams resource:Denmark_national_badminton_team . { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:recurring_sporting_event ) ( ontology:sport_competition ) } } } } . FILTER ( ?g = ?o ) }
[]
sports team recurring sporting event sport competition
SYSTEM
23
Q27146481 Q27146483 Q27146485 Q27146486 Q12872831 Q2254900 Q26722120 Q27146296 Q834461 Q1342530 Q26722119 Q2177038 Q27146507 Q27146508 Q957525 Q27146320 Q18171104 Q27146510 Q27146526 Q27146520 Q19826622 Q27146313 Q1270077
(c(Q18608583)|c(Q13406554),P1923,c(Q12973014))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q18608583
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q1270077
relation P1923
type Q18608583
type Q13406554
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?g ) WHERE { { ?c rdf:type ontology:Q12973014 . ?l rdf:type ontology:Q13406554 . ?l property:P1923 ?c } UNION { ?c rdf:type ontology:Q12973014 . ?l rdf:type ontology:Q18608583 . ?l property:P1923 ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P1923 resource:Q1270077 . { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:Q18608583 ) ( ontology:Q13406554 ) } } } } . FILTER ( ?g = ?o ) }
Hungary national badminton team Iceland national badminton team Israel national badminton team Italy national badminton team AEZ Zakakiou Sweden national badminton team Bulgaria national badminton team Austria national badminton team Germany national badminton team England national badminton team Ireland national badminton team Russia national badminton team Norway national badminton team Poland national badminton team Netherlands national badminton team Finland national badminton team Scotland national badminton team Portugal national badminton team Wales national badminton team Spain national badminton team Ukraine national badminton team Czech national badminton team Denmark national badminton team
23
action count
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type recurring sporting event
action find_reverse_tuple_counts
relation participating teams
type sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Denmark national badminton team
relation participating teams
type recurring sporting event
type sport competition
[[{'concept': 'recurring sporting event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?g ) WHERE { { ?c rdf:type ontology:sports_team . ?l rdf:type ontology:sport_competition . ?l property:participating_teams ?c } UNION { ?c rdf:type ontology:sports_team . ?l rdf:type ontology:recurring_sporting_event . ?l property:participating_teams ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:participating_teams resource:Denmark_national_badminton_team . { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:recurring_sporting_event ) ( ontology:sport_competition ) } } } } . FILTER ( ?g = ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9384854 Q193643
P17
Q15617994
USER
Which administrative territories do Pittsburgh Penguins or Syiah Utama belong to ?
OR((Q193643,P17,c(Q15617994)), (Q9384854,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q193643
relation P17
action find
entity Q9384854
relation P17
type Q15617994
{'OR': [['Q193643', 'P17', {'concept': 'Q15617994'}], ['Q9384854', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . { VALUES ( ?s ) { ( resource:Q193643 ) ( resource:Q9384854 ) } . ?s property:P17 ?j } }
Syiah Utama Pittsburgh Penguins
action filter_type
action union
action find
entity Pittsburgh Penguins
relation country
action find
entity Syiah Utama
relation country
type designation for an administrative territorial entity
{'OR': [['Pittsburgh Penguins', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Syiah Utama', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?s ) { ( resource:Pittsburgh_Penguins ) ( resource:Syiah_Utama ) } . ?s property:country ?j } }
[]
designation for an administrative territorial entity
Q30 Q252
SYSTEM
United States of America, Indonesia
Q30 Q252
OR((Q193643,P17,c(Q15617994)), (Q9384854,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q193643
relation P17
action find
entity Q9384854
relation P17
type Q15617994
Pittsburgh Penguins or Syiah Utama belong to the [ANSWERS]
{'OR': [['Q193643', 'P17', {'concept': 'Q15617994'}], ['Q9384854', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . { VALUES ( ?s ) { ( resource:Q193643 ) ( resource:Q9384854 ) } . ?s property:P17 ?j } }
United States of America Indonesia
Pittsburgh Penguins or Syiah Utama belong to the United States of America and Indonesia
United States of America Indonesia
action filter_type
action union
action find
entity Pittsburgh Penguins
relation country
action find
entity Syiah Utama
relation country
type designation for an administrative territorial entity
{'OR': [['Pittsburgh Penguins', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Syiah Utama', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?s ) { ( resource:Pittsburgh_Penguins ) ( resource:Syiah_Utama ) } . ?s property:country ?j } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q8014192
P27
Q502895
USER
Are William L. McMillen a native of those administrative territories ?
(Q8014192,P27,Q30) (Q8014192,P27,Q252)
action is_in
entity prev_answer
action find
entity Q8014192
relation P27
['Q8014192', 'P27', 'Q30'] ['Q8014192', 'P27', 'Q252']
ASK WHERE { VALUES ( ?d ) { ( resource:Q30 ) ( resource:Q252 ) } . resource:Q8014192 property:P27 ?d }
William L. McMillen
action is_in
entity prev_answer
action find
entity William L. McMillen
relation country of citizenship
['William L. McMillen', 'country of citizenship', 'United States of America'] ['William L. McMillen', 'country of citizenship', 'Indonesia']
ASK WHERE { VALUES ( ?d ) { ( resource:United_States_of_America ) ( resource:Indonesia ) } . resource:William_L._McMillen property:country_of_citizenship ?d }
[]
common name
SYSTEM
NO
(Q8014192,P27,Q30) (Q8014192,P27,Q252)
action is_in
entity prev_answer
action find
entity Q8014192
relation P27
[ANSWER]
['Q8014192', 'P27', 'Q30'] ['Q8014192', 'P27', 'Q252']
ASK WHERE { VALUES ( ?d ) { ( resource:Q30 ) ( resource:Q252 ) } . resource:Q8014192 property:P27 ?d }
No
action is_in
entity prev_answer
action find
entity William L. McMillen
relation country of citizenship
['William L. McMillen', 'country of citizenship', 'United States of America'] ['William L. McMillen', 'country of citizenship', 'Indonesia']
ASK WHERE { VALUES ( ?d ) { ( resource:United_States_of_America ) ( resource:Indonesia ) } . resource:William_L._McMillen property:country_of_citizenship ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q431912 Q801
P17
Q15617994
USER
Is Maccabi Ashdod B.C. located in Israel ?
(Q431912,P17,Q801)
action is_in
entity Q801
action find
entity Q431912
relation P17
['Q431912', 'P17', 'Q801']
ASK WHERE { resource:Q431912 property:P17 resource:Q801 }
Maccabi Ashdod B.C. Israel
action is_in
entity Israel
action find
entity Maccabi Ashdod B.C.
relation country
['Maccabi Ashdod B.C.', 'country', 'Israel']
ASK WHERE { resource:Maccabi_Ashdod_B.C. property:country resource:Israel }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q431912,P17,Q801)
action is_in
entity Q801
action find
entity Q431912
relation P17
[ANSWER]
['Q431912', 'P17', 'Q801']
ASK WHERE { resource:Q431912 property:P17 resource:Q801 }
Yes
action is_in
entity Israel
action find
entity Maccabi Ashdod B.C.
relation country
['Maccabi Ashdod B.C.', 'country', 'Israel']
ASK WHERE { resource:Maccabi_Ashdod_B.C. property:country resource:Israel }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q20031167 Q5181887
P27
Q15617994
USER
Is Cranberry Area School District the country of citizenship of Kenny Gabriel ?
(Q20031167,P27,Q5181887)
action is_in
entity Q5181887
action find
entity Q20031167
relation P27
['Q20031167', 'P27', 'Q5181887']
ASK WHERE { resource:Q20031167 property:P27 resource:Q5181887 }
Kenny Gabriel Cranberry Area School District
action is_in
entity Cranberry Area School District
action find
entity Kenny Gabriel
relation country of citizenship
['Kenny Gabriel', 'country of citizenship', 'Cranberry Area School District']
ASK WHERE { resource:Kenny_Gabriel property:country_of_citizenship resource:Cranberry_Area_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q20031167,P27,Q5181887)
action is_in
entity Q5181887
action find
entity Q20031167
relation P27
[ANSWER]
['Q20031167', 'P27', 'Q5181887']
ASK WHERE { resource:Q20031167 property:P27 resource:Q5181887 }
No
action is_in
entity Cranberry Area School District
action find
entity Kenny Gabriel
relation country of citizenship
['Kenny Gabriel', 'country of citizenship', 'Cranberry Area School District']
ASK WHERE { resource:Kenny_Gabriel property:country_of_citizenship resource:Cranberry_Area_School_District }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q22857
P366
Q349 Q6671777 Q2424752
USER
Which sports are the main uses of around the same number of structures and products as climbing ?
(c(Q6671777)|c(Q2424752),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q22857
relation P366
type Q6671777
type Q2424752
[[{'concept': 'Q6671777'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?k WHERE { { ?d property:P366 ?k . ?k rdf:type ontology:Q349 . ?d rdf:type ontology:Q6671777 } UNION { ?d property:P366 ?k . ?k rdf:type ontology:Q349 . ?d rdf:type ontology:Q2424752 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:P366 resource:Q22857 . { { ?c rdf:type ontology:Q6671777 } UNION { ?c rdf:type ontology:Q2424752 } } } } . FILTER ( ?v = ?s ) }
climbing
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type product
action count
action filter_multi_types
action find_reverse
entity climbing
relation use
type structure
type product
[[{'concept': 'structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?k WHERE { { ?d property:use ?k . ?k rdf:type ontology:sport . ?d rdf:type ontology:structure } UNION { ?d property:use ?k . ?k rdf:type ontology:sport . ?d rdf:type ontology:product } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:use resource:climbing . { { ?c rdf:type ontology:structure } UNION { ?c rdf:type ontology:product } } } } . FILTER ( ?v = ?s ) }
[]
sport structure product
Q36908 Q1875777 Q22857
SYSTEM
mountaineering, air racing, climbing
Q36908 Q1875777 Q22857
(c(Q6671777)|c(Q2424752),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q22857
relation P366
type Q6671777
type Q2424752
[ANSWERS] are the main uses of around the same number of structures and products as climbing
[[{'concept': 'Q6671777'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?k WHERE { { ?d property:P366 ?k . ?k rdf:type ontology:Q349 . ?d rdf:type ontology:Q6671777 } UNION { ?d property:P366 ?k . ?k rdf:type ontology:Q349 . ?d rdf:type ontology:Q2424752 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:P366 resource:Q22857 . { { ?c rdf:type ontology:Q6671777 } UNION { ?c rdf:type ontology:Q2424752 } } } } . FILTER ( ?v = ?s ) }
mountaineering air racing climbing
Mountaineering, air racing and climbing are the main uses of around the same number of structures and products as climbing
mountaineering air racing climbing
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type product
action count
action filter_multi_types
action find_reverse
entity climbing
relation use
type structure
type product
[[{'concept': 'structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?k WHERE { { ?d property:use ?k . ?k rdf:type ontology:sport . ?d rdf:type ontology:structure } UNION { ?d property:use ?k . ?k rdf:type ontology:sport . ?d rdf:type ontology:product } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:use resource:climbing . { { ?c rdf:type ontology:structure } UNION { ?c rdf:type ontology:product } } } } . FILTER ( ?v = ?s ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3876367 Q20031167
P19 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Kenny Gabriel or were Nicola Sole born ?
OR((Q20031167,P27,c(Q15617994)), (Q3876367,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q20031167
relation P27
action find
entity Q3876367
relation P19
type Q15617994
{'OR': [['Q20031167', 'P27', {'concept': 'Q15617994'}], ['Q3876367', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q3876367 property:P19 ?u } UNION { resource:Q20031167 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
Nicola Sole Kenny Gabriel
action filter_type
action union
action find
entity Kenny Gabriel
relation country of citizenship
action find
entity Nicola Sole
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Kenny Gabriel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nicola Sole', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Nicola_Sole property:place_of_birth ?u } UNION { resource:Kenny_Gabriel property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q52676
SYSTEM
United States of America, Senise
Q30 Q52676
OR((Q20031167,P27,c(Q15617994)), (Q3876367,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q20031167
relation P27
action find
entity Q3876367
relation P19
type Q15617994
[ANSWERS] are the countries of citizenship of Kenny Gabriel or were Nicola Sole born
{'OR': [['Q20031167', 'P27', {'concept': 'Q15617994'}], ['Q3876367', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q3876367 property:P19 ?u } UNION { resource:Q20031167 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
United States of America Senise
United States of America and Senise are the countries of citizenship of Kenny Gabriel or were Nicola Sole born
United States of America Senise
action filter_type
action union
action find
entity Kenny Gabriel
relation country of citizenship
action find
entity Nicola Sole
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Kenny Gabriel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nicola Sole', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Nicola_Sole property:place_of_birth ?u } UNION { resource:Kenny_Gabriel property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]