Simple Question (Direct)
Simple Question
Q1506583
P21
Q290
USER
What is the sex of Georg von Eisenhart-Rothe ?
(Q1506583,P21,c(Q290))
action filter_type
action find
entity Q1506583
relation P21
type Q290
['Q1506583', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1506583 property:P21 ?k . ?k rdf:type ontology:Q290 }
Georg von Eisenhart-Rothe
action filter_type
action find
entity Georg von Eisenhart-Rothe
relation gender
type sex
['Georg von Eisenhart-Rothe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Georg_von_Eisenhart-Rothe property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1506583,P21,c(Q290))
action filter_type
action find
entity Q1506583
relation P21
type Q290
The sex of Georg von Eisenhart-Rothe is the [ANSWER]
['Q1506583', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1506583 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of Georg von Eisenhart-Rothe is the male
male
action filter_type
action find
entity Georg von Eisenhart-Rothe
relation gender
type sex
['Georg von Eisenhart-Rothe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Georg_von_Eisenhart-Rothe property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P138
Q7946
USER
Which minerals have that sex as their namesake ?
(c(Q7946),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
[{'concept': 'Q7946'}, 'P138', 'Q6581097']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7946 . ?k property:P138 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation named after
type mineral
[{'concept': 'mineral'}, 'named after', 'male']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:mineral . ?k property:named_after resource:male }
[]
mineral
Q19861020 Q19861231 Q4006570
SYSTEM
mendeleevite-(Ce), reynoldsite, urusovite
Q19861020 Q18375263 Q19862060 Q19861231 Q4006570 Q3565842 Q19833301
(c(Q7946),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
[ANSWERS] have that sex as their namesake
[{'concept': 'Q7946'}, 'P138', 'Q6581097']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7946 . ?k property:P138 resource:Q6581097 }
mendeleevite-(Ce) billwiseite witzkeite reynoldsite urusovite zirkelite carlosbarbosaite
Mendeleevite-(Ce), reynoldsite and urusovite have that sex as their namesake
mendeleevite-(Ce) reynoldsite urusovite
action filter_type
action find_reverse
entity male
relation named after
type mineral
[{'concept': 'mineral'}, 'named after', 'male']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:mineral . ?k property:named_after resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1506583
P102
Q7210356
USER
Which party does Georg von Eisenhart-Rothe belong to ?
(Q1506583,P102,c(Q7210356))
action filter_type
action find
entity Q1506583
relation P102
type Q7210356
['Q1506583', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q1506583 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Georg von Eisenhart-Rothe
action filter_type
action find
entity Georg von Eisenhart-Rothe
relation member of political party
type political organization
['Georg von Eisenhart-Rothe', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Georg_von_Eisenhart-Rothe property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
political organization
Q458791
SYSTEM
German Conservative Party
Q458791
(Q1506583,P102,c(Q7210356))
action filter_type
action find
entity Q1506583
relation P102
type Q7210356
Georg von Eisenhart-Rothe belongs to [ANSWER]
['Q1506583', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q1506583 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
German Conservative Party
Georg von Eisenhart-Rothe belongs to German Conservative Party
German Conservative Party
action filter_type
action find
entity Georg von Eisenhart-Rothe
relation member of political party
type political organization
['Georg von Eisenhart-Rothe', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Georg_von_Eisenhart-Rothe property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5710953
Q7210356
USER
And what about Heman A. Moore?
(Q5710953,P102,c(Q7210356))
action filter_type
action find
entity Q5710953
relation P102
type Q7210356
['Q5710953', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q5710953 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Heman A. Moore
action filter_type
action find
entity Heman A. Moore
relation member of political party
type political organization
['Heman A. Moore', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Heman_A._Moore property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q5710953,P102,c(Q7210356))
action filter_type
action find
entity Q5710953
relation P102
type Q7210356
[ANSWER]
['Q5710953', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q5710953 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Democratic Party
Democratic Party
action filter_type
action find
entity Heman A. Moore
relation member of political party
type political organization
['Heman A. Moore', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Heman_A._Moore property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q7210356 Q1190554 Q874405
USER
How many political organizations are greater number of events or social groups a portion of than that political organization ?
(c(Q1190554)|c(Q874405),P361,c(Q7210356))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q7210356
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q7210356
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q29552
relation P361
type Q1190554
type Q874405
[[{'concept': 'Q1190554'}, {'concept': 'Q874405'}], 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?g ) WHERE { VALUES ( ?n ) { ( ontology:Q1190554 ) ( ontology:Q874405 ) } . ?w rdf:type ?n } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P361 resource:Q29552 . { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1190554 ) ( ontology:Q874405 ) } } } } . FILTER ( ?g > ?m ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type political organization
type event
action find_reverse_tuple_counts
relation part of
type political organization
type social group
action count
action filter_multi_types
action find_reverse
entity Democratic Party
relation part of
type event
type social group
[[{'concept': 'event'}, {'concept': 'social group'}], 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?g ) WHERE { VALUES ( ?n ) { ( ontology:event ) ( ontology:social_group ) } . ?w rdf:type ?n } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:part_of resource:Democratic_Party . { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:event ) ( ontology:social_group ) } } } } . FILTER ( ?g > ?m ) }
[]
political organization event social group
SYSTEM
4
Q249960 Q273749 Q581259 Q10225
(c(Q1190554)|c(Q874405),P361,c(Q7210356))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q7210356
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q7210356
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q29552
relation P361
type Q1190554
type Q874405
[ANSWER]
[[{'concept': 'Q1190554'}, {'concept': 'Q874405'}], 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?g ) WHERE { VALUES ( ?n ) { ( ontology:Q1190554 ) ( ontology:Q874405 ) } . ?w rdf:type ?n } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P361 resource:Q29552 . { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1190554 ) ( ontology:Q874405 ) } } } } . FILTER ( ?g > ?m ) }
Chouannerie Christian Democratic Appeal Socialist Party USA Indian National Congress
4
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type political organization
type event
action find_reverse_tuple_counts
relation part of
type political organization
type social group
action count
action filter_multi_types
action find_reverse
entity Democratic Party
relation part of
type event
type social group
[[{'concept': 'event'}, {'concept': 'social group'}], 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?g ) WHERE { VALUES ( ?n ) { ( ontology:event ) ( ontology:social_group ) } . ?w rdf:type ?n } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:part_of resource:Democratic_Party . { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:event ) ( ontology:social_group ) } } } } . FILTER ( ?g > ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29552
P112
Q502895
USER
Which person was the founder of Democratic Party ?
(Q29552,P112,c(Q502895))
action filter_type
action find
entity Q29552
relation P112
type Q502895
['Q29552', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q29552 property:P112 ?j . ?j rdf:type ontology:Q502895 }
Democratic Party
action filter_type
action find
entity Democratic Party
relation founder
type common name
['Democratic Party', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Democratic_Party property:founder ?j . ?j rdf:type ontology:common_name }
[]
common name
Q11817
SYSTEM
Andrew Jackson
Q11817
(Q29552,P112,c(Q502895))
action filter_type
action find
entity Q29552
relation P112
type Q502895
[ANSWER] was the founder of Democratic Party
['Q29552', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q29552 property:P112 ?j . ?j rdf:type ontology:Q502895 }
Andrew Jackson
Andrew Jackson was the founder of Democratic Party
Andrew Jackson
action filter_type
action find
entity Democratic Party
relation founder
type common name
['Democratic Party', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Democratic_Party property:founder ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11817
P937
Q56061
USER
Which administrative territory is the work location of that person ?
(Q11817,P937,c(Q56061))
action filter_type
action find
entity Q11817
relation P937
type Q56061
['Q11817', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q11817 property:P937 ?o }
Andrew Jackson
action filter_type
action find
entity Andrew Jackson
relation work location
type administrative territorial entity
['Andrew Jackson', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Andrew_Jackson property:work_location ?o }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
(Q11817,P937,c(Q56061))
action filter_type
action find
entity Q11817
relation P937
type Q56061
[ANSWER] is the work location of that person
['Q11817', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q11817 property:P937 ?o }
Washington, D.C.
Washington, D.C. is the work location of that person
Washington, D.C.
action filter_type
action find
entity Andrew Jackson
relation work location
type administrative territorial entity
['Andrew Jackson', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Andrew_Jackson property:work_location ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P2695
Q8063 Q14524493 Q7946
USER
How many minerals are found naturally occuring in approximately 2 rocks and terrains ?
(c(Q7946),P2695,c(Q8063)|c(Q14524493))
action count
action approx
action union
action find_tuple_counts
relation P2695
type Q7946
type Q8063
action find_tuple_counts
relation P2695
type Q7946
type Q14524493
value 2
[{'concept': 'Q7946'}, 'P2695', [{'concept': 'Q8063'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?v ) { ( ontology:Q8063 ) ( ontology:Q14524493 ) } . ?z rdf:type ?v } GROUP BY ?u } . FILTER ( ?x = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation type locality
type mineral
type rock
action find_tuple_counts
relation type locality
type mineral
type terrain
value 2
[{'concept': 'mineral'}, 'type locality', [{'concept': 'rock'}, {'concept': 'terrain'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?v ) { ( ontology:rock ) ( ontology:terrain ) } . ?z rdf:type ?v } GROUP BY ?u } . FILTER ( ?x = 2 ) }
[]
rock terrain mineral
SYSTEM
2
Q19860942 Q19860853
(c(Q7946),P2695,c(Q8063)|c(Q14524493))
action count
action approx
action union
action find_tuple_counts
relation P2695
type Q7946
type Q8063
action find_tuple_counts
relation P2695
type Q7946
type Q14524493
value 2
[ANSWER]
[{'concept': 'Q7946'}, 'P2695', [{'concept': 'Q8063'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?v ) { ( ontology:Q8063 ) ( ontology:Q14524493 ) } . ?z rdf:type ?v } GROUP BY ?u } . FILTER ( ?x = 2 ) }
leonardsenite jakobssonite
2
action count
action approx
action union
action find_tuple_counts
relation type locality
type mineral
type rock
action find_tuple_counts
relation type locality
type mineral
type terrain
value 2
[{'concept': 'mineral'}, 'type locality', [{'concept': 'rock'}, {'concept': 'terrain'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?v ) { ( ontology:rock ) ( ontology:terrain ) } . ?z rdf:type ?v } GROUP BY ?u } . FILTER ( ?x = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have approximately 3 administrative territories as their registry harbour ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?w ) WHERE { ?v property:P532 ?k . ?v rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?w = 3 ) }
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?w ) WHERE { ?v property:port_of_registry ?k . ?v rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?w = 3 ) }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[ANSWER] have approximately 3 administrative territories as their registry harbour
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?w ) WHERE { ?v property:P532 ?k . ?v rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?w = 3 ) }
MS Arrow
MS Arrow have approximately 3 administrative territories as their registry harbour
MS Arrow
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?w ) WHERE { ?v property:port_of_registry ?k . ?v rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?w = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61
P17
Q15617994
USER
Which administrative territory is Washington, D.C. located in ?
(Q61,P17,c(Q15617994))
action filter_type
action find
entity Q61
relation P17
type Q15617994
['Q61', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q61 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Washington, D.C.
action filter_type
action find
entity Washington, D.C.
relation country
type designation for an administrative territorial entity
['Washington, D.C.', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Washington,_D.C. property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q61,P17,c(Q15617994))
action filter_type
action find
entity Q61
relation P17
type Q15617994
Washington , D.C. is located the [ANSWER]
['Q61', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q61 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
Washington , D.C. is located the United States of America
United States of America
action filter_type
action find
entity Washington, D.C.
relation country
type designation for an administrative territorial entity
['Washington, D.C.', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Washington,_D.C. property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q8066060
P17
Q83620
USER
Is Zand Boulevard located in that administrative territory ?
(Q8066060,P17,Q30)
action is_in
entity Q8066060
action find
entity Q30
relation P17
['Q8066060', 'P17', 'Q30']
ASK WHERE { resource:Q30 property:P17 resource:Q8066060 }
United States of America Zand Boulevard
action is_in
entity Zand Boulevard
action find
entity United States of America
relation country
['Zand Boulevard', 'country', 'United States of America']
ASK WHERE { resource:United_States_of_America property:country resource:Zand_Boulevard }
[]
thoroughfare
SYSTEM
NO
(Q8066060,P17,Q30)
action is_in
entity Q8066060
action find
entity Q30
relation P17
[ANSWER]
['Q8066060', 'P17', 'Q30']
ASK WHERE { resource:Q30 property:P17 resource:Q8066060 }
No
action is_in
entity Zand Boulevard
action find
entity United States of America
relation country
['Zand Boulevard', 'country', 'United States of America']
ASK WHERE { resource:United_States_of_America property:country resource:Zand_Boulevard }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q781
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with greater number of administrative territories than Antigua and Barbuda ?
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?z ) WHERE { ?u property:P530 ?k . ?u rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?z > ?s ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q781 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } }
Antigua and Barbuda
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?z ) WHERE { ?u property:diplomatic_relation ?k . ?u rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?z > ?s ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with greater number of administrative territories than Antigua and Barbuda
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?z ) WHERE { ?u property:P530 ?k . ?u rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?z > ?s ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q781 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } }
Austria Germany Australia Denmark Canada New Zealand Jamaica
Germany, Australia and Denmark are known to have diplomatic connections with greater number of administrative territories than Antigua and Barbuda
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?z ) WHERE { ?u property:diplomatic_relation ?k . ?u rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?z > ?s ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1000
P530
Q15617994 Q1048835
USER
And also tell me about Gabon?
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?e ) WHERE { ?w property:P530 ?a . ?w rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?e > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q1000 property:P530 ?t } } }
Gabon
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?e ) WHERE { ?w property:diplomatic_relation ?a . ?w rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?e > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gabon property:diplomatic_relation ?t } } }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?e ) WHERE { ?w property:P530 ?a . ?w rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?e > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q1000 property:P530 ?t } } }
Austria Germany Australia Denmark Canada New Zealand Jamaica
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?e ) WHERE { ?w property:diplomatic_relation ?a . ?w rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?e > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gabon property:diplomatic_relation ?t } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q11337
P1001
Q15617994 Q11204 Q14660
USER
How many administrative territories belong to jurisdiction of around the same number of legislatures or flags as Herdecke ?
(c(Q11204)|c(Q14660),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q11337
relation P1001
type Q11204
type Q14660
[[{'concept': 'Q11204'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q11204 ) ( ontology:Q14660 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P1001 resource:Q11337 . { { ?n rdf:type ontology:Q11204 } UNION { ?n rdf:type ontology:Q14660 } } } } . FILTER ( ?k = ?u ) }
Herdecke
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Herdecke
relation applies to jurisdiction
type legislature
type flag
[[{'concept': 'legislature'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:legislature ) ( ontology:flag ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:applies_to_jurisdiction resource:Herdecke . { { ?n rdf:type ontology:legislature } UNION { ?n rdf:type ontology:flag } } } } . FILTER ( ?k = ?u ) }
[]
designation for an administrative territorial entity legislature flag
SYSTEM
69
Q701 Q705 Q707 Q706679 Q2765 Q163012 Q22273061 Q2871 Q24764 Q2742 Q443815 Q50198 Q187035 Q22274206 Q1462 Q6465 Q7688 Q3097 Q158893 Q2942 Q11340 Q11343 Q2899 Q2758 Q4712 Q155019 Q163966 Q769680 Q3068 Q11323 Q1093 Q119284 Q3403547 Q2667658 Q2009 Q2007 Q1101 Q1904 Q3462133 Q1989 Q2838 Q694 Q752 Q22274534 Q11337 Q11331 Q154547 Q1216 Q2805 Q2107 Q1438 Q2380910 Q11301 Q2904 Q158095 Q775 Q776 Q770 Q773 Q772 Q158083 Q72449 Q22273285 Q129003 Q33788 Q1267638 Q329609 Q2938 Q1231
(c(Q11204)|c(Q14660),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q11337
relation P1001
type Q11204
type Q14660
[ANSWER]
[[{'concept': 'Q11204'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q11204 ) ( ontology:Q14660 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P1001 resource:Q11337 . { { ?n rdf:type ontology:Q11204 } UNION { ?n rdf:type ontology:Q14660 } } } } . FILTER ( ?k = ?u ) }
North Holland Zeeland Flevoland Duchy of Bar Gelsenkirchen Pankow Duchy of Nemours Hagen municipality of the Philippines Münster Altomünster province of Thailand Principality of Albania Duchy of Mercoeur Sardinia department of France raion Remscheid Friedrichshain-Kreuzberg Solingen Sprockhövel Wetter (Ruhr) Mülheim an der Ruhr Mönchengladbach Duchy of Burgundy Duchy of Lorraine Mitte Bornholm Loire-Atlantique Breckerfeld Limburg Marzahn-Hellersdorf principality of Phalsbourg and Lixheim Shushary, Saint Petersburg Yukon Northwest Territories North Brabant Ontario Saxe-Coburg and Gotha Saskatchewan Oberhausen South Holland Groningen Duchy of Elbeuf Herdecke Gevelsberg duchy Piedmont Krefeld Wuppertal Campania Duchy of Zaslawye Ennepetal Herne Charlottenburg-Wilmersdorf Gelderland Utrecht Friesland Overijssel Drenthe Spandau Roccarainola Duchy of Guise French Southern and Antarctic Lands New Caledonia Beloostrov Lichtenberg Leverkusen Kosovo Region
69
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Herdecke
relation applies to jurisdiction
type legislature
type flag
[[{'concept': 'legislature'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:legislature ) ( ontology:flag ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:applies_to_jurisdiction resource:Herdecke . { { ?n rdf:type ontology:legislature } UNION { ?n rdf:type ontology:flag } } } } . FILTER ( ?k = ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q962
P1001
Q15617994 Q11204 Q14660
USER
And what about Benin?
(c(Q11204)|c(Q14660),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q962
relation P1001
type Q11204
type Q14660
[[{'concept': 'Q11204'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) ?g WHERE { VALUES ( ?c ) { ( ontology:Q14660 ) ( ontology:Q11204 ) } . ?o rdf:type ?c } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:P1001 resource:Q962 . { { ?f rdf:type ontology:Q11204 } UNION { ?f rdf:type ontology:Q14660 } } } } . FILTER ( ?q = ?d ) }
Benin
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Benin
relation applies to jurisdiction
type legislature
type flag
[[{'concept': 'legislature'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) ?g WHERE { VALUES ( ?c ) { ( ontology:flag ) ( ontology:legislature ) } . ?o rdf:type ?c } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:applies_to_jurisdiction resource:Benin . { { ?f rdf:type ontology:legislature } UNION { ?f rdf:type ontology:flag } } } } . FILTER ( ?q = ?d ) }
[]
designation for an administrative territorial entity legislature flag
SYSTEM
16
Q148 Q189 Q37 Q710 Q159 Q792 Q884 Q1952 Q30 Q786 Q347 Q902 Q191 Q962 Q29 Q774
(c(Q11204)|c(Q14660),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q962
relation P1001
type Q11204
type Q14660
[ANSWER]
[[{'concept': 'Q11204'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) ?g WHERE { VALUES ( ?c ) { ( ontology:Q14660 ) ( ontology:Q11204 ) } . ?o rdf:type ?c } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:P1001 resource:Q962 . { { ?f rdf:type ontology:Q11204 } UNION { ?f rdf:type ontology:Q14660 } } } } . FILTER ( ?q = ?d ) }
People's Republic of China Iceland Lithuania Kiribati Russia El Salvador South Korea Nova Scotia United States of America Dominican Republic Liechtenstein Bangladesh Estonia Benin Spain Guatemala
16
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Benin
relation applies to jurisdiction
type legislature
type flag
[[{'concept': 'legislature'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) ?g WHERE { VALUES ( ?c ) { ( ontology:flag ) ( ontology:legislature ) } . ?o rdf:type ?c } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:applies_to_jurisdiction resource:Benin . { { ?f rdf:type ontology:legislature } UNION { ?f rdf:type ontology:flag } } } } . FILTER ( ?q = ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61
P190
Q56061
USER
Which administrative territories are twin city of Washington, D.C. ?
(c(Q56061),P190,Q61)
action filter_type
action find
entity Q61
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q61']
SELECT DISTINCT ?q WHERE { resource:Q61 property:P190 ?q . ?q rdf:type ontology:Q56061 }
Washington, D.C.
action filter_type
action find
entity Washington, D.C.
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Washington, D.C.']
SELECT DISTINCT ?q WHERE { resource:Washington,_D.C. property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1524 Q956 Q239
SYSTEM
Athens, Beijing, Brussels
Q987 Q239 Q3718 Q3761 Q585 Q1524 Q956 Q1861 Q3640 Q1491 Q188304
(c(Q56061),P190,Q61)
action filter_type
action find
entity Q61
relation P190
type Q56061
[ANSWERS] are twin city of Washington, D.C.
[{'concept': 'Q56061'}, 'P190', 'Q61']
SELECT DISTINCT ?q WHERE { resource:Q61 property:P190 ?q . ?q rdf:type ontology:Q56061 }
New Delhi Brussels Dakar Accra Oslo Athens Beijing Bangkok Ankara La Paz Sunderland
Athens, Beijing and Brussels are twin city of Washington, D.C.
Athens Beijing Brussels
action filter_type
action find
entity Washington, D.C.
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Washington, D.C.']
SELECT DISTINCT ?q WHERE { resource:Washington,_D.C. property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]