Simple Question (Direct)
Simple Question
Q3563220
P17
Q15617994
USER
Which administrative territory is Voulmentin situated in ?
(Q3563220,P17,c(Q15617994))
action filter_type
action find
entity Q3563220
relation P17
type Q15617994
['Q3563220', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q3563220 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Voulmentin
action filter_type
action find
entity Voulmentin
relation country
type designation for an administrative territorial entity
['Voulmentin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Voulmentin property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3563220,P17,c(Q15617994))
action filter_type
action find
entity Q3563220
relation P17
type Q15617994
Voulmentin is situated en [ANSWER]
['Q3563220', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q3563220 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
France
Voulmentin is situated en France
France
action filter_type
action find
entity Voulmentin
relation country
type designation for an administrative territorial entity
['Voulmentin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Voulmentin property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P740
Q2088357
USER
What are the musical ensembles that were formed at that administrative territory ?
(c(Q2088357),P740,Q142)
action filter_type
action find_reverse
entity Q142
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q142']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2088357 . ?i property:P740 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'France']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:musical_ensemble . ?i property:location_of_formation resource:France }
[]
musical ensemble
Q606650 Q2482652 Q22951192
SYSTEM
Empyr, Les Discrets, Kids United
Q2482652 Q3232823 Q14455902 Q2013381 Q16930080 Q948804 Q2113827 Q3396185 Q3562922 Q3196402 Q646039 Q845508 Q3238355 Q15052981 Q6533353 Q5205878 Q2869575 Q22951192 Q2982785 Q3498740 Q15198337 Q5934794 Q13945471 Q606650 Q2813204 Q3001954
(c(Q2088357),P740,Q142)
action filter_type
action find_reverse
entity Q142
relation P740
type Q2088357
The musical ensembles that were formed at that administrative territory are Les [ANSWERS]
[{'concept': 'Q2088357'}, 'P740', 'Q142']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2088357 . ?i property:P740 resource:Q142 }
Les Discrets Les Frères Misère Flavel & Neto Ocean Drive The Other Colors One-T Prototypes Poney Express Volo Kidtonik Era Les Hurlements d'Léo Life's Decay Y.A.S. Lethian Dreams DOP Atomic Garden Kids United Collectif Paris-Africa StereoHeroes Détroit Monade The Mess Empyr 1995 Crack ov Dawn
The musical ensembles that were formed at that administrative territory are Les Empyr, Les Discrets and Kids United
Empyr Les Discrets Kids United
action filter_type
action find_reverse
entity France
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'France']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:musical_ensemble . ?i property:location_of_formation resource:France }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P137
Q3084961
USER
Which product linings were operated by France ?
(c(Q3084961),P137,Q142)
action filter_type
action find_reverse
entity Q142
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q142']
SELECT DISTINCT ?m WHERE { ?m property:P137 resource:Q142 . ?m rdf:type ontology:Q3084961 }
France
action filter_type
action find_reverse
entity France
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'France']
SELECT DISTINCT ?m WHERE { ?m property:operator resource:France . ?m rdf:type ontology:product_lining }
[]
product lining
Q58725 Q18012286 Q933767
SYSTEM
T-33 Shooting Star, Mirage 2000-5, Hawk 75
Q58725 Q18012286 Q933767
(c(Q3084961),P137,Q142)
action filter_type
action find_reverse
entity Q142
relation P137
type Q3084961
[ANSWERS] were operated by France
[{'concept': 'Q3084961'}, 'P137', 'Q142']
SELECT DISTINCT ?m WHERE { ?m property:P137 resource:Q142 . ?m rdf:type ontology:Q3084961 }
T-33 Shooting Star Mirage 2000-5 Hawk 75
T-33 Shooting Star, Mirage 2000-5 and Hawk 75 were operated by France
T-33 Shooting Star Mirage 2000-5 Hawk 75
action filter_type
action find_reverse
entity France
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'France']
SELECT DISTINCT ?m WHERE { ?m property:operator resource:France . ?m rdf:type ontology:product_lining }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q58725 Q18012286 Q933767
P137
Q15617994
USER
Which administrative territories operate T-33 Shooting Star, Mirage 2000-5 and Hawk 75 ?
(Q58725,P137,c(Q15617994)) (Q18012286,P137,c(Q15617994)) (Q933767,P137,c(Q15617994))
action union
action filter_type
action find
entity Q58725
relation P137
type Q15617994
action filter_type
action find
entity Q18012286
relation P137
type Q15617994
action filter_type
action find
entity Q933767
relation P137
type Q15617994
['Q58725', 'P137', {'concept': 'Q15617994'}] ['Q18012286', 'P137', {'concept': 'Q15617994'}] ['Q933767', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?q ) { ( resource:Q58725 ) ( resource:Q18012286 ) } . ?q property:P137 ?x }
T-33 Shooting Star Mirage 2000-5 Hawk 75
action union
action filter_type
action find
entity T-33 Shooting Star
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity Mirage 2000-5
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity Hawk 75
relation operator
type designation for an administrative territorial entity
['T-33 Shooting Star', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['Mirage 2000-5', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['Hawk 75', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?q ) { ( resource:T-33_Shooting_Star ) ( resource:Mirage_2000-5 ) } . ?q property:operator ?x }
[]
designation for an administrative territorial entity
Q155 Q30 Q55
SYSTEM
Brazil, United States of America, Netherlands
Q739 Q142 Q792 Q298 Q31 Q750 Q142 Q142 Q20 Q45 Q55 Q145 Q155 Q794 Q33 Q419 Q30 Q668 Q869 Q414
(Q58725,P137,c(Q15617994)) (Q18012286,P137,c(Q15617994)) (Q933767,P137,c(Q15617994))
action union
action filter_type
action find
entity Q58725
relation P137
type Q15617994
action filter_type
action find
entity Q18012286
relation P137
type Q15617994
action filter_type
action find
entity Q933767
relation P137
type Q15617994
[ANSWERS] operate T-33 Shooting Star, Mirage 2000-5 and Hawk 75
['Q58725', 'P137', {'concept': 'Q15617994'}] ['Q18012286', 'P137', {'concept': 'Q15617994'}] ['Q933767', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?q ) { ( resource:Q58725 ) ( resource:Q18012286 ) } . ?q property:P137 ?x }
Colombia France El Salvador Chile Belgium Bolivia France France Norway Portugal Netherlands United Kingdom Brazil Iran Finland Peru United States of America India Thailand Argentina
Brazil, United States of America and Netherlands operate T-33 Shooting Star, Mirage 2000-5 and Hawk 75
Brazil United States of America Netherlands
action union
action filter_type
action find
entity T-33 Shooting Star
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity Mirage 2000-5
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity Hawk 75
relation operator
type designation for an administrative territorial entity
['T-33 Shooting Star', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['Mirage 2000-5', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['Hawk 75', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?q ) { ( resource:T-33_Shooting_Star ) ( resource:Mirage_2000-5 ) } . ?q property:operator ?x }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q30 Q55
P47
Q15617994
USER
Which administrative territories are bordered by Brazil, United States of America and Netherlands ?
(Q155,P47,c(Q15617994)) (Q30,P47,c(Q15617994)) (Q55,P47,c(Q15617994))
action union
action filter_type
action find
entity Q155
relation P47
type Q15617994
action filter_type
action find
entity Q30
relation P47
type Q15617994
action filter_type
action find
entity Q55
relation P47
type Q15617994
['Q155', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q15617994'}] ['Q55', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { ?y rdf:type ontology:Q15617994 . resource:Q30 property:P47 ?y } UNION { ?y rdf:type ontology:Q15617994 . resource:Q155 property:P47 ?y } }
Brazil United States of America Netherlands
action union
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Netherlands
relation shares border with
type designation for an administrative territorial entity
['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_of_America property:shares_border_with ?y } UNION { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brazil property:shares_border_with ?y } }
[]
designation for an administrative territorial entity
Q159 Q142 Q17
SYSTEM
Russia, France, Japan
Q739 Q142 Q717 Q730 Q733 Q734 Q419 Q77 Q414 Q750 Q702 Q804 Q159 Q683 Q96 Q786 Q241 Q17 Q710 Q717 Q678 Q790 Q31
(Q155,P47,c(Q15617994)) (Q30,P47,c(Q15617994)) (Q55,P47,c(Q15617994))
action union
action filter_type
action find
entity Q155
relation P47
type Q15617994
action filter_type
action find
entity Q30
relation P47
type Q15617994
action filter_type
action find
entity Q55
relation P47
type Q15617994
[ANSWERS] are bordered by Brazil, United States of America and Netherlands
['Q155', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q15617994'}] ['Q55', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { ?y rdf:type ontology:Q15617994 . resource:Q30 property:P47 ?y } UNION { ?y rdf:type ontology:Q15617994 . resource:Q155 property:P47 ?y } }
Colombia France Venezuela Suriname Paraguay Guyana Peru Uruguay Argentina Bolivia Federated States of Micronesia Panama Russia Samoa Mexico Dominican Republic Cuba Japan Kiribati Venezuela Tonga Haiti Belgium
Russia, France and Japan are bordered by Brazil, United States of America and Netherlands
Russia France Japan
action union
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Netherlands
relation shares border with
type designation for an administrative territorial entity
['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_of_America property:shares_border_with ?y } UNION { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brazil property:shares_border_with ?y } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q142
P108
Q502895
USER
Who works for that administrative territory ?
(c(Q502895),P108,Q142)
action filter_type
action find_reverse
entity Q142
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q142']
SELECT DISTINCT ?j WHERE { ?j property:P108 resource:Q142 . ?j rdf:type ontology:Q502895 }
France
action filter_type
action find_reverse
entity France
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'France']
SELECT DISTINCT ?j WHERE { ?j property:employer resource:France . ?j rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q142
SYSTEM
Did you mean France ?
Q159 Q142 Q17
(c(Q502895),P108,Q159) (c(Q502895),P108,Q142) (c(Q502895),P108,Q17)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q159'] [{'concept': 'Q502895'}, 'P108', 'Q142'] [{'concept': 'Q502895'}, 'P108', 'Q17']
SELECT DISTINCT ?j WHERE { ?j property:P108 resource:Q142 . ?j rdf:type ontology:Q502895 }
Russia France Japan
Did you mean France ?
France
[{'concept': 'common name'}, 'employer', 'Russia'] [{'concept': 'common name'}, 'employer', 'France'] [{'concept': 'common name'}, 'employer', 'Japan']
SELECT DISTINCT ?j WHERE { ?j property:employer resource:France . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P108,Q142)
[{'concept': 'Q502895'}, 'P108', 'Q142']
[{'concept': 'common name'}, 'employer', 'France']
[]
Q1352388
SYSTEM
François Thureau-Dangin
Q1352388
(c(Q502895),P108,Q142)
action filter_type
action find_reverse
entity Q142
relation P108
type Q502895
[ANSWER] works for that administrative territory
[{'concept': 'Q502895'}, 'P108', 'Q142']
SELECT DISTINCT ?j WHERE { ?j property:P108 resource:Q142 . ?j rdf:type ontology:Q502895 }
François Thureau-Dangin
François Thureau-Dangin works for that administrative territory
François Thureau-Dangin
action filter_type
action find_reverse
entity France
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'France']
SELECT DISTINCT ?j WHERE { ?j property:employer resource:France . ?j rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q744306
P144
Q15056995 Q2424752 Q3084961
USER
How many product linings are an extension less number of aircraft models and products than Ford Trimotor ?
(c(Q3084961),P144,c(Q15056995)|c(Q2424752))
action count
action less
action union
action find_tuple_counts
relation P144
type Q3084961
type Q15056995
action find_tuple_counts
relation P144
type Q3084961
type Q2424752
action count
action filter_multi_types
action find
entity Q744306
relation P144
type Q15056995
type Q2424752
[{'concept': 'Q3084961'}, 'P144', [{'concept': 'Q15056995'}, {'concept': 'Q2424752'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?z ) WHERE { { ?d rdf:type ontology:Q3084961 . ?o rdf:type ontology:Q15056995 . ?d property:P144 ?o } UNION { ?d property:P144 ?o . ?d rdf:type ontology:Q3084961 . ?o rdf:type ontology:Q2424752 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { { ?m rdf:type ontology:Q15056995 } UNION { ?m rdf:type ontology:Q2424752 } } . resource:Q744306 property:P144 ?m } } . FILTER ( ?z < ?w ) }
Ford Trimotor
action count
action less
action union
action find_tuple_counts
relation based on
type product lining
type aircraft model
action find_tuple_counts
relation based on
type product lining
type product
action count
action filter_multi_types
action find
entity Ford Trimotor
relation based on
type aircraft model
type product
[{'concept': 'product lining'}, 'based on', [{'concept': 'aircraft model'}, {'concept': 'product'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?z ) WHERE { { ?d rdf:type ontology:product_lining . ?o rdf:type ontology:aircraft_model . ?d property:based_on ?o } UNION { ?d property:based_on ?o . ?d rdf:type ontology:product_lining . ?o rdf:type ontology:product } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { { ?m rdf:type ontology:aircraft_model } UNION { ?m rdf:type ontology:product } } . resource:Ford_Trimotor property:based_on ?m } } . FILTER ( ?z < ?w ) }
[]
aircraft model product product lining
SYSTEM
42
Q19204641 Q1057203 Q7670624 Q648550 Q837405 Q19765990 Q18370461 Q19320782 Q18123719 Q15624359 Q2908499 Q21070563 Q18123732 Q815732 Q15624341 Q284767 Q18552386 Q19320865 Q39642 Q17975155 Q2909633 Q18015488 Q219629 Q40021 Q18560316 Q1573276 Q18520461 Q18560358 Q155490 Q1633021 Q19359135 Q21698651 Q18520914 Q962677 Q1759739 Q873261 Q19992097 Q15410360 Q544661 Q19320839 Q7887991 Q18015289
(c(Q3084961),P144,c(Q15056995)|c(Q2424752))
action count
action less
action union
action find_tuple_counts
relation P144
type Q3084961
type Q15056995
action find_tuple_counts
relation P144
type Q3084961
type Q2424752
action count
action filter_multi_types
action find
entity Q744306
relation P144
type Q15056995
type Q2424752
[ANSWER]
[{'concept': 'Q3084961'}, 'P144', [{'concept': 'Q15056995'}, {'concept': 'Q2424752'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?z ) WHERE { { ?d rdf:type ontology:Q3084961 . ?o rdf:type ontology:Q15056995 . ?d property:P144 ?o } UNION { ?d property:P144 ?o . ?d rdf:type ontology:Q3084961 . ?o rdf:type ontology:Q2424752 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { { ?m rdf:type ontology:Q15056995 } UNION { ?m rdf:type ontology:Q2424752 } } . resource:Q744306 property:P144 ?m } } . FILTER ( ?z < ?w ) }
FB Cessna 401/402 family Condor CAP-4 Paulistinha F-94 Starfire Viscount 700D Beech 19 ATR 72-200 HO4S Dash 8 Series 300 F3B F-16 Block 15OCU Fighting Falcon HRS P-63 Kingcobra Dash 8 Series 200 Venom Cessna 402C ATR 72-212A J-8 BC-1 Dash 8 Series 400 SNB AH-1 Cobra T-6 Texan He 51B J-21 Jastreb BFC Hawk He 51C P-3 Orion Lodestar DR300 SB2C-5 Helldiver F8C Falcon CRJ700/900/1000 DR400 Y-9 C-53 Skytrooper Ju 52/3m Rolladen-Schneider LS4 ATR 72-210 Ventus-2 F-2
42
action count
action less
action union
action find_tuple_counts
relation based on
type product lining
type aircraft model
action find_tuple_counts
relation based on
type product lining
type product
action count
action filter_multi_types
action find
entity Ford Trimotor
relation based on
type aircraft model
type product
[{'concept': 'product lining'}, 'based on', [{'concept': 'aircraft model'}, {'concept': 'product'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?z ) WHERE { { ?d rdf:type ontology:product_lining . ?o rdf:type ontology:aircraft_model . ?d property:based_on ?o } UNION { ?d property:based_on ?o . ?d rdf:type ontology:product_lining . ?o rdf:type ontology:product } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { { ?m rdf:type ontology:aircraft_model } UNION { ?m rdf:type ontology:product } } . resource:Ford_Trimotor property:based_on ?m } } . FILTER ( ?z < ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3080099
P144
Q15056995 Q2424752 Q3084961
USER
And also tell me about RF-5?
(c(Q3084961),P144,c(Q15056995)|c(Q2424752))
action count
action less
action union
action find_tuple_counts
relation P144
type Q3084961
type Q15056995
action find_tuple_counts
relation P144
type Q3084961
type Q2424752
action count
action filter_multi_types
action find
entity Q3080099
relation P144
type Q15056995
type Q2424752
[{'concept': 'Q3084961'}, 'P144', [{'concept': 'Q15056995'}, {'concept': 'Q2424752'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?b ) WHERE { { ?x property:P144 ?j . ?j rdf:type ontology:Q15056995 . ?x rdf:type ontology:Q3084961 } UNION { ?x property:P144 ?j . ?x rdf:type ontology:Q3084961 . ?j rdf:type ontology:Q2424752 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Q3080099 property:P144 ?k . { VALUES ( ?w ) { ( ontology:Q15056995 ) ( ontology:Q2424752 ) } . ?k rdf:type ?w } } } . FILTER ( ?b < ?o ) }
RF-5
action count
action less
action union
action find_tuple_counts
relation based on
type product lining
type aircraft model
action find_tuple_counts
relation based on
type product lining
type product
action count
action filter_multi_types
action find
entity RF-5
relation based on
type aircraft model
type product
[{'concept': 'product lining'}, 'based on', [{'concept': 'aircraft model'}, {'concept': 'product'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?b ) WHERE { { ?x property:based_on ?j . ?j rdf:type ontology:aircraft_model . ?x rdf:type ontology:product_lining } UNION { ?x property:based_on ?j . ?x rdf:type ontology:product_lining . ?j rdf:type ontology:product } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:RF-5 property:based_on ?k . { VALUES ( ?w ) { ( ontology:aircraft_model ) ( ontology:product ) } . ?k rdf:type ?w } } } . FILTER ( ?b < ?o ) }
[]
aircraft model product product lining
SYSTEM
42
Q19204641 Q1057203 Q7670624 Q648550 Q837405 Q19765990 Q18370461 Q19320782 Q18123719 Q15624359 Q2908499 Q21070563 Q18123732 Q815732 Q15624341 Q284767 Q18552386 Q19320865 Q39642 Q17975155 Q2909633 Q18015488 Q219629 Q40021 Q18560316 Q1573276 Q18520461 Q18560358 Q155490 Q1633021 Q19359135 Q21698651 Q18520914 Q962677 Q1759739 Q873261 Q19992097 Q15410360 Q544661 Q19320839 Q7887991 Q18015289
(c(Q3084961),P144,c(Q15056995)|c(Q2424752))
action count
action less
action union
action find_tuple_counts
relation P144
type Q3084961
type Q15056995
action find_tuple_counts
relation P144
type Q3084961
type Q2424752
action count
action filter_multi_types
action find
entity Q3080099
relation P144
type Q15056995
type Q2424752
[ANSWER]
[{'concept': 'Q3084961'}, 'P144', [{'concept': 'Q15056995'}, {'concept': 'Q2424752'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?b ) WHERE { { ?x property:P144 ?j . ?j rdf:type ontology:Q15056995 . ?x rdf:type ontology:Q3084961 } UNION { ?x property:P144 ?j . ?x rdf:type ontology:Q3084961 . ?j rdf:type ontology:Q2424752 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Q3080099 property:P144 ?k . { VALUES ( ?w ) { ( ontology:Q15056995 ) ( ontology:Q2424752 ) } . ?k rdf:type ?w } } } . FILTER ( ?b < ?o ) }
FB Cessna 401/402 family Condor CAP-4 Paulistinha F-94 Starfire Viscount 700D Beech 19 ATR 72-200 HO4S Dash 8 Series 300 F3B F-16 Block 15OCU Fighting Falcon HRS P-63 Kingcobra Dash 8 Series 200 Venom Cessna 402C ATR 72-212A J-8 BC-1 Dash 8 Series 400 SNB AH-1 Cobra T-6 Texan He 51B J-21 Jastreb BFC Hawk He 51C P-3 Orion Lodestar DR300 SB2C-5 Helldiver F8C Falcon CRJ700/900/1000 DR400 Y-9 C-53 Skytrooper Ju 52/3m Rolladen-Schneider LS4 ATR 72-210 Ventus-2 F-2
42
action count
action less
action union
action find_tuple_counts
relation based on
type product lining
type aircraft model
action find_tuple_counts
relation based on
type product lining
type product
action count
action filter_multi_types
action find
entity RF-5
relation based on
type aircraft model
type product
[{'concept': 'product lining'}, 'based on', [{'concept': 'aircraft model'}, {'concept': 'product'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?b ) WHERE { { ?x property:based_on ?j . ?j rdf:type ontology:aircraft_model . ?x rdf:type ontology:product_lining } UNION { ?x property:based_on ?j . ?x rdf:type ontology:product_lining . ?j rdf:type ontology:product } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:RF-5 property:based_on ?k . { VALUES ( ?w ) { ( ontology:aircraft_model ) ( ontology:product ) } . ?k rdf:type ?w } } } . FILTER ( ?b < ?o ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q18012318 Q18012286
P144
Q2424752
USER
Which products are Mirage 2000-5 and Mirage 2000EAD a fork of ?
AND((Q18012286,P144,c(Q2424752)), (Q18012318,P144,c(Q2424752)))
action filter_type
action intersection
action find
entity Q18012286
relation P144
action find
entity Q18012318
relation P144
type Q2424752
{'AND': [['Q18012286', 'P144', {'concept': 'Q2424752'}], ['Q18012318', 'P144', {'concept': 'Q2424752'}]]}
SELECT DISTINCT ?k WHERE { resource:Q18012318 property:P144 ?k . resource:Q18012286 property:P144 ?k . ?k rdf:type ontology:Q2424752 }
Mirage 2000EAD Mirage 2000-5
action filter_type
action intersection
action find
entity Mirage 2000-5
relation based on
action find
entity Mirage 2000EAD
relation based on
type product
{'AND': [['Mirage 2000-5', 'based on', {'concept': 'product'}], ['Mirage 2000EAD', 'based on', {'concept': 'product'}]]}
SELECT DISTINCT ?k WHERE { resource:Mirage_2000EAD property:based_on ?k . resource:Mirage_2000-5 property:based_on ?k . ?k rdf:type ontology:product }
[]
product
Q18011186
SYSTEM
Mirage 2000C
Q18011186
AND((Q18012286,P144,c(Q2424752)), (Q18012318,P144,c(Q2424752)))
action filter_type
action intersection
action find
entity Q18012286
relation P144
action find
entity Q18012318
relation P144
type Q2424752
And [ANSWER] is Mirage 2000-5 and Mirage 2000EAD a fork of
{'AND': [['Q18012286', 'P144', {'concept': 'Q2424752'}], ['Q18012318', 'P144', {'concept': 'Q2424752'}]]}
SELECT DISTINCT ?k WHERE { resource:Q18012318 property:P144 ?k . resource:Q18012286 property:P144 ?k . ?k rdf:type ontology:Q2424752 }
Mirage 2000C
And Mirage 2000C is Mirage 2000-5 and Mirage 2000EAD a fork of
Mirage 2000C
action filter_type
action intersection
action find
entity Mirage 2000-5
relation based on
action find
entity Mirage 2000EAD
relation based on
type product
{'AND': [['Mirage 2000-5', 'based on', {'concept': 'product'}], ['Mirage 2000EAD', 'based on', {'concept': 'product'}]]}
SELECT DISTINCT ?k WHERE { resource:Mirage_2000EAD property:based_on ?k . resource:Mirage_2000-5 property:based_on ?k . ?k rdf:type ontology:product }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P176
Q4830453 Q43229 Q3084961
USER
Which product linings were manufactured by max number of business enterprises and organizations ?
(c(Q3084961),P176,c(Q4830453)|c(Q43229))
action argmax
action union
action find_tuple_counts
relation P176
type Q3084961
type Q4830453
action find_tuple_counts
relation P176
type Q3084961
type Q43229
[{'concept': 'Q3084961'}, 'P176', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?m ) { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } } GROUP BY ?i } } . FILTER ( ?g = ?m ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } } GROUP BY ?l } }
action argmax
action union
action find_tuple_counts
relation manufacturer
type product lining
type business enterprise
action find_tuple_counts
relation manufacturer
type product lining
type organization
[{'concept': 'product lining'}, 'manufacturer', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?m ) { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:business_enterprise ) ( ontology:organization ) } } GROUP BY ?i } } . FILTER ( ?g = ?m ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:business_enterprise ) ( ontology:organization ) } } GROUP BY ?l } }
[]
business enterprise organization product lining
Q1591686 Q100026
SYSTEM
BAe 125, F-16 Fighting Falcon
Q1591686 Q100026
(c(Q3084961),P176,c(Q4830453)|c(Q43229))
action argmax
action union
action find_tuple_counts
relation P176
type Q3084961
type Q4830453
action find_tuple_counts
relation P176
type Q3084961
type Q43229
[ANSWERS] were manufactured by max number of business enterprises and organizations
[{'concept': 'Q3084961'}, 'P176', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?m ) { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } } GROUP BY ?i } } . FILTER ( ?g = ?m ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } } GROUP BY ?l } }
BAe 125 F-16 Fighting Falcon
BAe 125 and F-16 Fighting Falcon were manufactured by max number of business enterprises and organizations
BAe 125 F-16 Fighting Falcon
action argmax
action union
action find_tuple_counts
relation manufacturer
type product lining
type business enterprise
action find_tuple_counts
relation manufacturer
type product lining
type organization
[{'concept': 'product lining'}, 'manufacturer', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?m ) { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:business_enterprise ) ( ontology:organization ) } } GROUP BY ?i } } . FILTER ( ?g = ?m ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:business_enterprise ) ( ontology:organization ) } } GROUP BY ?l } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q33 Q142
P27
Q502895
USER
Which people are civilians of France and Finland ?
AND((c(Q502895),P27,Q142), (c(Q502895),P27,Q33))
action filter_type
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q33
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q142'], [{'concept': 'Q502895'}, 'P27', 'Q33']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P27 resource:Q142 . ?l property:P27 resource:Q33 }
Finland France
action filter_type
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Finland
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'France'], [{'concept': 'common name'}, 'country of citizenship', 'Finland']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:country_of_citizenship resource:France . ?l property:country_of_citizenship resource:Finland }
[]
common name
Q313199 Q15963036 Q932083 Q2463227 Q3299965
SYSTEM
Ari Vatanen, Odile Benyahia-Kouider, William Nylander, Olivia Merilahti, Matti Hietanen
Q313199 Q15963036 Q932083 Q2463227 Q3299965
AND((c(Q502895),P27,Q142), (c(Q502895),P27,Q33))
action filter_type
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q33
relation P27
type Q502895
[ANSWERS] are civilians of France and Finland
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q142'], [{'concept': 'Q502895'}, 'P27', 'Q33']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P27 resource:Q142 . ?l property:P27 resource:Q33 }
Ari Vatanen Odile Benyahia-Kouider William Nylander Olivia Merilahti Matti Hietanen
Ari Vatanen, Odile Benyahia-Kouider, William Nylander, Olivia Merilahti and Matti Hietanen are civilians of France and Finland
Ari Vatanen Odile Benyahia-Kouider William Nylander Olivia Merilahti Matti Hietanen
action filter_type
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Finland
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'France'], [{'concept': 'common name'}, 'country of citizenship', 'Finland']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:country_of_citizenship resource:France . ?l property:country_of_citizenship resource:Finland }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q313199 Q15963036 Q932083 Q2463227 Q3299965
P21
Q290
USER
Which sexes do Ari Vatanen, Odile Benyahia-Kouider, William Nylander, Olivia Merilahti and Matti Hietanen have ?
(Q313199,P21,c(Q290)) (Q15963036,P21,c(Q290)) (Q932083,P21,c(Q290)) (Q2463227,P21,c(Q290)) (Q3299965,P21,c(Q290))
action union
action filter_type
action find
entity Q313199
relation P21
type Q290
action filter_type
action find
entity Q15963036
relation P21
type Q290
action filter_type
action find
entity Q932083
relation P21
type Q290
action filter_type
action find
entity Q2463227
relation P21
type Q290
action filter_type
action find
entity Q3299965
relation P21
type Q290
['Q313199', 'P21', {'concept': 'Q290'}] ['Q15963036', 'P21', {'concept': 'Q290'}] ['Q932083', 'P21', {'concept': 'Q290'}] ['Q2463227', 'P21', {'concept': 'Q290'}] ['Q3299965', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?i ) { ( resource:Q313199 ) ( resource:Q15963036 ) } . ?i property:P21 ?n }
Ari Vatanen Odile Benyahia-Kouider William Nylander Olivia Merilahti Matti Hietanen
action union
action filter_type
action find
entity Ari Vatanen
relation gender
type sex
action filter_type
action find
entity Odile Benyahia-Kouider
relation gender
type sex
action filter_type
action find
entity William Nylander
relation gender
type sex
action filter_type
action find
entity Olivia Merilahti
relation gender
type sex
action filter_type
action find
entity Matti Hietanen
relation gender
type sex
['Ari Vatanen', 'gender', {'concept': 'sex'}] ['Odile Benyahia-Kouider', 'gender', {'concept': 'sex'}] ['William Nylander', 'gender', {'concept': 'sex'}] ['Olivia Merilahti', 'gender', {'concept': 'sex'}] ['Matti Hietanen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?i ) { ( resource:Ari_Vatanen ) ( resource:Odile_Benyahia-Kouider ) } . ?i property:gender ?n }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097 Q6581072 Q6581097
(Q313199,P21,c(Q290)) (Q15963036,P21,c(Q290)) (Q932083,P21,c(Q290)) (Q2463227,P21,c(Q290)) (Q3299965,P21,c(Q290))
action union
action filter_type
action find
entity Q313199
relation P21
type Q290
action filter_type
action find
entity Q15963036
relation P21
type Q290
action filter_type
action find
entity Q932083
relation P21
type Q290
action filter_type
action find
entity Q2463227
relation P21
type Q290
action filter_type
action find
entity Q3299965
relation P21
type Q290
[ANSWERS]
['Q313199', 'P21', {'concept': 'Q290'}] ['Q15963036', 'P21', {'concept': 'Q290'}] ['Q932083', 'P21', {'concept': 'Q290'}] ['Q2463227', 'P21', {'concept': 'Q290'}] ['Q3299965', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?i ) { ( resource:Q313199 ) ( resource:Q15963036 ) } . ?i property:P21 ?n }
male female male female male
Ari Vatanen , Odile Benyahia-Kouider , William Nylander , Olivia Merilahti and Matti Hietanen have been male, female and male
male female male
action union
action filter_type
action find
entity Ari Vatanen
relation gender
type sex
action filter_type
action find
entity Odile Benyahia-Kouider
relation gender
type sex
action filter_type
action find
entity William Nylander
relation gender
type sex
action filter_type
action find
entity Olivia Merilahti
relation gender
type sex
action filter_type
action find
entity Matti Hietanen
relation gender
type sex
['Ari Vatanen', 'gender', {'concept': 'sex'}] ['Odile Benyahia-Kouider', 'gender', {'concept': 'sex'}] ['William Nylander', 'gender', {'concept': 'sex'}] ['Olivia Merilahti', 'gender', {'concept': 'sex'}] ['Matti Hietanen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?i ) { ( resource:Ari_Vatanen ) ( resource:Odile_Benyahia-Kouider ) } . ?i property:gender ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q100026
P180
Q2342494
USER
Which collectable expressess F-16 Fighting Falcon ?
(c(Q2342494),P180,Q100026)
action filter_type
action find_reverse
entity Q100026
relation P180
type Q2342494
[{'concept': 'Q2342494'}, 'P180', 'Q100026']
SELECT DISTINCT ?o WHERE { ?o property:P180 resource:Q100026 . ?o rdf:type ontology:Q2342494 }
F-16 Fighting Falcon
action filter_type
action find_reverse
entity F-16 Fighting Falcon
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'F-16 Fighting Falcon']
SELECT DISTINCT ?o WHERE { ?o property:depicts resource:F-16_Fighting_Falcon . ?o rdf:type ontology:collectable }
[]
collectable
Q15054614
SYSTEM
General Dynamics F-16 Fighting Falcon
Q15054614
(c(Q2342494),P180,Q100026)
action filter_type
action find_reverse
entity Q100026
relation P180
type Q2342494
Aircraft [ANSWER] expressess F-16 Fighting Falcon
[{'concept': 'Q2342494'}, 'P180', 'Q100026']
SELECT DISTINCT ?o WHERE { ?o property:P180 resource:Q100026 . ?o rdf:type ontology:Q2342494 }
General Dynamics F-16 Fighting Falcon
Aircraft General Dynamics F-16 Fighting Falcon expressess F-16 Fighting Falcon
General Dynamics F-16 Fighting Falcon
action filter_type
action find_reverse
entity F-16 Fighting Falcon
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'F-16 Fighting Falcon']
SELECT DISTINCT ?o WHERE { ?o property:depicts resource:F-16_Fighting_Falcon . ?o rdf:type ontology:collectable }
[]