Simple Question (Direct)
Simple Question
Q6006585
P106
Q12737077
USER
Which occupation has Matías Catalán as his/her 's career ?
(Q6006585,P106,c(Q12737077))
action filter_type
action find
entity Q6006585
relation P106
type Q12737077
['Q6006585', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q6006585 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Matías Catalán
action filter_type
action find
entity Matías Catalán
relation occupation
type occupation
['Matías Catalán', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Matías_Catalán property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6006585,P106,c(Q12737077))
action filter_type
action find
entity Q6006585
relation P106
type Q12737077
Player [ANSWER] has Matías Catalán as his/her 's career
['Q6006585', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q6006585 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
association football player
Player association football player has Matías Catalán as his/her 's career
association football player
action filter_type
action find
entity Matías Catalán
relation occupation
type occupation
['Matías Catalán', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Matías_Catalán property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6006585
P21
Q290
USER
Which sex does that person have ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q6006585
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q6006585 property:P21 ?v . ?v rdf:type ontology:Q290 }
Matías Catalán
action filter_type
action find
entity Matías Catalán
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Matías_Catalán property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q6006585
relation P21
type Q290
That person has a [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q6006585 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Matías Catalán
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Matías_Catalán property:gender ?v . ?v rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q1604380
P21
Q502895
USER
Is Helmut von Finck a that sex ?
(Q1604380,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1604380
relation P21
['Q1604380', 'P21', 'Q6581097']
ASK WHERE { resource:Q1604380 property:P21 resource:Q6581097 }
male Helmut von Finck
action is_in
entity male
action find
entity Helmut von Finck
relation gender
['Helmut von Finck', 'gender', 'male']
ASK WHERE { resource:Helmut_von_Finck property:gender resource:male }
[]
common name
SYSTEM
YES
(Q1604380,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1604380
relation P21
[ANSWER]
['Q1604380', 'P21', 'Q6581097']
ASK WHERE { resource:Q1604380 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Helmut von Finck
relation gender
['Helmut von Finck', 'gender', 'male']
ASK WHERE { resource:Helmut_von_Finck property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6006585 Q414
P27
Q15617994
USER
Is Matías Catalán an inhabitant of Argentina ?
(Q6006585,P27,Q414)
action is_in
entity Q414
action find
entity Q6006585
relation P27
['Q6006585', 'P27', 'Q414']
ASK WHERE { resource:Q6006585 property:P27 resource:Q414 }
Matías Catalán Argentina
action is_in
entity Argentina
action find
entity Matías Catalán
relation country of citizenship
['Matías Catalán', 'country of citizenship', 'Argentina']
ASK WHERE { resource:Matías_Catalán property:country_of_citizenship resource:Argentina }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6006585,P27,Q414)
action is_in
entity Q414
action find
entity Q6006585
relation P27
[ANSWER]
['Q6006585', 'P27', 'Q414']
ASK WHERE { resource:Q6006585 property:P27 resource:Q414 }
Yes
action is_in
entity Argentina
action find
entity Matías Catalán
relation country of citizenship
['Matías Catalán', 'country of citizenship', 'Argentina']
ASK WHERE { resource:Matías_Catalán property:country_of_citizenship resource:Argentina }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6006585
P27
Q15617994
USER
How many administrative territories are the native countriesof Matías Catalán ?
(Q6006585,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6006585
relation P27
type Q15617994
['Q6006585', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q6006585 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Matías Catalán
action count
action filter_type
action find
entity Matías Catalán
relation country of citizenship
type designation for an administrative territorial entity
['Matías Catalán', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Matías_Catalán property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q414
(Q6006585,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6006585
relation P27
type Q15617994
[ANSWER]
['Q6006585', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q6006585 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Argentina
1
action count
action filter_type
action find
entity Matías Catalán
relation country of citizenship
type designation for an administrative territorial entity
['Matías Catalán', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Matías_Catalán property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6006585
P19
Q515
USER
Which city was that person born in ?
action filter_type
action find
entity Q6006585
relation P19
type Q515
SELECT DISTINCT ?u WHERE { resource:Q6006585 property:P19 ?u . ?u rdf:type ontology:Q515 }
Matías Catalán
action filter_type
action find
entity Matías Catalán
relation place of birth
type city
SELECT DISTINCT ?u WHERE { resource:Matías_Catalán property:place_of_birth ?u . ?u rdf:type ontology:city }
[]
city
Q52607
SYSTEM
Mar del Plata
Q52607
action filter_type
action find
entity Q6006585
relation P19
type Q515
That person was born in [ANSWER]
SELECT DISTINCT ?u WHERE { resource:Q6006585 property:P19 ?u . ?u rdf:type ontology:Q515 }
Mar del Plata
That person was born in Mar del Plata
Mar del Plata
action filter_type
action find
entity Matías Catalán
relation place of birth
type city
SELECT DISTINCT ?u WHERE { resource:Matías_Catalán property:place_of_birth ?u . ?u rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q52607 Q14409
P36
Q1048835
USER
How many political territories consists of Mar del Plata or Palangkaraya as their capital ?
(c(Q1048835),P36,Q52607) (c(Q1048835),P36,Q14409)
action count
action union
action filter_type
action find_reverse
entity Q52607
relation P36
type Q1048835
action filter_type
action find_reverse
entity Q14409
relation P36
type Q1048835
[{'concept': 'Q1048835'}, 'P36', 'Q52607'] [{'concept': 'Q1048835'}, 'P36', 'Q14409']
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:P36 ?d . VALUES ( ?d ) { ( resource:Q14409 ) ( resource:Q52607 ) } }
Mar del Plata Palangkaraya
action count
action union
action filter_type
action find_reverse
entity Mar del Plata
relation capital
type political territorial entity
action filter_type
action find_reverse
entity Palangkaraya
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Mar del Plata'] [{'concept': 'political territorial entity'}, 'capital', 'Palangkaraya']
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:capital ?d . VALUES ( ?d ) { ( resource:Palangkaraya ) ( resource:Mar_del_Plata ) } }
[]
political territorial entity
SYSTEM
2
Q671742 Q3891
(c(Q1048835),P36,Q52607) (c(Q1048835),P36,Q14409)
action count
action union
action filter_type
action find_reverse
entity Q52607
relation P36
type Q1048835
action filter_type
action find_reverse
entity Q14409
relation P36
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P36', 'Q52607'] [{'concept': 'Q1048835'}, 'P36', 'Q14409']
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:P36 ?d . VALUES ( ?d ) { ( resource:Q14409 ) ( resource:Q52607 ) } }
General Pueyrredón Kalimantan Tengah
2
action count
action union
action filter_type
action find_reverse
entity Mar del Plata
relation capital
type political territorial entity
action filter_type
action find_reverse
entity Palangkaraya
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Mar del Plata'] [{'concept': 'political territorial entity'}, 'capital', 'Palangkaraya']
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:capital ?d . VALUES ( ?d ) { ( resource:Palangkaraya ) ( resource:Mar_del_Plata ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q869037
P609
Q515 Q83620 Q34442
USER
How many cities are the terminus locations of more number of thoroughfares or roads than Takasago ?
(c(Q83620)|c(Q34442),P609,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q869037
relation P609
type Q83620
type Q34442
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P609 resource:Q869037 . { VALUES ( ?g ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?d rdf:type ?g } } } . FILTER ( ?p > ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?h WHERE { VALUES ( ?r ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?q rdf:type ?r } GROUP BY ?h } }
Takasago
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type city
type road
action count
action filter_multi_types
action find_reverse
entity Takasago
relation terminus location
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:terminus_location resource:Takasago . { VALUES ( ?g ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?d rdf:type ?g } } } . FILTER ( ?p > ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?h WHERE { VALUES ( ?r ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?q rdf:type ?r } GROUP BY ?h } }
[]
city thoroughfare road
SYSTEM
8
Q182852 Q58560 Q23768 Q11736 Q211243 Q75110 Q183584 Q14960
(c(Q83620)|c(Q34442),P609,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q869037
relation P609
type Q83620
type Q34442
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P609 resource:Q869037 . { VALUES ( ?g ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?d rdf:type ?g } } } . FILTER ( ?p > ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?h WHERE { VALUES ( ?r ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?q rdf:type ?r } GROUP BY ?h } }
Kunming Qinhuangdao Las Vegas Tianjin Yinchuan Dandong Lanzhou Brno
8
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type city
type road
action count
action filter_multi_types
action find_reverse
entity Takasago
relation terminus location
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:terminus_location resource:Takasago . { VALUES ( ?g ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?d rdf:type ?g } } } . FILTER ( ?p > ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?h WHERE { VALUES ( ?r ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?q rdf:type ?r } GROUP BY ?h } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q217698
P609
Q515 Q83620 Q34442
USER
And how about Weifang?
(c(Q83620)|c(Q34442),P609,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q217698
relation P609
type Q83620
type Q34442
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?x WHERE { { ?v property:P609 ?x . ?x rdf:type ontology:Q515 . ?v rdf:type ontology:Q83620 } UNION { ?v property:P609 ?x . ?x rdf:type ontology:Q515 . ?v rdf:type ontology:Q34442 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { { ?r rdf:type ontology:Q34442 } UNION { ?r rdf:type ontology:Q83620 } } . ?r property:P609 resource:Q217698 } } . FILTER ( ?o > ?q ) }
Weifang
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type city
type road
action count
action filter_multi_types
action find_reverse
entity Weifang
relation terminus location
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?x WHERE { { ?v property:terminus_location ?x . ?x rdf:type ontology:city . ?v rdf:type ontology:thoroughfare } UNION { ?v property:terminus_location ?x . ?x rdf:type ontology:city . ?v rdf:type ontology:road } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { { ?r rdf:type ontology:road } UNION { ?r rdf:type ontology:thoroughfare } } . ?r property:terminus_location resource:Weifang } } . FILTER ( ?o > ?q ) }
[]
city thoroughfare road
SYSTEM
8
Q182852 Q58560 Q23768 Q11736 Q211243 Q75110 Q183584 Q14960
(c(Q83620)|c(Q34442),P609,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q217698
relation P609
type Q83620
type Q34442
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?x WHERE { { ?v property:P609 ?x . ?x rdf:type ontology:Q515 . ?v rdf:type ontology:Q83620 } UNION { ?v property:P609 ?x . ?x rdf:type ontology:Q515 . ?v rdf:type ontology:Q34442 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { { ?r rdf:type ontology:Q34442 } UNION { ?r rdf:type ontology:Q83620 } } . ?r property:P609 resource:Q217698 } } . FILTER ( ?o > ?q ) }
Kunming Qinhuangdao Las Vegas Tianjin Yinchuan Dandong Lanzhou Brno
8
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type city
type road
action count
action filter_multi_types
action find_reverse
entity Weifang
relation terminus location
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?x WHERE { { ?v property:terminus_location ?x . ?x rdf:type ontology:city . ?v rdf:type ontology:thoroughfare } UNION { ?v property:terminus_location ?x . ?x rdf:type ontology:city . ?v rdf:type ontology:road } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { { ?r rdf:type ontology:road } UNION { ?r rdf:type ontology:thoroughfare } } . ?r property:terminus_location resource:Weifang } } . FILTER ( ?o > ?q ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q515 Q515
USER
How many cities are sister town of atleast 9 cities ?
(c(Q515),P190,c(Q515))
action count
action atleast
action find_tuple_counts
relation P190
type Q515
type Q515
value 9
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?m ) WHERE { ?q property:P190 ?n . ?q rdf:type ontology:Q515 . ?n rdf:type ontology:Q515 } GROUP BY ?q } . FILTER ( ?m >= 9 ) }
action count
action atleast
action find_tuple_counts
relation sister city
type city
type city
value 9
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?m ) WHERE { ?q property:sister_city ?n . ?q rdf:type ontology:city . ?n rdf:type ontology:city } GROUP BY ?q } . FILTER ( ?m >= 9 ) }
[]
city city
SYSTEM
2
Q205922 Q42622
(c(Q515),P190,c(Q515))
action count
action atleast
action find_tuple_counts
relation P190
type Q515
type Q515
value 9
[ANSWER]
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?m ) WHERE { ?q property:P190 ?n . ?q rdf:type ontology:Q515 . ?n rdf:type ontology:Q515 } GROUP BY ?q } . FILTER ( ?m >= 9 ) }
Qiqihar Suzhou
2
action count
action atleast
action find_tuple_counts
relation sister city
type city
type city
value 9
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?m ) WHERE { ?q property:sister_city ?n . ?q rdf:type ontology:city . ?n rdf:type ontology:city } GROUP BY ?q } . FILTER ( ?m >= 9 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3377225 Q6006585
P27
Q15617994
USER
Which administrative territories are Matías Catalán or Wang Yi an inhabitant of ?
OR((Q6006585,P27,c(Q15617994)), (Q3377225,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6006585
relation P27
action find
entity Q3377225
relation P27
type Q15617994
{'OR': [['Q6006585', 'P27', {'concept': 'Q15617994'}], ['Q3377225', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q3377225 property:P27 ?z } UNION { resource:Q6006585 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Wang Yi Matías Catalán
action filter_type
action union
action find
entity Matías Catalán
relation country of citizenship
action find
entity Wang Yi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Matías Catalán', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Wang Yi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Wang_Yi property:country_of_citizenship ?z } UNION { resource:Matías_Catalán property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q414
SYSTEM
People's Republic of China, Argentina
Q148 Q414
OR((Q6006585,P27,c(Q15617994)), (Q3377225,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6006585
relation P27
action find
entity Q3377225
relation P27
type Q15617994
[ANSWERS] are Matías Catalán or Wang Yi an inhabitant of
{'OR': [['Q6006585', 'P27', {'concept': 'Q15617994'}], ['Q3377225', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q3377225 property:P27 ?z } UNION { resource:Q6006585 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
People's Republic of China Argentina
People's Republic of China and Argentina are Matías Catalán or Wang Yi an inhabitant of
People's Republic of China Argentina
action filter_type
action union
action find
entity Matías Catalán
relation country of citizenship
action find
entity Wang Yi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Matías Catalán', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Wang Yi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Wang_Yi property:country_of_citizenship ?z } UNION { resource:Matías_Catalán property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q916
P495
Q15617994 Q2342494 Q15416
USER
How many administrative territories are the countries of origin of around the same number of collectables or television programs as Angola ?
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q916
relation P495
type Q2342494
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?z WHERE { { ?b property:P495 ?z . ?z rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P495 ?z . ?z rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15416 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P495 resource:Q916 . { { ?n rdf:type ontology:Q2342494 } UNION { ?n rdf:type ontology:Q15416 } } } } . FILTER ( ?o = ?c ) }
Angola
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Angola
relation country of origin
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?z WHERE { { ?b property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:collectable } UNION { ?b property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:television_program } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:country_of_origin resource:Angola . { { ?n rdf:type ontology:collectable } UNION { ?n rdf:type ontology:television_program } } } } . FILTER ( ?o = ?c ) }
[]
designation for an administrative territorial entity collectable television program
SYSTEM
167
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q916
relation P495
type Q2342494
type Q15416
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?z WHERE { { ?b property:P495 ?z . ?z rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P495 ?z . ?z rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15416 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P495 resource:Q916 . { { ?n rdf:type ontology:Q2342494 } UNION { ?n rdf:type ontology:Q15416 } } } } . FILTER ( ?o = ?c ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
167
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Angola
relation country of origin
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?z WHERE { { ?b property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:collectable } UNION { ?b property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:television_program } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:country_of_origin resource:Angola . { { ?n rdf:type ontology:collectable } UNION { ?n rdf:type ontology:television_program } } } } . FILTER ( ?o = ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q189
P495
Q15617994 Q2342494 Q15416
USER
And what about Iceland?
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q189
relation P495
type Q2342494
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?g ) WHERE { VALUES ( ?k ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?a rdf:type ?k } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { { ?q rdf:type ontology:Q2342494 } UNION { ?q rdf:type ontology:Q15416 } } . ?q property:P495 resource:Q189 } } . FILTER ( ?g = ?w ) }
Iceland
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Iceland
relation country of origin
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?g ) WHERE { VALUES ( ?k ) { ( ontology:television_program ) ( ontology:collectable ) } . ?a rdf:type ?k } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { { ?q rdf:type ontology:collectable } UNION { ?q rdf:type ontology:television_program } } . ?q property:country_of_origin resource:Iceland } } . FILTER ( ?g = ?w ) }
[]
designation for an administrative territorial entity collectable television program
SYSTEM
167
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q189
relation P495
type Q2342494
type Q15416
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?g ) WHERE { VALUES ( ?k ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?a rdf:type ?k } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { { ?q rdf:type ontology:Q2342494 } UNION { ?q rdf:type ontology:Q15416 } } . ?q property:P495 resource:Q189 } } . FILTER ( ?g = ?w ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
167
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Iceland
relation country of origin
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?g ) WHERE { VALUES ( ?k ) { ( ontology:television_program ) ( ontology:collectable ) } . ?a rdf:type ?k } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { { ?q rdf:type ontology:collectable } UNION { ?q rdf:type ontology:television_program } } . ?q property:country_of_origin resource:Iceland } } . FILTER ( ?g = ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6006585
P641
Q349
USER
What did Matías Catalán participate in ?
(Q6006585,P641,c(Q349))
action filter_type
action find
entity Q6006585
relation P641
type Q349
['Q6006585', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q6006585 property:P641 ?b . ?b rdf:type ontology:Q349 }
Matías Catalán
action filter_type
action find
entity Matías Catalán
relation sport
type sport
['Matías Catalán', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Matías_Catalán property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6006585,P641,c(Q349))
action filter_type
action find
entity Q6006585
relation P641
type Q349
Matías Catalán participated in [ANSWER]
['Q6006585', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q6006585 property:P641 ?b . ?b rdf:type ontology:Q349 }
association football
Matías Catalán participated in association football
association football
action filter_type
action find
entity Matías Catalán
relation sport
type sport
['Matías Catalán', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Matías_Catalán property:sport ?b . ?b rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P276
Q191067
USER
Which article is situated at People's Republic of China ?
(c(Q191067),P276,Q148)
action filter_type
action find_reverse
entity Q148
relation P276
type Q191067
[{'concept': 'Q191067'}, 'P276', 'Q148']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q148 . ?q rdf:type ontology:Q191067 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation location
type article
[{'concept': 'article'}, 'location', "People's Republic of China"]
SELECT DISTINCT ?q WHERE { ?q property:location resource:People's_Republic_of_China . ?q rdf:type ontology:article }
[]
article
Q220984
SYSTEM
Opium Wars
Q220984
(c(Q191067),P276,Q148)
action filter_type
action find_reverse
entity Q148
relation P276
type Q191067
[ANSWER] is situated at People's Republic of China
[{'concept': 'Q191067'}, 'P276', 'Q148']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q148 . ?q rdf:type ontology:Q191067 }
Opium Wars
Opium Wars is situated at People's Republic of China
Opium Wars
action filter_type
action find_reverse
entity People's Republic of China
relation location
type article
[{'concept': 'article'}, 'location', "People's Republic of China"]
SELECT DISTINCT ?q WHERE { ?q property:location resource:People's_Republic_of_China . ?q rdf:type ontology:article }
[]