Simple Question (Direct)
Simple Question
Q4776137
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Antonello Tabacco ?
(Q4776137,P27,c(Q15617994))
action filter_type
action find
entity Q4776137
relation P27
type Q15617994
['Q4776137', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q4776137 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Antonello Tabacco
action filter_type
action find
entity Antonello Tabacco
relation country of citizenship
type designation for an administrative territorial entity
['Antonello Tabacco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Antonello_Tabacco property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q4776137,P27,c(Q15617994))
action filter_type
action find
entity Q4776137
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Antonello Tabacco
['Q4776137', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q4776137 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Italy
Italy is the country of citizenship of Antonello Tabacco
Italy
action filter_type
action find
entity Antonello Tabacco
relation country of citizenship
type designation for an administrative territorial entity
['Antonello Tabacco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Antonello_Tabacco property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4776137
P641
Q349
USER
Which sport was that person a part of ?
(Q38,P641,c(Q349))
action filter_type
action find
entity Q4776137
relation P641
type Q349
['Q38', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q4776137 property:P641 ?k . ?k rdf:type ontology:Q349 }
Antonello Tabacco
action filter_type
action find
entity Antonello Tabacco
relation sport
type sport
['Italy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Antonello_Tabacco property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q38,P641,c(Q349))
action filter_type
action find
entity Q4776137
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q38', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q4776137 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Antonello Tabacco
relation sport
type sport
['Italy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Antonello_Tabacco property:sport ?k . ?k rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4776137
P19
Q15617994
USER
How many administrative territories are the birthplace of Antonello Tabacco ?
(Q4776137,P19,c(Q15617994))
action count
action filter_type
action find
entity Q4776137
relation P19
type Q15617994
['Q4776137', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q4776137 property:P19 ?w . ?w rdf:type ontology:Q15617994 }
Antonello Tabacco
action count
action filter_type
action find
entity Antonello Tabacco
relation place of birth
type designation for an administrative territorial entity
['Antonello Tabacco', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Antonello_Tabacco property:place_of_birth ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q47125
(Q4776137,P19,c(Q15617994))
action count
action filter_type
action find
entity Q4776137
relation P19
type Q15617994
[ANSWER]
['Q4776137', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q4776137 property:P19 ?w . ?w rdf:type ontology:Q15617994 }
Avezzano
1
action count
action filter_type
action find
entity Antonello Tabacco
relation place of birth
type designation for an administrative territorial entity
['Antonello Tabacco', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Antonello_Tabacco property:place_of_birth ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6939214
Q15617994
USER
And what about Murray Dryden?
(Q6939214,P19,c(Q15617994))
action count
action filter_type
action find
entity Q6939214
relation P19
type Q15617994
['Q6939214', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q6939214 property:P19 ?r . ?r rdf:type ontology:Q15617994 }
Murray Dryden
action count
action filter_type
action find
entity Murray Dryden
relation place of birth
type designation for an administrative territorial entity
['Murray Dryden', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Murray_Dryden property:place_of_birth ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q6939214,P19,c(Q15617994))
action count
action filter_type
action find
entity Q6939214
relation P19
type Q15617994
[ANSWER]
['Q6939214', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q6939214 property:P19 ?r . ?r rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Murray Dryden
relation place of birth
type designation for an administrative territorial entity
['Murray Dryden', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Murray_Dryden property:place_of_birth ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q458
P530
Q1048835
USER
How many political territories have a diplomatic relationship with Italy or European Union ?
(Q38,P530,c(Q1048835)) (Q458,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q38
relation P530
type Q1048835
action filter_type
action find
entity Q458
relation P530
type Q1048835
['Q38', 'P530', {'concept': 'Q1048835'}] ['Q458', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { resource:Q38 property:P530 ?c . ?c rdf:type ontology:Q1048835 } UNION { resource:Q458 property:P530 ?c . ?c rdf:type ontology:Q1048835 } }
Italy European Union
action count
action union
action filter_type
action find
entity Italy
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity European Union
relation diplomatic relation
type political territorial entity
['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['European Union', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { resource:Italy property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } UNION { resource:European_Union property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
6
Q408 Q35 Q40 Q16 Q664 Q183
(Q38,P530,c(Q1048835)) (Q458,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q38
relation P530
type Q1048835
action filter_type
action find
entity Q458
relation P530
type Q1048835
[ANSWER]
['Q38', 'P530', {'concept': 'Q1048835'}] ['Q458', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { resource:Q38 property:P530 ?c . ?c rdf:type ontology:Q1048835 } UNION { resource:Q458 property:P530 ?c . ?c rdf:type ontology:Q1048835 } }
Australia Denmark Austria Canada New Zealand Germany
6
action count
action union
action filter_type
action find
entity Italy
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity European Union
relation diplomatic relation
type political territorial entity
['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['European Union', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { resource:Italy property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } UNION { resource:European_Union property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with around 74 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 74
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { FILTER ( ?z = 74 ) . { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?z ) WHERE { ?r rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 . ?r property:P530 ?f } GROUP BY ?r } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 74
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { FILTER ( ?z = 74 ) . { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?z ) WHERE { ?r rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:diplomatic_relation ?f } GROUP BY ?r } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 74
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { FILTER ( ?z = 74 ) . { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?z ) WHERE { ?r rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 . ?r property:P530 ?f } GROUP BY ?r } }
Australia Canada
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 74
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { FILTER ( ?z = 74 ) . { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?z ) WHERE { ?r rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:diplomatic_relation ?f } GROUP BY ?r } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38
P710
Q198 Q484652
USER
How many wars and international organizations did Italy particiate in ?
(c(Q198),P710,Q38) (c(Q484652),P710,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P710
type Q198
action filter_type
action find_reverse
entity Q38
relation P710
type Q484652
[{'concept': 'Q198'}, 'P710', 'Q38'] [{'concept': 'Q484652'}, 'P710', 'Q38']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?q ) { ( ontology:Q198 ) ( ontology:Q484652 ) } . ?m rdf:type ?q }
Italy
action count
action union
action filter_type
action find_reverse
entity Italy
relation participant
type war
action filter_type
action find_reverse
entity Italy
relation participant
type international organization
[{'concept': 'war'}, 'participant', 'Italy'] [{'concept': 'international organization'}, 'participant', 'Italy']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?q ) { ( ontology:war ) ( ontology:international_organization ) } . ?m rdf:type ?q }
[]
war international organization
SYSTEM
2 wars and 1 international organizations
Q362 Q10287157 Q361
(c(Q198),P710,Q38) (c(Q484652),P710,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P710
type Q198
action filter_type
action find_reverse
entity Q38
relation P710
type Q484652
[ANSWER]
[{'concept': 'Q198'}, 'P710', 'Q38'] [{'concept': 'Q484652'}, 'P710', 'Q38']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?q ) { ( ontology:Q198 ) ( ontology:Q484652 ) } . ?m rdf:type ?q }
World War II G6 World War I
2 wars and 1 international organizations
action count
action union
action filter_type
action find_reverse
entity Italy
relation participant
type war
action filter_type
action find_reverse
entity Italy
relation participant
type international organization
[{'concept': 'war'}, 'participant', 'Italy'] [{'concept': 'international organization'}, 'participant', 'Italy']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?q ) { ( ontology:war ) ( ontology:international_organization ) } . ?m rdf:type ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q2342494 Q3305213
USER
How many administrative territories are expressed in approximately 2 collectables and paintings ?
(c(Q2342494)|c(Q3305213),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
value 2
[[{'concept': 'Q2342494'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?z WHERE { VALUES ( ?d ) { ( ontology:Q2342494 ) ( ontology:Q3305213 ) } . ?o rdf:type ?d } GROUP BY ?z } . FILTER ( ?j = 2 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
value 2
[[{'concept': 'collectable'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?z WHERE { VALUES ( ?d ) { ( ontology:collectable ) ( ontology:painting ) } . ?o rdf:type ?d } GROUP BY ?z } . FILTER ( ?j = 2 ) }
[]
designation for an administrative territorial entity collectable painting
SYSTEM
3
Q131596 Q38 Q82025
(c(Q2342494)|c(Q3305213),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
value 2
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?z WHERE { VALUES ( ?d ) { ( ontology:Q2342494 ) ( ontology:Q3305213 ) } . ?o rdf:type ?d } GROUP BY ?z } . FILTER ( ?j = 2 ) }
farm Italy horn
3
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
value 2
[[{'concept': 'collectable'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?z WHERE { VALUES ( ?d ) { ( ontology:collectable ) ( ontology:painting ) } . ?o rdf:type ?d } GROUP BY ?z } . FILTER ( ?j = 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q30
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with greater number of administrative territories than United States of America ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q30
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?t ) WHERE { ?l property:P530 ?y . ?l rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Q30 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } }
United States of America
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?t ) WHERE { ?l property:diplomatic_relation ?y . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:United_States_of_America property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q155 Q38
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q30
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?t ) WHERE { ?l property:P530 ?y . ?l rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Q30 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } }
Brazil Italy
2
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?t ) WHERE { ?l property:diplomatic_relation ?y . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:United_States_of_America property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q17077875
P30
Q2221906
USER
How many geographic locations are Italy or Luther Burbank Rose Parade and Festival located ?
(Q38,P30,c(Q2221906)) (Q17077875,P30,c(Q2221906))
action count
action union
action filter_type
action find
entity Q38
relation P30
type Q2221906
action filter_type
action find
entity Q17077875
relation P30
type Q2221906
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q17077875', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?u property:P30 ?t . VALUES ( ?u ) { ( resource:Q38 ) ( resource:Q17077875 ) } }
Italy Luther Burbank Rose Parade and Festival
action count
action union
action filter_type
action find
entity Italy
relation continent
type geographic location
action filter_type
action find
entity Luther Burbank Rose Parade and Festival
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Luther Burbank Rose Parade and Festival', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?u property:continent ?t . VALUES ( ?u ) { ( resource:Italy ) ( resource:Luther_Burbank_Rose_Parade_and_Festival ) } }
[]
geographic location
SYSTEM
2
Q46 Q49
(Q38,P30,c(Q2221906)) (Q17077875,P30,c(Q2221906))
action count
action union
action filter_type
action find
entity Q38
relation P30
type Q2221906
action filter_type
action find
entity Q17077875
relation P30
type Q2221906
[ANSWER]
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q17077875', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?u property:P30 ?t . VALUES ( ?u ) { ( resource:Q38 ) ( resource:Q17077875 ) } }
Europe North America
2
action count
action union
action filter_type
action find
entity Italy
relation continent
type geographic location
action filter_type
action find
entity Luther Burbank Rose Parade and Festival
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Luther Burbank Rose Parade and Festival', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?u property:continent ?t . VALUES ( ?u ) { ( resource:Italy ) ( resource:Luther_Burbank_Rose_Parade_and_Festival ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q22676587 Q43229 Q15617994
USER
Which administrative territories have around 1 monarchic systems or organizations as the type of government ?
(c(Q15617994),P122,c(Q22676587)|c(Q43229))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action find_tuple_counts
relation P122
type Q15617994
type Q43229
value 1
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:Q22676587 ) ( ontology:Q43229 ) } } GROUP BY ?y } . FILTER ( ?v = 1 ) }
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'organization'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:monarchic_system ) ( ontology:organization ) } } GROUP BY ?y } . FILTER ( ?v = 1 ) }
[]
monarchic system organization designation for an administrative territorial entity
Q17 Q833 Q878
SYSTEM
Japan, Malaysia, United Arab Emirates
Q833 Q238 Q17 Q878
(c(Q15617994),P122,c(Q22676587)|c(Q43229))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action find_tuple_counts
relation P122
type Q15617994
type Q43229
value 1
[ANSWERS] have around 1 monarchic systems or organizations as the type of government
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:Q22676587 ) ( ontology:Q43229 ) } } GROUP BY ?y } . FILTER ( ?v = 1 ) }
Malaysia San Marino Japan United Arab Emirates
Japan, Malaysia and United Arab Emirates have around 1 monarchic systems or organizations as the type of government
Japan Malaysia United Arab Emirates
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'organization'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:monarchic_system ) ( ontology:organization ) } } GROUP BY ?y } . FILTER ( ?v = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q17 Q833 Q878
P6
Q502895
USER
Which people do Japan, Malaysia and United Arab Emirates serve as the head of government for ?
(Q17,P6,c(Q502895)) (Q833,P6,c(Q502895)) (Q878,P6,c(Q502895))
action union
action filter_type
action find
entity Q17
relation P6
type Q502895
action filter_type
action find
entity Q833
relation P6
type Q502895
action filter_type
action find
entity Q878
relation P6
type Q502895
['Q17', 'P6', {'concept': 'Q502895'}] ['Q833', 'P6', {'concept': 'Q502895'}] ['Q878', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { resource:Q833 property:P6 ?t . ?t rdf:type ontology:Q502895 } UNION { resource:Q17 property:P6 ?t . ?t rdf:type ontology:Q502895 } }
Japan Malaysia United Arab Emirates
action union
action filter_type
action find
entity Japan
relation head of government
type common name
action filter_type
action find
entity Malaysia
relation head of government
type common name
action filter_type
action find
entity United Arab Emirates
relation head of government
type common name
['Japan', 'head of government', {'concept': 'common name'}] ['Malaysia', 'head of government', {'concept': 'common name'}] ['United Arab Emirates', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { resource:Malaysia property:head_of_government ?t . ?t rdf:type ontology:common_name } UNION { resource:Japan property:head_of_government ?t . ?t rdf:type ontology:common_name } }
[]
common name
Q132345 Q57675 Q57655
SYSTEM
Shinzō Abe, Najib Razak, Mohammed bin Rashid Al Maktoum
Q132345 Q57675 Q57655
(Q17,P6,c(Q502895)) (Q833,P6,c(Q502895)) (Q878,P6,c(Q502895))
action union
action filter_type
action find
entity Q17
relation P6
type Q502895
action filter_type
action find
entity Q833
relation P6
type Q502895
action filter_type
action find
entity Q878
relation P6
type Q502895
[ANSWERS] Japan , Malaysia and United Arab Emirates serve as the head of government for
['Q17', 'P6', {'concept': 'Q502895'}] ['Q833', 'P6', {'concept': 'Q502895'}] ['Q878', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { resource:Q833 property:P6 ?t . ?t rdf:type ontology:Q502895 } UNION { resource:Q17 property:P6 ?t . ?t rdf:type ontology:Q502895 } }
Shinzō Abe Najib Razak Mohammed bin Rashid Al Maktoum
Shinzō Abe, Najib Razak and Mohammed bin Rashid Al Maktoum Japan , Malaysia and United Arab Emirates serve as the head of government for
Shinzō Abe Najib Razak Mohammed bin Rashid Al Maktoum
action union
action filter_type
action find
entity Japan
relation head of government
type common name
action filter_type
action find
entity Malaysia
relation head of government
type common name
action filter_type
action find
entity United Arab Emirates
relation head of government
type common name
['Japan', 'head of government', {'concept': 'common name'}] ['Malaysia', 'head of government', {'concept': 'common name'}] ['United Arab Emirates', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { resource:Malaysia property:head_of_government ?t . ?t rdf:type ontology:common_name } UNION { resource:Japan property:head_of_government ?t . ?t rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q57655
P112
Q43229
USER
Which organizations were founded by that person ?
(c(Q43229),P112,Q57655)
action filter_type
action find_reverse
entity Q57655
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q57655']
SELECT DISTINCT ?g WHERE { ?g property:P112 resource:Q57655 . ?g rdf:type ontology:Q43229 }
Mohammed bin Rashid Al Maktoum
action filter_type
action find_reverse
entity Mohammed bin Rashid Al Maktoum
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Mohammed bin Rashid Al Maktoum']
SELECT DISTINCT ?g WHERE { ?g property:founder resource:Mohammed_bin_Rashid_Al_Maktoum . ?g rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q57675
SYSTEM
Did you mean Najib Razak ?
Q132345 Q57675 Q57655
(c(Q43229),P112,Q132345) (c(Q43229),P112,Q57675) (c(Q43229),P112,Q57655)
[ANSWER]
[{'concept': 'Q43229'}, 'P112', 'Q132345'] [{'concept': 'Q43229'}, 'P112', 'Q57675'] [{'concept': 'Q43229'}, 'P112', 'Q57655']
SELECT DISTINCT ?g WHERE { ?g property:P112 resource:Q57655 . ?g rdf:type ontology:Q43229 }
Shinzō Abe Najib Razak Mohammed bin Rashid Al Maktoum
Did you mean Najib Razak ?
Najib Razak
[{'concept': 'organization'}, 'founder', 'Shinzō Abe'] [{'concept': 'organization'}, 'founder', 'Najib Razak'] [{'concept': 'organization'}, 'founder', 'Mohammed bin Rashid Al Maktoum']
SELECT DISTINCT ?g WHERE { ?g property:founder resource:Mohammed_bin_Rashid_Al_Maktoum . ?g rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Mohammed bin Rashid Al Maktoum. Could you tell me the answer for that?
(c(Q43229),P112,Q57655)
Q57655
[{'concept': 'Q43229'}, 'P112', 'Q57655']
[{'concept': 'organization'}, 'founder', 'Mohammed bin Rashid Al Maktoum']
[]
Q5310562 Q5310554
SYSTEM
Dubai International Capital, Dubai Group
Q5310562 Q5310554
(c(Q43229),P112,Q57655)
action filter_type
action find_reverse
entity Q57655
relation P112
type Q43229
[ANSWERS] were founded by that person
[{'concept': 'Q43229'}, 'P112', 'Q57655']
SELECT DISTINCT ?g WHERE { ?g property:P112 resource:Q57655 . ?g rdf:type ontology:Q43229 }
Dubai International Capital Dubai Group
Dubai International Capital and Dubai Group were founded by that person
Dubai International Capital Dubai Group
action filter_type
action find_reverse
entity Mohammed bin Rashid Al Maktoum
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Mohammed bin Rashid Al Maktoum']
SELECT DISTINCT ?g WHERE { ?g property:founder resource:Mohammed_bin_Rashid_Al_Maktoum . ?g rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q57655
P22
Q502895
USER
How many people have Mohammed bin Rashid Al Maktoum as dad ?
(c(Q502895),P22,Q57655)
action count
action filter_type
action find_reverse
entity Q57655
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q57655']
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z rdf:type ontology:Q502895 . ?z property:P22 resource:Q57655 }
Mohammed bin Rashid Al Maktoum
action count
action filter_type
action find_reverse
entity Mohammed bin Rashid Al Maktoum
relation father
type common name
[{'concept': 'common name'}, 'father', 'Mohammed bin Rashid Al Maktoum']
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z rdf:type ontology:common_name . ?z property:father resource:Mohammed_bin_Rashid_Al_Maktoum }
[]
common name
SYSTEM
7
Q7294934 Q3379198 Q7462442 Q12244819 Q6746819 Q556586 Q17403156
(c(Q502895),P22,Q57655)
action count
action filter_type
action find_reverse
entity Q57655
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q57655']
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z rdf:type ontology:Q502895 . ?z property:P22 resource:Q57655 }
Rashid bin Mohammed Al Maktoum Maitha bint Mohammed bin Rashid Al Maktoum Shaikha bint Mohammed bin Rashed Al Maktoum Maktoum bin Mohammed Al Maktoum Manal bint Mohammed bin Rashid Al Maktoum Hamdan bin Mohammed Al Maktoum Majid bin Mohammed bin Rashid Al Maktoum
7
action count
action filter_type
action find_reverse
entity Mohammed bin Rashid Al Maktoum
relation father
type common name
[{'concept': 'common name'}, 'father', 'Mohammed bin Rashid Al Maktoum']
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z rdf:type ontology:common_name . ?z property:father resource:Mohammed_bin_Rashid_Al_Maktoum }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2889821
P40
Q502895
USER
Which person is an offspring of Henry II, Count of Nassau-Dillenburg ?
(Q2889821,P40,c(Q502895))
action filter_type
action find
entity Q2889821
relation P40
type Q502895
['Q2889821', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q2889821 property:P40 ?t }
Henry II, Count of Nassau-Dillenburg
action filter_type
action find
entity Henry II, Count of Nassau-Dillenburg
relation child
type common name
['Henry II, Count of Nassau-Dillenburg', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Henry_II,_Count_of_Nassau-Dillenburg property:child ?t }
[]
common name
Q19802246
SYSTEM
Odilia van Nassau
Q19802246
(Q2889821,P40,c(Q502895))
action filter_type
action find
entity Q2889821
relation P40
type Q502895
[ANSWER] is an offspring of Henry II, Count of Nassau-Dillenburg
['Q2889821', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q2889821 property:P40 ?t }
Odilia van Nassau
Odilia van Nassau is an offspring of Henry II, Count of Nassau-Dillenburg
Odilia van Nassau
action filter_type
action find
entity Henry II, Count of Nassau-Dillenburg
relation child
type common name
['Henry II, Count of Nassau-Dillenburg', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Henry_II,_Count_of_Nassau-Dillenburg property:child ?t }
[]