Simple Question (Direct)
Simple Question
Q5927208
P106
Q12737077
USER
What does Hubert Charpentier do for a living ?
(Q5927208,P106,c(Q12737077))
action filter_type
action find
entity Q5927208
relation P106
type Q12737077
['Q5927208', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5927208 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Hubert Charpentier
action filter_type
action find
entity Hubert Charpentier
relation occupation
type occupation
['Hubert Charpentier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Hubert_Charpentier property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5927208,P106,c(Q12737077))
action filter_type
action find
entity Q5927208
relation P106
type Q12737077
Hubert Charpentier does an [ANSWER] for a living
['Q5927208', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5927208 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
Hubert Charpentier does an association football player for a living
association football player
action filter_type
action find
entity Hubert Charpentier
relation occupation
type occupation
['Hubert Charpentier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Hubert_Charpentier property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P800
Q502895
USER
Who is author of that occupation ?
(c(Q502895),P800,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q937857']
SELECT DISTINCT ?l WHERE { ?l property:P800 resource:Q937857 . ?l rdf:type ontology:Q502895 }
association football player
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player']
SELECT DISTINCT ?l WHERE { ?l property:notable_work resource:association_football_player . ?l rdf:type ontology:common_name }
[]
common name
Q23047441
SYSTEM
Hugh Morgan-Owen
Q23047441
(c(Q502895),P800,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
Is author of that occupation [ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q937857']
SELECT DISTINCT ?l WHERE { ?l property:P800 resource:Q937857 . ?l rdf:type ontology:Q502895 }
Hugh Morgan-Owen
Is author of that occupation Hugh Morgan-Owen
Hugh Morgan-Owen
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player']
SELECT DISTINCT ?l WHERE { ?l property:notable_work resource:association_football_player . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q937857 Q423245
P921
Q732577
USER
How many publications are association football player or hydrobromic acid a main subject of ?
(c(Q732577),P921,Q937857) (c(Q732577),P921,Q423245)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P921
type Q732577
action filter_type
action find_reverse
entity Q423245
relation P921
type Q732577
[{'concept': 'Q732577'}, 'P921', 'Q937857'] [{'concept': 'Q732577'}, 'P921', 'Q423245']
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { ?w property:P921 resource:Q937857 . ?w rdf:type ontology:Q732577 } UNION { ?w property:P921 resource:Q423245 . ?w rdf:type ontology:Q732577 } }
association football player hydrobromic acid
action count
action union
action filter_type
action find_reverse
entity association football player
relation main subject
type publication
action filter_type
action find_reverse
entity hydrobromic acid
relation main subject
type publication
[{'concept': 'publication'}, 'main subject', 'association football player'] [{'concept': 'publication'}, 'main subject', 'hydrobromic acid']
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { ?w property:main_subject resource:association_football_player . ?w rdf:type ontology:publication } UNION { ?w property:main_subject resource:hydrobromic_acid . ?w rdf:type ontology:publication } }
[]
publication
SYSTEM
3
Q26354055 Q26352775 Q26347456
(c(Q732577),P921,Q937857) (c(Q732577),P921,Q423245)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P921
type Q732577
action filter_type
action find_reverse
entity Q423245
relation P921
type Q732577
[ANSWER]
[{'concept': 'Q732577'}, 'P921', 'Q937857'] [{'concept': 'Q732577'}, 'P921', 'Q423245']
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { ?w property:P921 resource:Q937857 . ?w rdf:type ontology:Q732577 } UNION { ?w property:P921 resource:Q423245 . ?w rdf:type ontology:Q732577 } }
HHE Report No. HETA-97-0111-2647, Ingersoll-Rand Company, Von Duprin Division, Indianapolis, Indiana Health Hazard Evaluation Report HETA 98-0003-2698, Potlatch Corporation, Minnesota Pulp and Paper Division, Cloquet, Minnesota HHE Report No. HETA-91-115-2299, Inland Steel Company, East Chicago, Indiana
3
action count
action union
action filter_type
action find_reverse
entity association football player
relation main subject
type publication
action filter_type
action find_reverse
entity hydrobromic acid
relation main subject
type publication
[{'concept': 'publication'}, 'main subject', 'association football player'] [{'concept': 'publication'}, 'main subject', 'hydrobromic acid']
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { ?w property:main_subject resource:association_football_player . ?w rdf:type ontology:publication } UNION { ?w property:main_subject resource:hydrobromic_acid . ?w rdf:type ontology:publication } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 9325 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 9325
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P1303 ?s . ?k rdf:type ontology:Q502895 . ?s rdf:type ontology:Q34379 } GROUP BY ?s } . FILTER ( ?f <= 9325 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 9325
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:instrument ?s . ?k rdf:type ontology:common_name . ?s rdf:type ontology:musical_instrument } GROUP BY ?s } . FILTER ( ?f <= 9325 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 9325
[ANSWERS] can atmost 9325 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P1303 ?s . ?k rdf:type ontology:Q502895 . ?s rdf:type ontology:Q34379 } GROUP BY ?s } . FILTER ( ?f <= 9325 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can atmost 9325 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 9325
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:instrument ?s . ?k rdf:type ontology:common_name . ?s rdf:type ontology:musical_instrument } GROUP BY ?s } . FILTER ( ?f <= 9325 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2292969 Q1759986
P17
Q15617994
USER
Which administrative territories are Wurlitzer electric piano or Radio Nova a part of ?
OR((Q1759986,P17,c(Q15617994)), (Q2292969,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1759986
relation P17
action find
entity Q2292969
relation P17
type Q15617994
{'OR': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q2292969', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?f ) { ( resource:Q1759986 ) ( resource:Q2292969 ) } . ?f property:P17 ?x } . ?x rdf:type ontology:Q15617994 }
Radio Nova Wurlitzer electric piano
action filter_type
action union
action find
entity Wurlitzer electric piano
relation country
action find
entity Radio Nova
relation country
type designation for an administrative territorial entity
{'OR': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Radio Nova', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?f ) { ( resource:Wurlitzer_electric_piano ) ( resource:Radio_Nova ) } . ?f 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((Q1759986,P17,c(Q15617994)), (Q2292969,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1759986
relation P17
action find
entity Q2292969
relation P17
type Q15617994
[ANSWERS] are Wurlitzer electric piano or Radio Nova a part of
{'OR': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q2292969', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?f ) { ( resource:Q1759986 ) ( resource:Q2292969 ) } . ?f property:P17 ?x } . ?x rdf:type ontology:Q15617994 }
France United States of America
France and United States of America are Wurlitzer electric piano or Radio Nova a part of
France United States of America
action filter_type
action union
action find
entity Wurlitzer electric piano
relation country
action find
entity Radio Nova
relation country
type designation for an administrative territorial entity
{'OR': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Radio Nova', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?f ) { ( resource:Wurlitzer_electric_piano ) ( resource:Radio_Nova ) } . ?f property:country ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3263307
P27
Q502895
USER
Are Louis Watunda a citizen of those administrative territories ?
(Q3263307,P27,Q142) (Q3263307,P27,Q30)
action is_in
entity prev_answer
action find
entity Q3263307
relation P27
['Q3263307', 'P27', 'Q142'] ['Q3263307', 'P27', 'Q30']
ASK WHERE { VALUES ( ?q ) { ( resource:Q142 ) ( resource:Q30 ) } . resource:Q3263307 property:P27 ?q }
Louis Watunda
action is_in
entity prev_answer
action find
entity Louis Watunda
relation country of citizenship
['Louis Watunda', 'country of citizenship', 'France'] ['Louis Watunda', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?q ) { ( resource:France ) ( resource:United_States_of_America ) } . resource:Louis_Watunda property:country_of_citizenship ?q }
[]
common name
SYSTEM
NO
(Q3263307,P27,Q142) (Q3263307,P27,Q30)
action is_in
entity prev_answer
action find
entity Q3263307
relation P27
[ANSWER]
['Q3263307', 'P27', 'Q142'] ['Q3263307', 'P27', 'Q30']
ASK WHERE { VALUES ( ?q ) { ( resource:Q142 ) ( resource:Q30 ) } . resource:Q3263307 property:P27 ?q }
No
action is_in
entity prev_answer
action find
entity Louis Watunda
relation country of citizenship
['Louis Watunda', 'country of citizenship', 'France'] ['Louis Watunda', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?q ) { ( resource:France ) ( resource:United_States_of_America ) } . resource:Louis_Watunda property:country_of_citizenship ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q148 Q7987176
P530
Q15617994
USER
Is United States of America known to have diplomatic connections with People's Republic of China and Westbrook Independent School District ?
(Q30,P530,Q148) (Q30,P530,Q7987176)
action is_in
entity Q30
action intersection
action find_reverse
entity Q148
relation P530
action find_reverse
entity Q7987176
relation P530
['Q30', 'P530', 'Q148'] ['Q30', 'P530', 'Q7987176']
ASK WHERE { resource:Q30 property:P530 resource:Q148 . resource:Q30 property:P530 resource:Q7987176 }
United States of America People's Republic of China Westbrook Independent School District
action is_in
entity United States of America
action intersection
action find_reverse
entity People's Republic of China
relation diplomatic relation
action find_reverse
entity Westbrook Independent School District
relation diplomatic relation
['United States of America', 'diplomatic relation', "People's Republic of China"] ['United States of America', 'diplomatic relation', 'Westbrook Independent School District']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:People's_Republic_of_China . resource:United_States_of_America property:diplomatic_relation resource:Westbrook_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q30,P530,Q148) (Q30,P530,Q7987176)
action is_in
entity Q30
action intersection
action find_reverse
entity Q148
relation P530
action find_reverse
entity Q7987176
relation P530
[ANSWER]
['Q30', 'P530', 'Q148'] ['Q30', 'P530', 'Q7987176']
ASK WHERE { resource:Q30 property:P530 resource:Q148 . resource:Q30 property:P530 resource:Q7987176 }
YES and NO respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity People's Republic of China
relation diplomatic relation
action find_reverse
entity Westbrook Independent School District
relation diplomatic relation
['United States of America', 'diplomatic relation', "People's Republic of China"] ['United States of America', 'diplomatic relation', 'Westbrook Independent School District']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:People's_Republic_of_China . resource:United_States_of_America property:diplomatic_relation resource:Westbrook_Independent_School_District }
[]