Simple Question (Direct)
Simple Question
Q3666339
P54
Q12973014
USER
Which sports team is Charlie Beasley a member of ?
(Q3666339,P54,c(Q12973014))
action filter_type
action find
entity Q3666339
relation P54
type Q12973014
['Q3666339', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { resource:Q3666339 property:P54 ?x . ?x rdf:type ontology:Q12973014 }
Charlie Beasley
action filter_type
action find
entity Charlie Beasley
relation member of sports team
type sports team
['Charlie Beasley', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { resource:Charlie_Beasley property:member_of_sports_team ?x . ?x rdf:type ontology:sports_team }
[]
sports team
Q159729
SYSTEM
San Antonio Spurs
Q159729
(Q3666339,P54,c(Q12973014))
action filter_type
action find
entity Q3666339
relation P54
type Q12973014
Spurs [ANSWER] is Charlie Beasley a member of
['Q3666339', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { resource:Q3666339 property:P54 ?x . ?x rdf:type ontology:Q12973014 }
San Antonio Spurs
Spurs San Antonio Spurs is Charlie Beasley a member of
San Antonio Spurs
action filter_type
action find
entity Charlie Beasley
relation member of sports team
type sports team
['Charlie Beasley', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { resource:Charlie_Beasley property:member_of_sports_team ?x . ?x rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3666339
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q159729,P106,c(Q12737077))
action filter_type
action find
entity Q3666339
relation P106
type Q12737077
['Q159729', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q3666339 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Charlie Beasley
action filter_type
action find
entity Charlie Beasley
relation occupation
type occupation
['San Antonio Spurs', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Charlie_Beasley property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q159729,P106,c(Q12737077))
action filter_type
action find
entity Q3666339
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q159729', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q3666339 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
basketball player
The basketball player is the profession of that person
basketball player
action filter_type
action find
entity Charlie Beasley
relation occupation
type occupation
['San Antonio Spurs', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Charlie_Beasley property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q159729
P466
Q811979 Q811430
USER
How many architectural structures and constructions are inhabited by San Antonio Spurs ?
(c(Q811979),P466,Q159729) (c(Q811430),P466,Q159729)
action count
action union
action filter_type
action find_reverse
entity Q159729
relation P466
type Q811979
action filter_type
action find_reverse
entity Q159729
relation P466
type Q811430
[{'concept': 'Q811979'}, 'P466', 'Q159729'] [{'concept': 'Q811430'}, 'P466', 'Q159729']
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { VALUES ( ?d ) { ( ontology:Q811979 ) ( ontology:Q811430 ) } . ?s rdf:type ?d }
San Antonio Spurs
action count
action union
action filter_type
action find_reverse
entity San Antonio Spurs
relation occupant
type architectural structure
action filter_type
action find_reverse
entity San Antonio Spurs
relation occupant
type construction
[{'concept': 'architectural structure'}, 'occupant', 'San Antonio Spurs'] [{'concept': 'construction'}, 'occupant', 'San Antonio Spurs']
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { VALUES ( ?d ) { ( ontology:architectural_structure ) ( ontology:construction ) } . ?s rdf:type ?d }
[]
architectural structure construction
SYSTEM
1 architectural structures and 2 constructions
Q298573 Q1145169 Q1438829
(c(Q811979),P466,Q159729) (c(Q811430),P466,Q159729)
action count
action union
action filter_type
action find_reverse
entity Q159729
relation P466
type Q811979
action filter_type
action find_reverse
entity Q159729
relation P466
type Q811430
[ANSWER]
[{'concept': 'Q811979'}, 'P466', 'Q159729'] [{'concept': 'Q811430'}, 'P466', 'Q159729']
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { VALUES ( ?d ) { ( ontology:Q811979 ) ( ontology:Q811430 ) } . ?s rdf:type ?d }
AT&T Center HemisFair Arena Fort Worth Convention Center
1 architectural structures and 2 constructions
action count
action union
action filter_type
action find_reverse
entity San Antonio Spurs
relation occupant
type architectural structure
action filter_type
action find_reverse
entity San Antonio Spurs
relation occupant
type construction
[{'concept': 'architectural structure'}, 'occupant', 'San Antonio Spurs'] [{'concept': 'construction'}, 'occupant', 'San Antonio Spurs']
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { VALUES ( ?d ) { ( ontology:architectural_structure ) ( ontology:construction ) } . ?s rdf:type ?d }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7607243 Q3666339
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Charlie Beasley or are Stellenbosch High School located in ?
OR((Q3666339,P27,c(Q15617994)), (Q7607243,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3666339
relation P27
action find
entity Q7607243
relation P17
type Q15617994
{'OR': [['Q3666339', 'P27', {'concept': 'Q15617994'}], ['Q7607243', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q3666339 property:P27 ?s } UNION { resource:Q7607243 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Stellenbosch High School Charlie Beasley
action filter_type
action union
action find
entity Charlie Beasley
relation country of citizenship
action find
entity Stellenbosch High School
relation country
type designation for an administrative territorial entity
{'OR': [['Charlie Beasley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Stellenbosch High School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Charlie_Beasley property:country_of_citizenship ?s } UNION { resource:Stellenbosch_High_School property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q258
SYSTEM
United States of America, South Africa
Q30 Q258
OR((Q3666339,P27,c(Q15617994)), (Q7607243,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3666339
relation P27
action find
entity Q7607243
relation P17
type Q15617994
[ANSWERS] are the native countriesof Charlie Beasley or are Stellenbosch High School located in
{'OR': [['Q3666339', 'P27', {'concept': 'Q15617994'}], ['Q7607243', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q3666339 property:P27 ?s } UNION { resource:Q7607243 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
United States of America South Africa
United States of America and South Africa are the native countriesof Charlie Beasley or are Stellenbosch High School located in
United States of America South Africa
action filter_type
action union
action find
entity Charlie Beasley
relation country of citizenship
action find
entity Stellenbosch High School
relation country
type designation for an administrative territorial entity
{'OR': [['Charlie Beasley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Stellenbosch High School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Charlie_Beasley property:country_of_citizenship ?s } UNION { resource:Stellenbosch_High_School property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11471619 Q3666339
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Charlie Beasley or do Gifu Prefectural Road Route 189 belong to ?
OR((Q3666339,P27,c(Q15617994)), (Q11471619,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3666339
relation P27
action find
entity Q11471619
relation P17
type Q15617994
{'OR': [['Q3666339', 'P27', {'concept': 'Q15617994'}], ['Q11471619', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q3666339 property:P27 ?s } UNION { resource:Q11471619 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Gifu Prefectural Road Route 189 Charlie Beasley
action filter_type
action union
action find
entity Charlie Beasley
relation country of citizenship
action find
entity Gifu Prefectural Road Route 189
relation country
type designation for an administrative territorial entity
{'OR': [['Charlie Beasley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gifu Prefectural Road Route 189', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Charlie_Beasley property:country_of_citizenship ?s } UNION { resource:Gifu_Prefectural_Road_Route_189 property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q30
SYSTEM
Japan, United States of America
Q17 Q30
OR((Q3666339,P27,c(Q15617994)), (Q11471619,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3666339
relation P27
action find
entity Q11471619
relation P17
type Q15617994
[ANSWERS] are the native countriesof Charlie Beasley or do Gifu Prefectural Road Route 189 belong to
{'OR': [['Q3666339', 'P27', {'concept': 'Q15617994'}], ['Q11471619', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q3666339 property:P27 ?s } UNION { resource:Q11471619 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Japan United States of America
Japan and United States of America are the native countriesof Charlie Beasley or do Gifu Prefectural Road Route 189 belong to
Japan United States of America
action filter_type
action union
action find
entity Charlie Beasley
relation country of citizenship
action find
entity Gifu Prefectural Road Route 189
relation country
type designation for an administrative territorial entity
{'OR': [['Charlie Beasley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gifu Prefectural Road Route 189', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Charlie_Beasley property:country_of_citizenship ?s } UNION { resource:Gifu_Prefectural_Road_Route_189 property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q10287157
P710
Q484652
USER
Were those administrative territories a participant of G6 ?
(Q10287157,P710,Q17) (Q10287157,P710,Q30)
action is_in
entity prev_answer
action find
entity Q10287157
relation P710
['Q10287157', 'P710', 'Q17'] ['Q10287157', 'P710', 'Q30']
ASK WHERE { VALUES ( ?v ) { ( resource:Q17 ) ( resource:Q30 ) } . resource:Q10287157 property:P710 ?v }
G6
action is_in
entity prev_answer
action find
entity G6
relation participant
['G6', 'participant', 'Japan'] ['G6', 'participant', 'United States of America']
ASK WHERE { VALUES ( ?v ) { ( resource:Japan ) ( resource:United_States_of_America ) } . resource:G6 property:participant ?v }
[]
international organization
SYSTEM
YES
(Q10287157,P710,Q17) (Q10287157,P710,Q30)
action is_in
entity prev_answer
action find
entity Q10287157
relation P710
[ANSWER]
['Q10287157', 'P710', 'Q17'] ['Q10287157', 'P710', 'Q30']
ASK WHERE { VALUES ( ?v ) { ( resource:Q17 ) ( resource:Q30 ) } . resource:Q10287157 property:P710 ?v }
Yes
action is_in
entity prev_answer
action find
entity G6
relation participant
['G6', 'participant', 'Japan'] ['G6', 'participant', 'United States of America']
ASK WHERE { VALUES ( ?v ) { ( resource:Japan ) ( resource:United_States_of_America ) } . resource:G6 property:participant ?v }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2986218 Q159729
P17
Q15617994
USER
Which administrative territories are San Antonio Spurs or Commerce a part of ?
OR((Q159729,P17,c(Q15617994)), (Q2986218,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q159729
relation P17
action find
entity Q2986218
relation P17
type Q15617994
{'OR': [['Q159729', 'P17', {'concept': 'Q15617994'}], ['Q2986218', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q159729 property:P17 ?x } UNION { resource:Q2986218 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Commerce San Antonio Spurs
action filter_type
action union
action find
entity San Antonio Spurs
relation country
action find
entity Commerce
relation country
type designation for an administrative territorial entity
{'OR': [['San Antonio Spurs', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Commerce', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:San_Antonio_Spurs property:country ?x } UNION { resource:Commerce property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q30
SYSTEM
France, United States of America
Q142 Q30
OR((Q159729,P17,c(Q15617994)), (Q2986218,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q159729
relation P17
action find
entity Q2986218
relation P17
type Q15617994
[ANSWERS] are San Antonio Spurs or Commerce a part of
{'OR': [['Q159729', 'P17', {'concept': 'Q15617994'}], ['Q2986218', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q159729 property:P17 ?x } UNION { resource:Q2986218 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
France United States of America
France and United States of America are San Antonio Spurs or Commerce a part of
France United States of America
action filter_type
action union
action find
entity San Antonio Spurs
relation country
action find
entity Commerce
relation country
type designation for an administrative territorial entity
{'OR': [['San Antonio Spurs', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Commerce', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:San_Antonio_Spurs property:country ?x } UNION { resource:Commerce property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7310254 Q3666339
P27
Q15617994
USER
Which administrative territories do Charlie Beasley or Reinaldo Ocampo belong to ?
OR((Q3666339,P27,c(Q15617994)), (Q7310254,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3666339
relation P27
action find
entity Q7310254
relation P27
type Q15617994
{'OR': [['Q3666339', 'P27', {'concept': 'Q15617994'}], ['Q7310254', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3666339 property:P27 ?r } UNION { resource:Q7310254 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Reinaldo Ocampo Charlie Beasley
action filter_type
action union
action find
entity Charlie Beasley
relation country of citizenship
action find
entity Reinaldo Ocampo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Charlie Beasley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Reinaldo Ocampo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Charlie_Beasley property:country_of_citizenship ?r } UNION { resource:Reinaldo_Ocampo property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q733 Q30
SYSTEM
Paraguay, United States of America
Q733 Q30
OR((Q3666339,P27,c(Q15617994)), (Q7310254,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3666339
relation P27
action find
entity Q7310254
relation P27
type Q15617994
Charlie Beasley or Reinaldo Ocampo belong to the [ANSWERS]
{'OR': [['Q3666339', 'P27', {'concept': 'Q15617994'}], ['Q7310254', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3666339 property:P27 ?r } UNION { resource:Q7310254 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Paraguay United States of America
Charlie Beasley or Reinaldo Ocampo belong to the Paraguay and United States of America
Paraguay United States of America
action filter_type
action union
action find
entity Charlie Beasley
relation country of citizenship
action find
entity Reinaldo Ocampo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Charlie Beasley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Reinaldo Ocampo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Charlie_Beasley property:country_of_citizenship ?r } UNION { resource:Reinaldo_Ocampo property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q155
P530
Q15617994
USER
Do Brazil have ambassadorial relations with those ones ?
(Q155,P530,Q733) (Q155,P530,Q30)
action is_in
entity prev_answer
action find
entity Q155
relation P530
['Q155', 'P530', 'Q733'] ['Q155', 'P530', 'Q30']
ASK WHERE { resource:Q155 property:P530 ?v . VALUES ( ?v ) { ( resource:Q733 ) ( resource:Q30 ) } }
Brazil
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Paraguay'] ['Brazil', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Brazil property:diplomatic_relation ?v . VALUES ( ?v ) { ( resource:Paraguay ) ( resource:United_States_of_America ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155,P530,Q733) (Q155,P530,Q30)
action is_in
entity prev_answer
action find
entity Q155
relation P530
[ANSWER]
['Q155', 'P530', 'Q733'] ['Q155', 'P530', 'Q30']
ASK WHERE { resource:Q155 property:P530 ?v . VALUES ( ?v ) { ( resource:Q733 ) ( resource:Q30 ) } }
Yes
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Paraguay'] ['Brazil', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Brazil property:diplomatic_relation ?v . VALUES ( ?v ) { ( resource:Paraguay ) ( resource:United_States_of_America ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q1076486 Q2668072
USER
How many administrative territories do atleast 484 sports venues or collections belong to ?
(c(Q1076486)|c(Q2668072),P17,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1076486
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q2668072
value 484
[[{'concept': 'Q1076486'}, {'concept': 'Q2668072'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?d ) WHERE { { ?e property:P17 ?b . ?b rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q2668072 } UNION { ?e property:P17 ?b . ?b rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1076486 } } GROUP BY ?b } . FILTER ( ?d >= 484 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type sports venue
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type collection
value 484
[[{'concept': 'sports venue'}, {'concept': 'collection'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?d ) WHERE { { ?e property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:collection } UNION { ?e property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:sports_venue } } GROUP BY ?b } . FILTER ( ?d >= 484 ) }
[]
designation for an administrative territorial entity sports venue collection
SYSTEM
4
Q142 Q145 Q30 Q38
(c(Q1076486)|c(Q2668072),P17,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1076486
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q2668072
value 484
[ANSWER]
[[{'concept': 'Q1076486'}, {'concept': 'Q2668072'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?d ) WHERE { { ?e property:P17 ?b . ?b rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q2668072 } UNION { ?e property:P17 ?b . ?b rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1076486 } } GROUP BY ?b } . FILTER ( ?d >= 484 ) }
France United Kingdom United States of America Italy
4
action count
action atleast
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type sports venue
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type collection
value 484
[[{'concept': 'sports venue'}, {'concept': 'collection'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?d ) WHERE { { ?e property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:collection } UNION { ?e property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:sports_venue } } GROUP BY ?b } . FILTER ( ?d >= 484 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q159729
P54 P21
Q502895
USER
Which people plays for San Antonio Spurs and are a male ?
AND((c(Q502895),P54,Q159729), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q159729
relation P54
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q159729'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P54 resource:Q159729 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
male San Antonio Spurs
action filter_type
action intersection
action find_reverse
entity San Antonio Spurs
relation member of sports team
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'San Antonio Spurs'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:member_of_sports_team resource:San_Antonio_Spurs . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
common name
Q3973191 Q588764 Q1623156 Q555436 Q3676050 Q211876 Q449245 Q1378121 Q1631692 Q1617163
SYSTEM
Some of them are Stephen Howard, Terry Cummings, Jeff Lamp, Danny Green, Chuck Terry, David Robinson, Alvin Robertson, Keith Langford, Donald Royal, Mark McNamara
Q558674 Q2381035 Q2419972 Q1617163 Q3776449 Q2731961 Q2335416 Q150327 Q1371033 Q698125 Q1469693 Q2360324 Q193020 Q1617862 Q730262 Q1621683 Q1650846 Q1607188 Q1337331 Q3961087 Q1077691 Q2735592 Q1622327 Q707870 Q1132658 Q511045 Q2407571 Q964593 Q1891397 Q2566198 Q586579 Q1621435 Q3934866 Q1377226 Q1170408 Q739832 Q318916 Q2343352 Q472790 Q2723533 Q3814512 Q516314 Q3643485 Q3817490 Q1608885 Q3257523 Q4957612 Q574060 Q3759415 Q665879 Q3807784 Q2346944 Q1626562 Q3703376 Q3859699 Q1469682 Q1622196 Q1378121 Q317527 Q2568302 Q3856296 Q2568192 Q948744 Q3991349 Q3760212 Q370006 Q3992472 Q1089188 Q311533 Q3808656 Q461825 Q3808347 Q767363 Q579859 Q2501262 Q941349 Q504835 Q1621720 Q1393488 Q1643597 Q144703 Q3881805 Q732825 Q1636269 Q2327855 Q1617143 Q352168 Q3807799 Q2342369 Q3863037 Q3934744 Q733261 Q3827154 Q460516 Q2518209 Q2735542 Q317065 Q1631653 Q3610723 Q1909170 Q965688 Q377693 Q3611535 Q70698 Q6451040 Q3725517 Q3706307 Q458065 Q1392830 Q431329 Q517675 Q2352338 Q523630 Q3806798 Q3809410 Q2477269 Q926248 Q2318219 Q926014 Q3154593 Q456730 Q393404 Q676481 Q4020006 Q193052 Q2923793 Q2413455 Q770761 Q16152016 Q1117654 Q3960167 Q2059578 Q3992513 Q3857363 Q3857362 Q3703017 Q769722 Q1608824 Q193108 Q554866 Q706180 Q581976 Q772141 Q3676050 Q586337 Q3973191 Q3973365 Q1374718 Q723208 Q1132528 Q2573224 Q965005 Q1445762 Q428535 Q2567039 Q70386 Q2565814 Q2567162 Q588764 Q3934732 Q1424128 Q555436 Q3857459 Q1618113 Q3718866 Q2325022 Q781072 Q2348512 Q443724 Q1612734 Q767817 Q1659574 Q3807778 Q982612 Q1622399 Q213132 Q2273690 Q2566744 Q1619317 Q532832 Q3808644 Q1616801 Q2520287 Q3959244 Q541483 Q1621763 Q3759053 Q3641354 Q6789156 Q2327355 Q1749405 Q2330106 Q572987 Q201608 Q2505131 Q776784 Q2339032 Q2318539 Q1463651 Q449245 Q364321 Q1886445 Q3702822 Q3857393 Q461407 Q676808 Q440291 Q316179 Q952921 Q1200330 Q3702840 Q3962469 Q781069 Q3854325 Q1439541 Q1607091 Q364394 Q925099 Q543566 Q3608060 Q306553 Q2566308 Q542256 Q42065 Q3773339 Q3900801 Q527780 Q1097554 Q3664161 Q3779876 Q2566735 Q7535742 Q2331939 Q744920 Q2620577 Q1665679 Q2664233 Q3898070 Q2256877 Q1607746 Q1111983 Q1338592 Q523646 Q1622762 Q1627029 Q211876 Q19985163 Q2317014 Q3218088 Q378660 Q926311 Q640300 Q1365630 Q2600980 Q2327143 Q930865 Q533350 Q724581 Q2734309 Q3683287 Q888647 Q736815 Q3809636 Q1407902 Q562764 Q1632228 Q671268 Q1623156 Q923075 Q932833 Q2699075 Q1469735 Q2419943 Q3809625 Q3784338 Q727048 Q298981 Q2032738 Q2342717 Q2840336 Q1132676 Q1631692 Q3640008 Q3940077 Q3876517 Q2307611 Q647663 Q463200 Q3874249 Q953338 Q4401184 Q352093 Q1608479 Q115509 Q640253 Q2778084 Q5066238 Q3618505 Q2565532 Q3681888 Q116254 Q2328059 Q2919016 Q202295 Q3641279 Q1184377 Q352110 Q539560 Q770083 Q2604182 Q3499332 Q5132995 Q3952866 Q1365645 Q1200001 Q3703053 Q628846 Q1647520 Q1618785 Q1639233 Q2332758 Q659284 Q3992457 Q1424165 Q359370 Q2338212 Q3666339 Q2568283 Q71980 Q708639 Q1627447 Q521859 Q1752926 Q1622624 Q1629949 Q1608253 Q3931734
AND((c(Q502895),P54,Q159729), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q159729
relation P54
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] play for San Antonio Spurs and are a male
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q159729'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P54 resource:Q159729 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
Nick Van Exel Charles Davis James Anderson Mark McNamara Greg Sutton Mike Mitchell Rasual Butler Danny Ferry James Silas Aron Baynes Mack Calvin Caldwell Jones Tim Duncan Dion Glover Jeremy Richardson Mike Evans Byron Dinkins George T. Johnson Alonzo Gee Simmie Hill Chris Quinn Samaki Walker Fred Roberts Jason Sasser Dallas Comegys Linton Johnson Cory Joseph Maurice Cheeks Monty Williams Leon Wood Tom Thibodeau Keith Edmonson Richard Rellford Jacque Vaughn Darwin Cook Francisco Elson Michael Finley Edgar Jones Brent Barry Jud Buechler Ken Smith Theo Ratliff Brad Lohaus Kurt Nimphius Louie Dampier Lloyd Daniels Brant Weidner Anthony Tolliver Gene Banks Ozell Jones Jeff Lebo Bob Weiss Jim Eakins David Wingate Mo Layton Steve Johnson Jerome Whitehead Keith Langford Boris Diaw Speedy Claxton Michael Wiley Walter Berry Louie Nelson Tim Bassett Geoff Crompton Drew Gooden Tom Garrick Chuck Person Dominique Wilkins Joe Hamilton Stephen Jackson Jim Johnstone Steve Hayes Stephen Bardo David Greenwood Sean Elliott Andrew Gaze Rod Higgins Ricky Wilson Othyus Jeffers Kevin Willis Oliver Robinson Charles Smith Tim Kempton Marc Iavaroni Jerry Chambers Tiago Splitter Jeff Wilkins Chucky Brown Morlon Wiley Rich Yonakor Larry Kenon Larry Krystkowiak Damon Stoudamire Sean Marks Ira Newble Antonio McDyess David Wood Alex Scales Matt Carroll Artis Gilmore Richard Jefferson Alfredrick Hughes Uwe Blab Kyle Anderson Ennis Whatley Devin Gray Mike Brown Keith Bogans Kevin Restani George Hill Marcus Williams Steve Kerr Jamie Feick John Lambert Bobby Simmons Kawhi Leonard Cory Alexander James White Irv Kiffin Gregg Popovich Žarko Paspalj Avery Johnson Will Franklin Pau Gasol Brandon Williams Garrett Temple Devin Brown Dennis Van Zant Shane Heal Sidney Green Eric Dawson Tom Owens Mike Brittain Mike Bratz Dave Batton Calvin Natt Billy Paultz Tony Parker Nando de Colo Nazr Mohammed Mario Elie Wes Matthews Chuck Terry Roger Mason, Jr. Stephen Howard Steve Lingenfelter Ime Udoka Johnny Moore Dave Corzine Mike Wilks Kevin Williams Frank Brickowski Malik Rose William Bedford Chris Welp Will Perdue Jay Vincent Terry Cummings Rich Jones Ron Mercer Danny Green Mike Sanders Amal McCaskill Ed Rains John Lucas II Austin Daye Cherokee Parks Marco Belinelli Mike Green Phil Zevenbergen Julius Nwosu Jeff Cook Vinny Del Negro Glenn Mosley Manu Ginóbili Jaren Jackson Chuck Nevitt Linton Townes Beno Udrih Joe Courtney Derrick Dial Swen Nater Shawnelle Scott Gerard King Roger Phegley Gaylon Nickerson Bob Warren Matt Othick Paul Pressey Desmon Farmer David Thirdkill Anthony Carter Dennis Rodman Mengke Bateer Mike Budenholzer Johnny Dawkins Kevin Duckworth Willie Burton Alvin Robertson Fabricio Oberto Tyrone Corbin Darrell Lockhart Mike Gale T. J. Ford Harry Davis Shannon Brown Moses Malone Patrick Mills Derrick Byars Darrin Hancock Skeeter Swift Austin Croshere Melvin Sanders Shelton Jones Len Chappell Robert Horry Sleepy Floyd DerMarr Johnson Albert King Bruce Bowen Mychal Thompson Allan Bristow Michael Anderson Goo Kennedy Pete Myers Antoine Carr Ed Nealy Cedric Jackson Gus Gerard Terry Porter Skip Wise Trent Tucker Dāvis Bertāns Jeff Pendergraph Mike Dunleavy, Sr. Damion James Paul Griffin Charles Smith Larry Smith Carl Herrera Vinnie Johnson Matt Bonner Mark Bryant Jack Haley David Robinson Jonathon Simmons Jason Hart Larry Owens Jon Sundvold Glenn Robinson Cadillac Anderson Jackie Butler Anthony Bowie J. R. Reid George Karl Darius Washington, Jr. Howard Eisley Keith Smart Collis Temple Bobby Jones Gary Neal John Stroeder Reggie Johnson Kurt Thomas Robert Smith Ron Brewer Jeff Lamp Pops Mensah-Bonsu Bird Averitt Justin Dentmon Eric Williams Ike Diogu John Smith Scott Sims Dwayne Schintzius Hidayet  Türkoğlu Willie Anderson Sean Higgins Mark Olberding Rod Strickland Donald Royal Bill Willoughby Roger Brown Nicolás Laprovíttola Vernon Maxwell Billy Knight Steve Smith Negele Knight Steve Novak Nate Blackwell Doc Rivers Donnie Freeman Reggie Geary Antonio Daniels Malcolm Thomas Chad Forcier Anthony Jones Alex Garcia Coby Dietrick DeJuan Blair Mike Smrek Wiley Peck Tracy Mcmi Bob Christian Dell Demps George Gervin Melvin Ely Dale Ellis Pétur Guðmundsson Stew Johnson Clifford Lett Scott Roth Marcus Haislip Derek Anderson Dave Robisch Chip Engelland Corey Crowder Anthony Goldwire Chris Whitney John Shumate John Paxson Tom Copa Felton Spencer Radoslav Nesterović Jerome Kersey Charlie Beasley Tony Massenburg Charlie Ward Mike D'Antoni Todd Mitchell Ian Mahinmi Malik Hairston Ray Williams Blake Ahearn Bob Netolicky Reggie Williams
Stephen Howard, Terry Cummings, Jeff Lamp, Danny Green, Chuck Terry, David Robinson, Alvin Robertson, Keith Langford, Donald Royal and Mark McNamara play for San Antonio Spurs and are a male
Stephen Howard Terry Cummings Jeff Lamp Danny Green Chuck Terry David Robinson Alvin Robertson Keith Langford Donald Royal Mark McNamara
action filter_type
action intersection
action find_reverse
entity San Antonio Spurs
relation member of sports team
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'San Antonio Spurs'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:member_of_sports_team resource:San_Antonio_Spurs . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q449245
P1399
Q18123755
USER
Which deed was the cause of conviction of that person ?
(Q449245,P1399,c(Q18123755))
action filter_type
action find
entity Q449245
relation P1399
type Q18123755
['Q449245', 'P1399', {'concept': 'Q18123755'}]
SELECT DISTINCT ?a WHERE { resource:Q449245 property:P1399 ?a . ?a rdf:type ontology:Q18123755 }
Alvin Robertson
action filter_type
action find
entity Alvin Robertson
relation convicted of
type deed
['Alvin Robertson', 'convicted of', {'concept': 'deed'}]
SELECT DISTINCT ?a WHERE { resource:Alvin_Robertson property:convicted_of ?a . ?a rdf:type ontology:deed }
[]
deed
Clarification for simple ques.
Q1617163
SYSTEM
Did you mean Mark McNamara ?
Q3973191 Q588764 Q1623156 Q555436 Q3676050 Q211876 Q449245 Q1378121 Q1631692 Q1617163
(Q3973191,P1399,c(Q18123755)) (Q588764,P1399,c(Q18123755)) (Q1623156,P1399,c(Q18123755)) (Q555436,P1399,c(Q18123755)) (Q3676050,P1399,c(Q18123755)) (Q211876,P1399,c(Q18123755)) (Q449245,P1399,c(Q18123755)) (Q1378121,P1399,c(Q18123755)) (Q1631692,P1399,c(Q18123755)) (Q1617163,P1399,c(Q18123755))
[ANSWER]
['Q3973191', 'P1399', {'concept': 'Q18123755'}] ['Q588764', 'P1399', {'concept': 'Q18123755'}] ['Q1623156', 'P1399', {'concept': 'Q18123755'}] ['Q555436', 'P1399', {'concept': 'Q18123755'}] ['Q3676050', 'P1399', {'concept': 'Q18123755'}] ['Q211876', 'P1399', {'concept': 'Q18123755'}] ['Q449245', 'P1399', {'concept': 'Q18123755'}] ['Q1378121', 'P1399', {'concept': 'Q18123755'}] ['Q1631692', 'P1399', {'concept': 'Q18123755'}] ['Q1617163', 'P1399', {'concept': 'Q18123755'}]
SELECT DISTINCT ?a WHERE { resource:Q449245 property:P1399 ?a . ?a rdf:type ontology:Q18123755 }
Stephen Howard Terry Cummings Jeff Lamp Danny Green Chuck Terry David Robinson Alvin Robertson Keith Langford Donald Royal Mark McNamara
Did you mean Mark McNamara ?
Mark McNamara
['Stephen Howard', 'convicted of', {'concept': 'deed'}] ['Terry Cummings', 'convicted of', {'concept': 'deed'}] ['Jeff Lamp', 'convicted of', {'concept': 'deed'}] ['Danny Green', 'convicted of', {'concept': 'deed'}] ['Chuck Terry', 'convicted of', {'concept': 'deed'}] ['David Robinson', 'convicted of', {'concept': 'deed'}] ['Alvin Robertson', 'convicted of', {'concept': 'deed'}] ['Keith Langford', 'convicted of', {'concept': 'deed'}] ['Donald Royal', 'convicted of', {'concept': 'deed'}] ['Mark McNamara', 'convicted of', {'concept': 'deed'}]
SELECT DISTINCT ?a WHERE { resource:Alvin_Robertson property:convicted_of ?a . ?a rdf:type ontology:deed }
[]
Simple Question (Coreferenced)
USER
No, I meant Alvin Robertson. Could you tell me the answer for that?
(Q449245,P1399,c(Q18123755))
Q449245
['Q449245', 'P1399', {'concept': 'Q18123755'}]
['Alvin Robertson', 'convicted of', {'concept': 'deed'}]
[]
Q365680
SYSTEM
assault
Q365680
(Q449245,P1399,c(Q18123755))
action filter_type
action find
entity Q449245
relation P1399
type Q18123755
[ANSWER] was the cause of conviction of that person
['Q449245', 'P1399', {'concept': 'Q18123755'}]
SELECT DISTINCT ?a WHERE { resource:Q449245 property:P1399 ?a . ?a rdf:type ontology:Q18123755 }
assault
Assault was the cause of conviction of that person
assault
action filter_type
action find
entity Alvin Robertson
relation convicted of
type deed
['Alvin Robertson', 'convicted of', {'concept': 'deed'}]
SELECT DISTINCT ?a WHERE { resource:Alvin_Robertson property:convicted_of ?a . ?a rdf:type ontology:deed }
[]