Simple Question (Direct)
Simple Question
Q2303507
P19
Q56061
USER
Where was Michael Higdon born ?
(Q2303507,P19,c(Q56061))
action filter_type
action find
entity Q2303507
relation P19
type Q56061
['Q2303507', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q2303507 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Michael Higdon
action filter_type
action find
entity Michael Higdon
relation place of birth
type administrative territorial entity
['Michael Higdon', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Michael_Higdon property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q24826
SYSTEM
Liverpool
Q24826
(Q2303507,P19,c(Q56061))
action filter_type
action find
entity Q2303507
relation P19
type Q56061
Michael Higdon was born in [ANSWER]
['Q2303507', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q2303507 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Liverpool
Michael Higdon was born in Liverpool
Liverpool
action filter_type
action find
entity Michael Higdon
relation place of birth
type administrative territorial entity
['Michael Higdon', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Michael_Higdon property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2303507
P21
Q290
USER
Which sex does that person belong to ?
(Q24826,P21,c(Q290))
action filter_type
action find
entity Q2303507
relation P21
type Q290
['Q24826', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q2303507 property:P21 ?c . ?c rdf:type ontology:Q290 }
Michael Higdon
action filter_type
action find
entity Michael Higdon
relation gender
type sex
['Liverpool', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Michael_Higdon property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q24826,P21,c(Q290))
action filter_type
action find
entity Q2303507
relation P21
type Q290
That person belongs to [ANSWER]
['Q24826', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q2303507 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Michael Higdon
relation gender
type sex
['Liverpool', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Michael_Higdon property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2303507
P641
Q349
USER
Which sport was that person a part of ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q2303507
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q2303507 property:P641 ?b . ?b rdf:type ontology:Q349 }
Michael Higdon
action filter_type
action find
entity Michael Higdon
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Michael_Higdon property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q2303507
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q2303507 property:P641 ?b . ?b rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Michael Higdon
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Michael_Higdon property:sport ?b . ?b rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4801726 Q2303507
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Michael Higdon or Arturo Dresco ?
OR((Q2303507,P27,c(Q15617994)), (Q4801726,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2303507
relation P27
action find
entity Q4801726
relation P27
type Q15617994
{'OR': [['Q2303507', 'P27', {'concept': 'Q15617994'}], ['Q4801726', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q2303507 property:P27 ?s } UNION { resource:Q4801726 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Arturo Dresco Michael Higdon
action filter_type
action union
action find
entity Michael Higdon
relation country of citizenship
action find
entity Arturo Dresco
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Michael Higdon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Arturo Dresco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Michael_Higdon property:country_of_citizenship ?s } UNION { resource:Arturo_Dresco property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414 Q145
SYSTEM
Argentina, United Kingdom
Q414 Q145
OR((Q2303507,P27,c(Q15617994)), (Q4801726,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2303507
relation P27
action find
entity Q4801726
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Michael Higdon or Arturo Dresco
{'OR': [['Q2303507', 'P27', {'concept': 'Q15617994'}], ['Q4801726', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q2303507 property:P27 ?s } UNION { resource:Q4801726 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Argentina United Kingdom
Argentina and United Kingdom are the countries of citizenship of Michael Higdon or Arturo Dresco
Argentina United Kingdom
action filter_type
action union
action find
entity Michael Higdon
relation country of citizenship
action find
entity Arturo Dresco
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Michael Higdon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Arturo Dresco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Michael_Higdon property:country_of_citizenship ?s } UNION { resource:Arturo_Dresco property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q414 Q145
P740
Q43229
USER
What were formed at those administrative territories ?
(c(Q43229),P740,Q414) (c(Q43229),P740,Q145)
action filter_type
action find_reverse
entity prev_answer
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q414'] [{'concept': 'Q43229'}, 'P740', 'Q145']
SELECT DISTINCT ?y WHERE { ?y property:P740 ?u . VALUES ( ?u ) { ( resource:Q414 ) ( resource:Q145 ) } . ?y rdf:type ontology:Q43229 }
Argentina United Kingdom
action filter_type
action find_reverse
entity prev_answer
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Argentina'] [{'concept': 'organization'}, 'location of formation', 'United Kingdom']
SELECT DISTINCT ?y WHERE { ?y property:location_of_formation ?u . VALUES ( ?u ) { ( resource:Argentina ) ( resource:United_Kingdom ) } . ?y rdf:type ontology:organization }
[]
organization
Q6823260 Q1985340 Q2136905
SYSTEM
Metaswitch, Comodo Group, CEVA Logistics
Q1140147 Q5124566 Q7928941 Q17032114 Q2136905 Q3633872 Q16241222 Q1985340 Q6823260 Q2524499 Q5269989 Q17015101 Q4887507 Q7380811 Q4967773 Q4690272 Q5136532 Q5074505
(c(Q43229),P740,Q414) (c(Q43229),P740,Q145)
action filter_type
action find_reverse
entity prev_answer
relation P740
type Q43229
[ANSWERS] were formed at those administrative territories
[{'concept': 'Q43229'}, 'P740', 'Q414'] [{'concept': 'Q43229'}, 'P740', 'Q145']
SELECT DISTINCT ?y WHERE { ?y property:P740 ?u . VALUES ( ?u ) { ( resource:Q414 ) ( resource:Q145 ) } . ?y rdf:type ontology:Q43229 }
Cris Morena Group Civil Service Motoring Association Viglen ThinCats CEVA Logistics Band Aid 20 Comodo SSL Comodo Group Metaswitch Zopa DiGiCo Rebuildingsociety.com Benenden health Rushes Postproduction Brightpearl Afrodiziak Clubland Charity Engine
Metaswitch, Comodo Group and CEVA Logistics were formed at those administrative territories
Metaswitch Comodo Group CEVA Logistics
action filter_type
action find_reverse
entity prev_answer
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Argentina'] [{'concept': 'organization'}, 'location of formation', 'United Kingdom']
SELECT DISTINCT ?y WHERE { ?y property:location_of_formation ?u . VALUES ( ?u ) { ( resource:Argentina ) ( resource:United_Kingdom ) } . ?y rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2136905
P17
Q15617994
USER
Which administrative territory is that organization located in ?
(Q2136905,P17,c(Q15617994))
action filter_type
action find
entity Q2136905
relation P17
type Q15617994
['Q2136905', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q2136905 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
CEVA Logistics
action filter_type
action find
entity CEVA Logistics
relation country
type designation for an administrative territorial entity
['CEVA Logistics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:CEVA_Logistics property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1985340
SYSTEM
Did you mean Comodo Group ?
Q6823260 Q1985340 Q2136905
(Q6823260,P17,c(Q15617994)) (Q1985340,P17,c(Q15617994)) (Q2136905,P17,c(Q15617994))
[ANSWER]
['Q6823260', 'P17', {'concept': 'Q15617994'}] ['Q1985340', 'P17', {'concept': 'Q15617994'}] ['Q2136905', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q2136905 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Metaswitch Comodo Group CEVA Logistics
Did you mean Comodo Group ?
Comodo Group
['Metaswitch', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Comodo Group', 'country', {'concept': 'designation for an administrative territorial entity'}] ['CEVA Logistics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:CEVA_Logistics property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant CEVA Logistics. Could you tell me the answer for that?
(Q2136905,P17,c(Q15617994))
Q2136905
['Q2136905', 'P17', {'concept': 'Q15617994'}]
['CEVA Logistics', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q55
SYSTEM
Netherlands
Q55
(Q2136905,P17,c(Q15617994))
action filter_type
action find
entity Q2136905
relation P17
type Q15617994
That organization is located in [ANSWER]
['Q2136905', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q2136905 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Netherlands
That organization is located in Netherlands
Netherlands
action filter_type
action find
entity CEVA Logistics
relation country
type designation for an administrative territorial entity
['CEVA Logistics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:CEVA_Logistics property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P466
Q43229 Q811979 Q483110
USER
Which organizations are an occupants of atleast 2 architectural structures or stadia ?
(c(Q811979)|c(Q483110),P466,c(Q43229))
action atleast
action union
action find_reverse_tuple_counts
relation P466
type Q43229
type Q811979
action find_reverse_tuple_counts
relation P466
type Q43229
type Q483110
value 2
[[{'concept': 'Q811979'}, {'concept': 'Q483110'}], 'P466', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?b ) WHERE { { ?v property:P466 ?u . ?u rdf:type ontology:Q43229 . ?v rdf:type ontology:Q811979 } UNION { ?v property:P466 ?u . ?u rdf:type ontology:Q43229 . ?v rdf:type ontology:Q483110 } } GROUP BY ?u } . FILTER ( ?b >= 2 ) }
action atleast
action union
action find_reverse_tuple_counts
relation occupant
type organization
type architectural structure
action find_reverse_tuple_counts
relation occupant
type organization
type stadium
value 2
[[{'concept': 'architectural structure'}, {'concept': 'stadium'}], 'occupant', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?b ) WHERE { { ?v property:occupant ?u . ?u rdf:type ontology:organization . ?v rdf:type ontology:architectural_structure } UNION { ?v property:occupant ?u . ?u rdf:type ontology:organization . ?v rdf:type ontology:stadium } } GROUP BY ?u } . FILTER ( ?b >= 2 ) }
[]
organization architectural structure stadium
Q1422 Q2927468 Q151521
SYSTEM
Juventus F.C., Ohio State Buckeyes, Texas A&M Aggies
Q151521 Q2927468 Q4884328 Q1422 Q971195
(c(Q811979)|c(Q483110),P466,c(Q43229))
action atleast
action union
action find_reverse_tuple_counts
relation P466
type Q43229
type Q811979
action find_reverse_tuple_counts
relation P466
type Q43229
type Q483110
value 2
[ANSWERS] are an occupants of atleast 2 architectural structures or stadia
[[{'concept': 'Q811979'}, {'concept': 'Q483110'}], 'P466', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?b ) WHERE { { ?v property:P466 ?u . ?u rdf:type ontology:Q43229 . ?v rdf:type ontology:Q811979 } UNION { ?v property:P466 ?u . ?u rdf:type ontology:Q43229 . ?v rdf:type ontology:Q483110 } } GROUP BY ?u } . FILTER ( ?b >= 2 ) }
Texas A&M Aggies Ohio State Buckeyes Belmont Bruins Juventus F.C. Alabama Crimson Tide
Juventus F.C., Ohio State Buckeyes and Texas A&M Aggies are an occupants of atleast 2 architectural structures or stadia
Juventus F.C. Ohio State Buckeyes Texas A&M Aggies
action atleast
action union
action find_reverse_tuple_counts
relation occupant
type organization
type architectural structure
action find_reverse_tuple_counts
relation occupant
type organization
type stadium
value 2
[[{'concept': 'architectural structure'}, {'concept': 'stadium'}], 'occupant', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?b ) WHERE { { ?v property:occupant ?u . ?u rdf:type ontology:organization . ?v rdf:type ontology:architectural_structure } UNION { ?v property:occupant ?u . ?u rdf:type ontology:organization . ?v rdf:type ontology:stadium } } GROUP BY ?u } . FILTER ( ?b >= 2 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2927468
P137
Q811979
USER
Which architectural structures were operated by that organization ?
(c(Q811979),P137,Q2927468)
action filter_type
action find_reverse
entity Q2927468
relation P137
type Q811979
[{'concept': 'Q811979'}, 'P137', 'Q2927468']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q811979 . ?f property:P137 resource:Q2927468 }
Ohio State Buckeyes
action filter_type
action find_reverse
entity Ohio State Buckeyes
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Ohio State Buckeyes']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:architectural_structure . ?f property:operator resource:Ohio_State_Buckeyes }
[]
architectural structure
Clarification for simple ques.
Q2927468
SYSTEM
Did you mean Ohio State Buckeyes ?
Q1422 Q2927468 Q151521
(c(Q811979),P137,Q1422) (c(Q811979),P137,Q2927468) (c(Q811979),P137,Q151521)
[ANSWER]
[{'concept': 'Q811979'}, 'P137', 'Q1422'] [{'concept': 'Q811979'}, 'P137', 'Q2927468'] [{'concept': 'Q811979'}, 'P137', 'Q151521']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q811979 . ?f property:P137 resource:Q2927468 }
Juventus F.C. Ohio State Buckeyes Texas A&M Aggies
Did you mean Ohio State Buckeyes ?
Ohio State Buckeyes
[{'concept': 'architectural structure'}, 'operator', 'Juventus F.C.'] [{'concept': 'architectural structure'}, 'operator', 'Ohio State Buckeyes'] [{'concept': 'architectural structure'}, 'operator', 'Texas A&M Aggies']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:architectural_structure . ?f property:operator resource:Ohio_State_Buckeyes }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q811979),P137,Q2927468)
[{'concept': 'Q811979'}, 'P137', 'Q2927468']
[{'concept': 'architectural structure'}, 'operator', 'Ohio State Buckeyes']
[]
Q7588876 Q5178957
SYSTEM
St. John Arena, Covelli Arena
Q7588876 Q5178957
(c(Q811979),P137,Q2927468)
action filter_type
action find_reverse
entity Q2927468
relation P137
type Q811979
[ANSWERS] were operated by that organization
[{'concept': 'Q811979'}, 'P137', 'Q2927468']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q811979 . ?f property:P137 resource:Q2927468 }
St. John Arena Covelli Arena
St. John Arena and Covelli Arena were operated by that organization
St. John Arena Covelli Arena
action filter_type
action find_reverse
entity Ohio State Buckeyes
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Ohio State Buckeyes']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:architectural_structure . ?f property:operator resource:Ohio_State_Buckeyes }
[]