Simple Question (Direct)
Simple Question
Q5401180
P20
Q56061
USER
Where did the expiration of Esther Figueiredo Ferraz occur ?
(Q5401180,P20,c(Q56061))
action filter_type
action find
entity Q5401180
relation P20
type Q56061
['Q5401180', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q5401180 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Esther Figueiredo Ferraz
action filter_type
action find
entity Esther Figueiredo Ferraz
relation place of death
type administrative territorial entity
['Esther Figueiredo Ferraz', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Esther_Figueiredo_Ferraz property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q174
SYSTEM
São Paulo
Q174
(Q5401180,P20,c(Q56061))
action filter_type
action find
entity Q5401180
relation P20
type Q56061
The expiration of Esther Figueiredo Ferraz occurred in [ANSWER]
['Q5401180', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q5401180 property:P20 ?p . ?p rdf:type ontology:Q56061 }
São Paulo
The expiration of Esther Figueiredo Ferraz occurred in São Paulo
São Paulo
action filter_type
action find
entity Esther Figueiredo Ferraz
relation place of death
type administrative territorial entity
['Esther Figueiredo Ferraz', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Esther_Figueiredo_Ferraz property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5401180
P69
Q3918
USER
Which university is the alma mater of that person ?
(Q174,P69,c(Q3918))
action filter_type
action find
entity Q5401180
relation P69
type Q3918
['Q174', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q3918 . resource:Q5401180 property:P69 ?e }
Esther Figueiredo Ferraz
action filter_type
action find
entity Esther Figueiredo Ferraz
relation educated at
type university
['São Paulo', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:university . resource:Esther_Figueiredo_Ferraz property:educated_at ?e }
[]
university
Q2667184
SYSTEM
Faculdade de Direito da Universidade de São Paulo
Q2667184
(Q174,P69,c(Q3918))
action filter_type
action find
entity Q5401180
relation P69
type Q3918
[ANSWER] is the alma mater of that person
['Q174', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q3918 . resource:Q5401180 property:P69 ?e }
Faculdade de Direito da Universidade de São Paulo
Faculdade de Direito da Universidade de São Paulo is the alma mater of that person
Faculdade de Direito da Universidade de São Paulo
action filter_type
action find
entity Esther Figueiredo Ferraz
relation educated at
type university
['São Paulo', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:university . resource:Esther_Figueiredo_Ferraz property:educated_at ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174
P138
Q2235308
USER
Which ship types are named after São Paulo ?
(c(Q2235308),P138,Q174)
action filter_type
action find_reverse
entity Q174
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q174']
SELECT DISTINCT ?y WHERE { ?y property:P138 resource:Q174 . ?y rdf:type ontology:Q2235308 }
São Paulo
action filter_type
action find_reverse
entity São Paulo
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'São Paulo']
SELECT DISTINCT ?y WHERE { ?y property:named_after resource:São_Paulo . ?y rdf:type ontology:ship_type }
[]
ship type
Q9542 Q9561
SYSTEM
Minas Geraes-class battleship, Brazilian battleship São Paulo
Q9542 Q9561
(c(Q2235308),P138,Q174)
action filter_type
action find_reverse
entity Q174
relation P138
type Q2235308
As [ANSWERS] are named after São Paulo
[{'concept': 'Q2235308'}, 'P138', 'Q174']
SELECT DISTINCT ?y WHERE { ?y property:P138 resource:Q174 . ?y rdf:type ontology:Q2235308 }
Minas Geraes-class battleship Brazilian battleship São Paulo
As Minas Geraes-class battleship and Brazilian battleship São Paulo are named after São Paulo
Minas Geraes-class battleship Brazilian battleship São Paulo
action filter_type
action find_reverse
entity São Paulo
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'São Paulo']
SELECT DISTINCT ?y WHERE { ?y property:named_after resource:São_Paulo . ?y rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q9542 Q9561
P137
Q781132
USER
Who manages Minas Geraes-class battleship and Brazilian battleship São Paulo ?
(Q9542,P137,c(Q781132)) (Q9561,P137,c(Q781132))
action union
action filter_type
action find
entity Q9542
relation P137
type Q781132
action filter_type
action find
entity Q9561
relation P137
type Q781132
['Q9542', 'P137', {'concept': 'Q781132'}] ['Q9561', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?u ) { ( resource:Q9542 ) ( resource:Q9561 ) } . ?u property:P137 ?x }
Minas Geraes-class battleship Brazilian battleship São Paulo
action union
action filter_type
action find
entity Minas Geraes-class battleship
relation operator
type military branch
action filter_type
action find
entity Brazilian battleship São Paulo
relation operator
type military branch
['Minas Geraes-class battleship', 'operator', {'concept': 'military branch'}] ['Brazilian battleship São Paulo', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?u ) { ( resource:Minas_Geraes-class_battleship ) ( resource:Brazilian_battleship_São_Paulo ) } . ?u property:operator ?x }
[]
military branch
Q1750688 Q1750688
SYSTEM
Brazilian Navy
Q1750688 Q1750688
(Q9542,P137,c(Q781132)) (Q9561,P137,c(Q781132))
action union
action filter_type
action find
entity Q9542
relation P137
type Q781132
action filter_type
action find
entity Q9561
relation P137
type Q781132
[ANSWER] and [ANSWER] manage Minas Geraes-class battleship and Brazilian battleship São Paulo
['Q9542', 'P137', {'concept': 'Q781132'}] ['Q9561', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?u ) { ( resource:Q9542 ) ( resource:Q9561 ) } . ?u property:P137 ?x }
Brazilian Navy Brazilian Navy
Brazilian Navy and Brazilian Navy manage Minas Geraes-class battleship and Brazilian battleship São Paulo
Brazilian Navy Brazilian Navy
action union
action filter_type
action find
entity Minas Geraes-class battleship
relation operator
type military branch
action filter_type
action find
entity Brazilian battleship São Paulo
relation operator
type military branch
['Minas Geraes-class battleship', 'operator', {'concept': 'military branch'}] ['Brazilian battleship São Paulo', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?u ) { ( resource:Minas_Geraes-class_battleship ) ( resource:Brazilian_battleship_São_Paulo ) } . ?u property:operator ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174
P30
Q2221906
USER
Which geographic location is São Paulo located in ?
(Q174,P30,c(Q2221906))
action filter_type
action find
entity Q174
relation P30
type Q2221906
['Q174', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { resource:Q174 property:P30 ?b . ?b rdf:type ontology:Q2221906 }
São Paulo
action filter_type
action find
entity São Paulo
relation continent
type geographic location
['São Paulo', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { resource:São_Paulo property:continent ?b . ?b rdf:type ontology:geographic_location }
[]
geographic location
Q18
SYSTEM
South America
Q18
(Q174,P30,c(Q2221906))
action filter_type
action find
entity Q174
relation P30
type Q2221906
Which geographic location is São Paulo located in
['Q174', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { resource:Q174 property:P30 ?b . ?b rdf:type ontology:Q2221906 }
South America
Which geographic location is São Paulo located in
South America
action filter_type
action find
entity São Paulo
relation continent
type geographic location
['São Paulo', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { resource:São_Paulo property:continent ?b . ?b rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18
P376
Q16889133
USER
Which class is that geographic location situated on ?
(Q18,P376,c(Q16889133))
action filter_type
action find
entity Q18
relation P376
type Q16889133
['Q18', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?j WHERE { resource:Q18 property:P376 ?j . ?j rdf:type ontology:Q16889133 }
South America
action filter_type
action find
entity South America
relation located on astronomical body
type class
['South America', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?j WHERE { resource:South_America property:located_on_astronomical_body ?j . ?j rdf:type ontology:class }
[]
class
Q2
SYSTEM
Earth
Q2
(Q18,P376,c(Q16889133))
action filter_type
action find
entity Q18
relation P376
type Q16889133
That geographic location is situated on [ANSWER]
['Q18', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?j WHERE { resource:Q18 property:P376 ?j . ?j rdf:type ontology:Q16889133 }
Earth
That geographic location is situated on Earth
Earth
action filter_type
action find
entity South America
relation located on astronomical body
type class
['South America', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?j WHERE { resource:South_America property:located_on_astronomical_body ?j . ?j rdf:type ontology:class }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P138
Q2775969 Q392399
USER
How many fictional planets or Tactical ballistic missiles have that class as their toponym ?
(c(Q2775969),P138,Q2) (c(Q392399),P138,Q2) (c(Q2775969),P138,Q2) (c(Q392399),P138,Q2)
action count
action union
action filter_type
action find_reverse
entity Q2
relation P138
type Q2775969
action filter_type
action find_reverse
entity Q2
relation P138
type Q392399
[{'concept': 'Q2775969'}, 'P138', 'Q2'] [{'concept': 'Q392399'}, 'P138', 'Q2'] [{'concept': 'Q2775969'}, 'P138', 'Q2'] [{'concept': 'Q392399'}, 'P138', 'Q2']
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:Q392399 ) ( ontology:Q2775969 ) } }
action count
action union
action filter_type
action find_reverse
entity Earth
relation named after
type fictional planet
action filter_type
action find_reverse
entity Earth
relation named after
type Tactical ballistic missile
[{'concept': 'fictional planet'}, 'named after', 'Earth'] [{'concept': 'Tactical ballistic missile'}, 'named after', 'Earth'] [{'concept': 'fictional planet'}, 'named after', 'Earth'] [{'concept': 'Tactical ballistic missile'}, 'named after', 'Earth']
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:Tactical_ballistic_missile ) ( ontology:fictional_planet ) } }
[]
fictional planet Tactical ballistic missile
SYSTEM
2
Q18030343 Q7273245
(c(Q2775969),P138,Q2) (c(Q392399),P138,Q2) (c(Q2775969),P138,Q2) (c(Q392399),P138,Q2)
action count
action union
action filter_type
action find_reverse
entity Q2
relation P138
type Q2775969
action filter_type
action find_reverse
entity Q2
relation P138
type Q392399
[ANSWER]
[{'concept': 'Q2775969'}, 'P138', 'Q2'] [{'concept': 'Q392399'}, 'P138', 'Q2'] [{'concept': 'Q2775969'}, 'P138', 'Q2'] [{'concept': 'Q392399'}, 'P138', 'Q2']
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:Q392399 ) ( ontology:Q2775969 ) } }
New Earth R-11 Zemlya
2
action count
action union
action filter_type
action find_reverse
entity Earth
relation named after
type fictional planet
action filter_type
action find_reverse
entity Earth
relation named after
type Tactical ballistic missile
[{'concept': 'fictional planet'}, 'named after', 'Earth'] [{'concept': 'Tactical ballistic missile'}, 'named after', 'Earth'] [{'concept': 'fictional planet'}, 'named after', 'Earth'] [{'concept': 'Tactical ballistic missile'}, 'named after', 'Earth']
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:Tactical_ballistic_missile ) ( ontology:fictional_planet ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q17404781
P121
Q20027951 Q2424752 Q781132
USER
How many military branches are responsible for management of greater number of aircraft power classes and products than Afghan Special Mission Wing ?
(c(Q781132),P121,c(Q20027951)|c(Q2424752))
action count
action greater
action union
action find_tuple_counts
relation P121
type Q781132
type Q20027951
action find_tuple_counts
relation P121
type Q781132
type Q2424752
action count
action filter_multi_types
action find
entity Q17404781
relation P121
type Q20027951
type Q2424752
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q20027951'}, {'concept': 'Q2424752'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?l WHERE { { ?l property:P121 ?t . ?l rdf:type ontology:Q781132 . ?t rdf:type ontology:Q20027951 } UNION { ?l rdf:type ontology:Q781132 . ?t rdf:type ontology:Q2424752 . ?l property:P121 ?t } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q17404781 property:P121 ?f . { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:Q20027951 ) ( ontology:Q2424752 ) } } } } . FILTER ( ?y > ?c ) }
Afghan Special Mission Wing
action count
action greater
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft power class
action find_tuple_counts
relation item operated
type military branch
type product
action count
action filter_multi_types
action find
entity Afghan Special Mission Wing
relation item operated
type aircraft power class
type product
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft power class'}, {'concept': 'product'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?l WHERE { { ?l property:item_operated ?t . ?l rdf:type ontology:military_branch . ?t rdf:type ontology:aircraft_power_class } UNION { ?l rdf:type ontology:military_branch . ?t rdf:type ontology:product . ?l property:item_operated ?t } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Afghan_Special_Mission_Wing property:item_operated ?f . { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:aircraft_power_class ) ( ontology:product ) } } } } . FILTER ( ?y > ?c ) }
[]
aircraft power class product military branch
SYSTEM
2
Q4419309 Q569328
(c(Q781132),P121,c(Q20027951)|c(Q2424752))
action count
action greater
action union
action find_tuple_counts
relation P121
type Q781132
type Q20027951
action find_tuple_counts
relation P121
type Q781132
type Q2424752
action count
action filter_multi_types
action find
entity Q17404781
relation P121
type Q20027951
type Q2424752
[ANSWER]
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q20027951'}, {'concept': 'Q2424752'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?l WHERE { { ?l property:P121 ?t . ?l rdf:type ontology:Q781132 . ?t rdf:type ontology:Q20027951 } UNION { ?l rdf:type ontology:Q781132 . ?t rdf:type ontology:Q2424752 . ?l property:P121 ?t } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q17404781 property:P121 ?f . { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:Q20027951 ) ( ontology:Q2424752 ) } } } } . FILTER ( ?y > ?c ) }
Kazakh Air and Air Defence Forces Air Force and Anti-Air Defence Brigade
2
action count
action greater
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft power class
action find_tuple_counts
relation item operated
type military branch
type product
action count
action filter_multi_types
action find
entity Afghan Special Mission Wing
relation item operated
type aircraft power class
type product
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft power class'}, {'concept': 'product'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?l WHERE { { ?l property:item_operated ?t . ?l rdf:type ontology:military_branch . ?t rdf:type ontology:aircraft_power_class } UNION { ?l rdf:type ontology:military_branch . ?t rdf:type ontology:product . ?l property:item_operated ?t } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Afghan_Special_Mission_Wing property:item_operated ?f . { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:aircraft_power_class ) ( ontology:product ) } } } } . FILTER ( ?y > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q356359
P121
Q20027951 Q2424752 Q781132
USER
And how about Indian Navy?
(c(Q781132),P121,c(Q20027951)|c(Q2424752))
action count
action greater
action union
action find_tuple_counts
relation P121
type Q781132
type Q20027951
action find_tuple_counts
relation P121
type Q781132
type Q2424752
action count
action filter_multi_types
action find
entity Q356359
relation P121
type Q20027951
type Q2424752
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q20027951'}, {'concept': 'Q2424752'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?p property:P121 ?j . ?p rdf:type ontology:Q781132 . ?j rdf:type ontology:Q20027951 } UNION { ?p property:P121 ?j . ?p rdf:type ontology:Q781132 . ?j rdf:type ontology:Q2424752 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { { ?y rdf:type ontology:Q20027951 } UNION { ?y rdf:type ontology:Q2424752 } } . resource:Q356359 property:P121 ?y } } . FILTER ( ?r > ?u ) }
Indian Navy
action count
action greater
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft power class
action find_tuple_counts
relation item operated
type military branch
type product
action count
action filter_multi_types
action find
entity Indian Navy
relation item operated
type aircraft power class
type product
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft power class'}, {'concept': 'product'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?p property:item_operated ?j . ?p rdf:type ontology:military_branch . ?j rdf:type ontology:aircraft_power_class } UNION { ?p property:item_operated ?j . ?p rdf:type ontology:military_branch . ?j rdf:type ontology:product } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { { ?y rdf:type ontology:aircraft_power_class } UNION { ?y rdf:type ontology:product } } . resource:Indian_Navy property:item_operated ?y } } . FILTER ( ?r > ?u ) }
[]
aircraft power class product military branch
SYSTEM
7
Q17404781 Q4419309 Q172771 Q3293231 Q1322103 Q17049310 Q569328
(c(Q781132),P121,c(Q20027951)|c(Q2424752))
action count
action greater
action union
action find_tuple_counts
relation P121
type Q781132
type Q20027951
action find_tuple_counts
relation P121
type Q781132
type Q2424752
action count
action filter_multi_types
action find
entity Q356359
relation P121
type Q20027951
type Q2424752
[ANSWER]
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q20027951'}, {'concept': 'Q2424752'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?p property:P121 ?j . ?p rdf:type ontology:Q781132 . ?j rdf:type ontology:Q20027951 } UNION { ?p property:P121 ?j . ?p rdf:type ontology:Q781132 . ?j rdf:type ontology:Q2424752 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { { ?y rdf:type ontology:Q20027951 } UNION { ?y rdf:type ontology:Q2424752 } } . resource:Q356359 property:P121 ?y } } . FILTER ( ?r > ?u ) }
Afghan Special Mission Wing Kazakh Air and Air Defence Forces Royal Navy Bangladesh Navy Spanish Army Angolan Navy Air Force and Anti-Air Defence Brigade
7
action count
action greater
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft power class
action find_tuple_counts
relation item operated
type military branch
type product
action count
action filter_multi_types
action find
entity Indian Navy
relation item operated
type aircraft power class
type product
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft power class'}, {'concept': 'product'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?p property:item_operated ?j . ?p rdf:type ontology:military_branch . ?j rdf:type ontology:aircraft_power_class } UNION { ?p property:item_operated ?j . ?p rdf:type ontology:military_branch . ?j rdf:type ontology:product } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { { ?y rdf:type ontology:aircraft_power_class } UNION { ?y rdf:type ontology:product } } . resource:Indian_Navy property:item_operated ?y } } . FILTER ( ?r > ?u ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q2198855 Q234460
USER
Which people were atmost 1 cultural movements or texts inspired by ?
(c(Q2198855)|c(Q234460),P941,c(Q502895))
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2198855
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
value 1
[[{'concept': 'Q2198855'}, {'concept': 'Q234460'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?m WHERE { { ?i property:P941 ?m . ?m rdf:type ontology:Q502895 . ?i rdf:type ontology:Q2198855 } UNION { ?i property:P941 ?m . ?m rdf:type ontology:Q502895 . ?i rdf:type ontology:Q234460 } } GROUP BY ?m } . FILTER ( ?z <= 1 ) }
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type cultural movement
action find_reverse_tuple_counts
relation inspired by
type common name
type text
value 1
[[{'concept': 'cultural movement'}, {'concept': 'text'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?m WHERE { { ?i property:inspired_by ?m . ?m rdf:type ontology:common_name . ?i rdf:type ontology:cultural_movement } UNION { ?i property:inspired_by ?m . ?m rdf:type ontology:common_name . ?i rdf:type ontology:text } } GROUP BY ?m } . FILTER ( ?z <= 1 ) }
[]
common name cultural movement text
Q8016 Q352 Q1744
SYSTEM
Winston Churchill, Adolf Hitler, Madonna
Q207939 Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q19526 Q58801 Q129308 Q42305 Q558333 Q207447 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q30755 Q37693 Q712955 Q302650 Q666171 Q531161 Q5383 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q5361548 Q312502 Q2864567 Q154545 Q5534471 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q7836 Q5594 Q538158 Q3984877 Q3741372 Q1508997 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q156268 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q5577 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q123075 Q835175 Q229432 Q123071 Q229437 Q44272 Q94002 Q49285 Q27429917 Q1744 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q5589 Q296 Q527735 Q352954 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q550426 Q356129 Q3925 Q34851 Q25328 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 Q205365 Q624868 Q1953018 Q983352 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q471023 Q5432 Q2412941 Q297816 Q1896700 Q156622 Q354832 Q3525855 Q159907 Q210447 Q2373032 Q1401 Q3719992 Q199369 Q2110873 Q192222 Q83155 Q2965760 Q193406 Q3385369 Q733965 Q2409128 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q2198855)|c(Q234460),P941,c(Q502895))
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2198855
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
value 1
[ANSWERS] were atmost 1 cultural movements or texts inspired by
[[{'concept': 'Q2198855'}, {'concept': 'Q234460'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?m WHERE { { ?i property:P941 ?m . ?m rdf:type ontology:Q502895 . ?i rdf:type ontology:Q2198855 } UNION { ?i property:P941 ?m . ?m rdf:type ontology:Q502895 . ?i rdf:type ontology:Q234460 } } GROUP BY ?m } . FILTER ( ?z <= 1 ) }
Alexander McQueen Walter O'Brien Jean Auguste Dominique Ingres Sherri Stoner Joan Crawford Allan Kaprow Thomas Cole Mel Gibson Donna Atwood Maya Angelou Conrad Veidt John of England Richard I of England Buddy Hackett Jean-Baptiste-Siméon Chardin Allan Ramsay Paul Cézanne Charmaine Craig Dick Jones Natalie Wood Jean Harlow Joe Grant Auguste Rodin Paul Gauguin Bobby Driscoll Tate Donovan John Marin Elizabeth Kenny David Bowie Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Vlad Tepes Audrey Hepburn Elisabeth Scott Fiorello H. La Guardia Art Stevens Léopold Sédar Senghor Geoffrey Bowers Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir René Magritte Antonello da Messina Balthasar Denner Jeffrey Stone Armand d'Athos Georges Manolescu Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Pierre Bourdieu Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Salvador Dalí Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas Andrés López Muñoz Spring Byington Tom Cruise Jennifer Connelly Christy Turlington Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Madge Blake Steve Carlson Cab Calloway Bahram V Karl Marx François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Isadora Duncan Robert Walser Bernard Levin Lucretia Arnold Böcklin Donatella Versace Michel Foucault Barbara Stanwyck Sally Ride Michelle Stacy Madonna Ramesses II Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Ralph Fiennes Henri Matisse Claude Monet Cedric Hardwicke Carel Fabritius Paul Collins John Culhane Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Mary Wickes Jeffrey Katzenberg John Stamos Grace Kelly Elizabeth Taylor Antoni Gaudí Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams Cain Charles Sheeler Pratibha Ray Il Pordenone Tallulah Bankhead Donnie Dunagan Margaret Kerry Alyssa Milano Christopher Newport Jimmy Durante Francisco de Goya The Fox and the Cat Sammy Davis, Jr. Marian Wright Edelman Giorgio de Chirico Pieter Claesz T. Hee David Hockney Mark Hamill Pierre Gringoire Petrarch Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Lysippos Jacques-Louis David Christiane Faure Pocahontas Pierre Guillaume Jack Carlson Dušan Popov Eastman Johnson Cathy McGowan Gale Sondergaard Rhoda Williams Ray Ventura Ed Kemmer Maila Nurmi Django Reinhardt Floris van Dyck Chief Powhatan
Winston Churchill, Adolf Hitler and Madonna were atmost 1 cultural movements or texts inspired by
Winston Churchill Adolf Hitler Madonna
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type cultural movement
action find_reverse_tuple_counts
relation inspired by
type common name
type text
value 1
[[{'concept': 'cultural movement'}, {'concept': 'text'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?m WHERE { { ?i property:inspired_by ?m . ?m rdf:type ontology:common_name . ?i rdf:type ontology:cultural_movement } UNION { ?i property:inspired_by ?m . ?m rdf:type ontology:common_name . ?i rdf:type ontology:text } } GROUP BY ?m } . FILTER ( ?z <= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21499588 Q9561
P119 P176
Q43229
USER
Which organizations are the producer of Brazilian battleship São Paulo or were Tadeusz Nowierski buried ?
OR((Q9561,P176,c(Q43229)), (Q21499588,P119,c(Q43229)))
action filter_type
action union
action find
entity Q9561
relation P176
action find
entity Q21499588
relation P119
type Q43229
{'OR': [['Q9561', 'P176', {'concept': 'Q43229'}], ['Q21499588', 'P119', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q9561 property:P176 ?t } UNION { resource:Q21499588 property:P119 ?t } } . ?t rdf:type ontology:Q43229 }
Tadeusz Nowierski Brazilian battleship São Paulo
action filter_type
action union
action find
entity Brazilian battleship São Paulo
relation manufacturer
action find
entity Tadeusz Nowierski
relation place of burial
type organization
{'OR': [['Brazilian battleship São Paulo', 'manufacturer', {'concept': 'organization'}], ['Tadeusz Nowierski', 'place of burial', {'concept': 'organization'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Brazilian_battleship_São_Paulo property:manufacturer ?t } UNION { resource:Tadeusz_Nowierski property:place_of_burial ?t } } . ?t rdf:type ontology:organization }
[]
organization
Q13220673 Q168886
SYSTEM
Vickers, Powązki Cemetery
Q13220673 Q168886
OR((Q9561,P176,c(Q43229)), (Q21499588,P119,c(Q43229)))
action filter_type
action union
action find
entity Q9561
relation P176
action find
entity Q21499588
relation P119
type Q43229
[ANSWERS] are the producer of Brazilian battleship São Paulo or were Tadeusz Nowierski buried
{'OR': [['Q9561', 'P176', {'concept': 'Q43229'}], ['Q21499588', 'P119', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q9561 property:P176 ?t } UNION { resource:Q21499588 property:P119 ?t } } . ?t rdf:type ontology:Q43229 }
Vickers Powązki Cemetery
Vickers and Powązki Cemetery are the producer of Brazilian battleship São Paulo or were Tadeusz Nowierski buried
Vickers Powązki Cemetery
action filter_type
action union
action find
entity Brazilian battleship São Paulo
relation manufacturer
action find
entity Tadeusz Nowierski
relation place of burial
type organization
{'OR': [['Brazilian battleship São Paulo', 'manufacturer', {'concept': 'organization'}], ['Tadeusz Nowierski', 'place of burial', {'concept': 'organization'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Brazilian_battleship_São_Paulo property:manufacturer ?t } UNION { resource:Tadeusz_Nowierski property:place_of_burial ?t } } . ?t rdf:type ontology:organization }
[]