Simple Question (Direct)
Simple Question
Q2150086
P20
Q486972
USER
Where did the expiration of Richard Leibler occur ?
(Q2150086,P20,c(Q486972))
action filter_type
action find
entity Q2150086
relation P20
type Q486972
['Q2150086', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?q WHERE { resource:Q2150086 property:P20 ?q . ?q rdf:type ontology:Q486972 }
Richard Leibler
action filter_type
action find
entity Richard Leibler
relation place of death
type human settlement
['Richard Leibler', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?q WHERE { resource:Richard_Leibler property:place_of_death ?q . ?q rdf:type ontology:human_settlement }
[]
human settlement
Q1375280
SYSTEM
Reston
Q1375280
(Q2150086,P20,c(Q486972))
action filter_type
action find
entity Q2150086
relation P20
type Q486972
The expiration of Richard Leibler occurred in [ANSWER]
['Q2150086', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?q WHERE { resource:Q2150086 property:P20 ?q . ?q rdf:type ontology:Q486972 }
Reston
The expiration of Richard Leibler occurred in Reston
Reston
action filter_type
action find
entity Richard Leibler
relation place of death
type human settlement
['Richard Leibler', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?q WHERE { resource:Richard_Leibler property:place_of_death ?q . ?q rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1375280
P17
Q15617994
USER
Which administrative territory is that human settlement located in ?
(Q1375280,P17,c(Q15617994))
action filter_type
action find
entity Q1375280
relation P17
type Q15617994
['Q1375280', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1375280 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Reston
action filter_type
action find
entity Reston
relation country
type designation for an administrative territorial entity
['Reston', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Reston property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1375280,P17,c(Q15617994))
action filter_type
action find
entity Q1375280
relation P17
type Q15617994
That human settlement is located the [ANSWER]
['Q1375280', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1375280 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
United States of America
That human settlement is located the United States of America
United States of America
action filter_type
action find
entity Reston
relation country
type designation for an administrative territorial entity
['Reston', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Reston property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1375280
P740
Q43229
USER
Which organization was formed at that human settlement ?
(c(Q43229),P740,Q30)
action filter_type
action find_reverse
entity Q1375280
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q30']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q43229 . ?r property:P740 resource:Q1375280 }
Reston
action filter_type
action find_reverse
entity Reston
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'United States of America']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:organization . ?r property:location_of_formation resource:Reston }
[]
organization
Q7075075
SYSTEM
Objective Interface Systems
Q7075075
(c(Q43229),P740,Q30)
action filter_type
action find_reverse
entity Q1375280
relation P740
type Q43229
That [ANSWER] was formed at that human settlement
[{'concept': 'Q43229'}, 'P740', 'Q30']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q43229 . ?r property:P740 resource:Q1375280 }
Objective Interface Systems
That Objective Interface Systems was formed at that human settlement
Objective Interface Systems
action filter_type
action find_reverse
entity Reston
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'United States of America']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:organization . ?r property:location_of_formation resource:Reston }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q43229 Q1875621
USER
Which aircraft classes can be described as facility operator of approximately 1 organization ?
(c(Q1875621),P137,c(Q43229))
action approx
action find_tuple_counts
relation P137
type Q1875621
type Q43229
value 1
[{'concept': 'Q1875621'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?x ) WHERE { ?a property:P137 ?s . ?a rdf:type ontology:Q1875621 . ?s rdf:type ontology:Q43229 } GROUP BY ?a } . FILTER ( ?x = 1 ) }
action approx
action find_tuple_counts
relation operator
type aircraft class
type organization
value 1
[{'concept': 'aircraft class'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?x ) WHERE { ?a property:operator ?s . ?a rdf:type ontology:aircraft_class . ?s rdf:type ontology:organization } GROUP BY ?a } . FILTER ( ?x = 1 ) }
[]
organization aircraft class
Q24269678 Q21150511 Q24238509
SYSTEM
global military helicopter fleet, Johnson Flying Service fleet, global military airplane fleet
Q24269678 Q21150511 Q24238509 Q24238480
(c(Q1875621),P137,c(Q43229))
action approx
action find_tuple_counts
relation P137
type Q1875621
type Q43229
value 1
[ANSWERS] can be described as facility operator of approximately 1 organization
[{'concept': 'Q1875621'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?x ) WHERE { ?a property:P137 ?s . ?a rdf:type ontology:Q1875621 . ?s rdf:type ontology:Q43229 } GROUP BY ?a } . FILTER ( ?x = 1 ) }
global military helicopter fleet Johnson Flying Service fleet global military airplane fleet global military aircraft fleet
Global military helicopter fleet, Johnson Flying Service fleet and global military airplane fleet can be described as facility operator of approximately 1 organization
global military helicopter fleet Johnson Flying Service fleet global military airplane fleet
action approx
action find_tuple_counts
relation operator
type aircraft class
type organization
value 1
[{'concept': 'aircraft class'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?x ) WHERE { ?a property:operator ?s . ?a rdf:type ontology:aircraft_class . ?s rdf:type ontology:organization } GROUP BY ?a } . FILTER ( ?x = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21150511
P121
Q43229
USER
Which organization manages that aircraft class ?
(c(Q43229),P121,Q21150511)
action filter_type
action find_reverse
entity Q21150511
relation P121
type Q43229
[{'concept': 'Q43229'}, 'P121', 'Q21150511']
SELECT DISTINCT ?w WHERE { ?w property:P121 resource:Q21150511 . ?w rdf:type ontology:Q43229 }
Johnson Flying Service fleet
action filter_type
action find_reverse
entity Johnson Flying Service fleet
relation item operated
type organization
[{'concept': 'organization'}, 'item operated', 'Johnson Flying Service fleet']
SELECT DISTINCT ?w WHERE { ?w property:item_operated resource:Johnson_Flying_Service_fleet . ?w rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q24238509
SYSTEM
Did you mean global military airplane fleet ?
Q24269678 Q21150511 Q24238509
(c(Q43229),P121,Q24269678) (c(Q43229),P121,Q21150511) (c(Q43229),P121,Q24238509)
[ANSWER]
[{'concept': 'Q43229'}, 'P121', 'Q24269678'] [{'concept': 'Q43229'}, 'P121', 'Q21150511'] [{'concept': 'Q43229'}, 'P121', 'Q24238509']
SELECT DISTINCT ?w WHERE { ?w property:P121 resource:Q21150511 . ?w rdf:type ontology:Q43229 }
global military helicopter fleet Johnson Flying Service fleet global military airplane fleet
Did you mean global military airplane fleet ?
global military airplane fleet
[{'concept': 'organization'}, 'item operated', 'global military helicopter fleet'] [{'concept': 'organization'}, 'item operated', 'Johnson Flying Service fleet'] [{'concept': 'organization'}, 'item operated', 'global military airplane fleet']
SELECT DISTINCT ?w WHERE { ?w property:item_operated resource:Johnson_Flying_Service_fleet . ?w rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Johnson Flying Service fleet. Could you tell me the answer for that?
(c(Q43229),P121,Q21150511)
Q21150511
[{'concept': 'Q43229'}, 'P121', 'Q21150511']
[{'concept': 'organization'}, 'item operated', 'Johnson Flying Service fleet']
[]
Q20973493
SYSTEM
Johnson Flying Service
Q20973493
(c(Q43229),P121,Q21150511)
action filter_type
action find_reverse
entity Q21150511
relation P121
type Q43229
[ANSWER] manages that aircraft class
[{'concept': 'Q43229'}, 'P121', 'Q21150511']
SELECT DISTINCT ?w WHERE { ?w property:P121 resource:Q21150511 . ?w rdf:type ontology:Q43229 }
Johnson Flying Service
Johnson Flying Service manages that aircraft class
Johnson Flying Service
action filter_type
action find_reverse
entity Johnson Flying Service fleet
relation item operated
type organization
[{'concept': 'organization'}, 'item operated', 'Johnson Flying Service fleet']
SELECT DISTINCT ?w WHERE { ?w property:item_operated resource:Johnson_Flying_Service_fleet . ?w rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q20973493 Q30
P17
Q15617994
USER
Is Johnson Flying Service located in United States of America ?
(Q20973493,P17,Q30)
action is_in
entity Q30
action find
entity Q20973493
relation P17
['Q20973493', 'P17', 'Q30']
ASK WHERE { resource:Q20973493 property:P17 resource:Q30 }
Johnson Flying Service United States of America
action is_in
entity United States of America
action find
entity Johnson Flying Service
relation country
['Johnson Flying Service', 'country', 'United States of America']
ASK WHERE { resource:Johnson_Flying_Service property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q20973493,P17,Q30)
action is_in
entity Q30
action find
entity Q20973493
relation P17
[ANSWER]
['Q20973493', 'P17', 'Q30']
ASK WHERE { resource:Q20973493 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Johnson Flying Service
relation country
['Johnson Flying Service', 'country', 'United States of America']
ASK WHERE { resource:Johnson_Flying_Service property:country resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q35648 Q34597
P6
Q502895
USER
Does United States of America have a government lead by William Howard Taft and James A. Garfield ?
(Q30,P6,Q35648) (Q30,P6,Q34597)
action is_in
entity Q30
action intersection
action find_reverse
entity Q35648
relation P6
action find_reverse
entity Q34597
relation P6
['Q30', 'P6', 'Q35648'] ['Q30', 'P6', 'Q34597']
ASK WHERE { resource:Q30 property:P6 resource:Q34597 . resource:Q30 property:P6 resource:Q35648 }
United States of America William Howard Taft James A. Garfield
action is_in
entity United States of America
action intersection
action find_reverse
entity William Howard Taft
relation head of government
action find_reverse
entity James A. Garfield
relation head of government
['United States of America', 'head of government', 'William Howard Taft'] ['United States of America', 'head of government', 'James A. Garfield']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:James_A._Garfield . resource:United_States_of_America property:head_of_government resource:William_Howard_Taft }
[]
common name
SYSTEM
YES
(Q30,P6,Q35648) (Q30,P6,Q34597)
action is_in
entity Q30
action intersection
action find_reverse
entity Q35648
relation P6
action find_reverse
entity Q34597
relation P6
[ANSWER]
['Q30', 'P6', 'Q35648'] ['Q30', 'P6', 'Q34597']
ASK WHERE { resource:Q30 property:P6 resource:Q34597 . resource:Q30 property:P6 resource:Q35648 }
Yes
action is_in
entity United States of America
action intersection
action find_reverse
entity William Howard Taft
relation head of government
action find_reverse
entity James A. Garfield
relation head of government
['United States of America', 'head of government', 'William Howard Taft'] ['United States of America', 'head of government', 'James A. Garfield']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:James_A._Garfield . resource:United_States_of_America property:head_of_government resource:William_Howard_Taft }
[]