Simple Question (Direct)
Simple Question
Q1527457
P19
Q486972
USER
Where was Walter E. Fuß born ?
(Q1527457,P19,c(Q486972))
action filter_type
action find
entity Q1527457
relation P19
type Q486972
['Q1527457', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { resource:Q1527457 property:P19 ?z . ?z rdf:type ontology:Q486972 }
Walter E. Fuß
action filter_type
action find
entity Walter E. Fuß
relation place of birth
type human settlement
['Walter E. Fuß', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { resource:Walter_E._Fuß property:place_of_birth ?z . ?z rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1527457,P19,c(Q486972))
action filter_type
action find
entity Q1527457
relation P19
type Q486972
Walter E . Fuß was born in [ANSWER]
['Q1527457', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { resource:Q1527457 property:P19 ?z . ?z rdf:type ontology:Q486972 }
Hamburg
Walter E . Fuß was born in Hamburg
Hamburg
action filter_type
action find
entity Walter E. Fuß
relation place of birth
type human settlement
['Walter E. Fuß', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { resource:Walter_E._Fuß property:place_of_birth ?z . ?z rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1527457
P106
Q12737077
USER
Which occupations are the professions of Walter E. Fuß ?
(Q1527457,P106,c(Q12737077))
action filter_type
action find
entity Q1527457
relation P106
type Q12737077
['Q1527457', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1527457 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Walter E. Fuß
action filter_type
action find
entity Walter E. Fuß
relation occupation
type occupation
['Walter E. Fuß', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Walter_E._Fuß property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q33999 Q2259451
SYSTEM
actor, stage actor
Q33999 Q2259451
(Q1527457,P106,c(Q12737077))
action filter_type
action find
entity Q1527457
relation P106
type Q12737077
The professions of Walter E. Fuß are stage [ANSWERS]
['Q1527457', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1527457 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
actor stage actor
The professions of Walter E. Fuß are stage actor and stage actor
actor stage actor
action filter_type
action find
entity Walter E. Fuß
relation occupation
type occupation
['Walter E. Fuß', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Walter_E._Fuß property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1527457
P21
Q290
USER
What is the sex of Walter E. Fuß ?
(Q1527457,P21,c(Q290))
action filter_type
action find
entity Q1527457
relation P21
type Q290
['Q1527457', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q1527457 property:P21 ?v }
Walter E. Fuß
action filter_type
action find
entity Walter E. Fuß
relation gender
type sex
['Walter E. Fuß', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Walter_E._Fuß property:gender ?v }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1527457,P21,c(Q290))
action filter_type
action find
entity Q1527457
relation P21
type Q290
The sex of Walter E. Fuß is the [ANSWER]
['Q1527457', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q1527457 property:P21 ?v }
male
The sex of Walter E. Fuß is the male
male
action filter_type
action find
entity Walter E. Fuß
relation gender
type sex
['Walter E. Fuß', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Walter_E._Fuß property:gender ?v }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q78780
Q290
USER
And what about Franz Sacher?
(Q78780,P21,c(Q290))
action filter_type
action find
entity Q78780
relation P21
type Q290
['Q78780', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q78780 property:P21 ?w . ?w rdf:type ontology:Q290 }
Franz Sacher
action filter_type
action find
entity Franz Sacher
relation gender
type sex
['Franz Sacher', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Franz_Sacher property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q78780,P21,c(Q290))
action filter_type
action find
entity Q78780
relation P21
type Q290
[ANSWER]
['Q78780', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q78780 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Franz Sacher
relation gender
type sex
['Franz Sacher', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Franz_Sacher property:gender ?w . ?w rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q3174248
P21
Q502895
USER
Does Jean Raymond Charles Bourke have that sex as the sex ?
(Q3174248,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3174248
relation P21
['Q3174248', 'P21', 'Q6581097']
ASK WHERE { resource:Q3174248 property:P21 resource:Q6581097 }
male Jean Raymond Charles Bourke
action is_in
entity male
action find
entity Jean Raymond Charles Bourke
relation gender
['Jean Raymond Charles Bourke', 'gender', 'male']
ASK WHERE { resource:Jean_Raymond_Charles_Bourke property:gender resource:male }
[]
common name
SYSTEM
YES
(Q3174248,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3174248
relation P21
[ANSWER]
['Q3174248', 'P21', 'Q6581097']
ASK WHERE { resource:Q3174248 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Jean Raymond Charles Bourke
relation gender
['Jean Raymond Charles Bourke', 'gender', 'male']
ASK WHERE { resource:Jean_Raymond_Charles_Bourke property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1527457 Q503411 Q790338
P20
Q515
USER
Does Walter E. Fuß have Inuyama and Râșnov as the location of death ?
(Q1527457,P20,Q503411) (Q1527457,P20,Q790338)
action is_in
entity Q1527457
action intersection
action find_reverse
entity Q503411
relation P20
action find_reverse
entity Q790338
relation P20
['Q1527457', 'P20', 'Q503411'] ['Q1527457', 'P20', 'Q790338']
ASK WHERE { resource:Q1527457 property:P20 resource:Q503411 . resource:Q1527457 property:P20 resource:Q790338 }
Walter E. Fuß Inuyama Râșnov
action is_in
entity Walter E. Fuß
action intersection
action find_reverse
entity Inuyama
relation place of death
action find_reverse
entity Râșnov
relation place of death
['Walter E. Fuß', 'place of death', 'Inuyama'] ['Walter E. Fuß', 'place of death', 'Râșnov']
ASK WHERE { resource:Walter_E._Fuß property:place_of_death resource:Inuyama . resource:Walter_E._Fuß property:place_of_death resource:Râșnov }
[]
city
SYSTEM
NO
(Q1527457,P20,Q503411) (Q1527457,P20,Q790338)
action is_in
entity Q1527457
action intersection
action find_reverse
entity Q503411
relation P20
action find_reverse
entity Q790338
relation P20
[ANSWER]
['Q1527457', 'P20', 'Q503411'] ['Q1527457', 'P20', 'Q790338']
ASK WHERE { resource:Q1527457 property:P20 resource:Q503411 . resource:Q1527457 property:P20 resource:Q790338 }
No
action is_in
entity Walter E. Fuß
action intersection
action find_reverse
entity Inuyama
relation place of death
action find_reverse
entity Râșnov
relation place of death
['Walter E. Fuß', 'place of death', 'Inuyama'] ['Walter E. Fuß', 'place of death', 'Râșnov']
ASK WHERE { resource:Walter_E._Fuß property:place_of_death resource:Inuyama . resource:Walter_E._Fuß property:place_of_death resource:Râșnov }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1055 Q6506 Q1297
P190
Q56061
USER
Is Hamburg twin town of Varna and Chicago ?
(Q1055,P190,Q6506) (Q1055,P190,Q1297)
action is_in
entity Q1055
action intersection
action find_reverse
entity Q6506
relation P190
action find_reverse
entity Q1297
relation P190
['Q1055', 'P190', 'Q6506'] ['Q1055', 'P190', 'Q1297']
ASK WHERE { resource:Q1055 property:P190 resource:Q6506 . resource:Q1055 property:P190 resource:Q1297 }
Hamburg Varna Chicago
action is_in
entity Hamburg
action intersection
action find_reverse
entity Varna
relation sister city
action find_reverse
entity Chicago
relation sister city
['Hamburg', 'sister city', 'Varna'] ['Hamburg', 'sister city', 'Chicago']
ASK WHERE { resource:Hamburg property:sister_city resource:Varna . resource:Hamburg property:sister_city resource:Chicago }
[]
administrative territorial entity
SYSTEM
YES
(Q1055,P190,Q6506) (Q1055,P190,Q1297)
action is_in
entity Q1055
action intersection
action find_reverse
entity Q6506
relation P190
action find_reverse
entity Q1297
relation P190
[ANSWER]
['Q1055', 'P190', 'Q6506'] ['Q1055', 'P190', 'Q1297']
ASK WHERE { resource:Q1055 property:P190 resource:Q6506 . resource:Q1055 property:P190 resource:Q1297 }
Yes
action is_in
entity Hamburg
action intersection
action find_reverse
entity Varna
relation sister city
action find_reverse
entity Chicago
relation sister city
['Hamburg', 'sister city', 'Varna'] ['Hamburg', 'sister city', 'Chicago']
ASK WHERE { resource:Hamburg property:sister_city resource:Varna . resource:Hamburg property:sister_city resource:Chicago }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3306377
P138
Q2472587 Q502895 Q486972
USER
How many human settlements have greater number of peoples and people as their namesake than Mercier-Est ?
(c(Q486972),P138,c(Q2472587)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q486972
type Q2472587
action find_tuple_counts
relation P138
type Q486972
type Q502895
action count
action filter_multi_types
action find
entity Q3306377
relation P138
type Q2472587
type Q502895
[{'concept': 'Q486972'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) ?l WHERE { { ?l property:P138 ?u . ?l rdf:type ontology:Q486972 . ?u rdf:type ontology:Q502895 } UNION { ?l rdf:type ontology:Q486972 . ?u rdf:type ontology:Q2472587 . ?l property:P138 ?u } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q3306377 property:P138 ?h . { { ?h rdf:type ontology:Q2472587 } UNION { ?h rdf:type ontology:Q502895 } } } } . FILTER ( ?o > ?r ) }
Mercier-Est
action count
action greater
action union
action find_tuple_counts
relation named after
type human settlement
type people
action find_tuple_counts
relation named after
type human settlement
type common name
action count
action filter_multi_types
action find
entity Mercier-Est
relation named after
type people
type common name
[{'concept': 'human settlement'}, 'named after', [{'concept': 'people'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) ?l WHERE { { ?l property:named_after ?u . ?l rdf:type ontology:human_settlement . ?u rdf:type ontology:common_name } UNION { ?l rdf:type ontology:human_settlement . ?u rdf:type ontology:people . ?l property:named_after ?u } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Mercier-Est property:named_after ?h . { { ?h rdf:type ontology:people } UNION { ?h rdf:type ontology:common_name } } } } . FILTER ( ?o > ?r ) }
[]
people common name human settlement
SYSTEM
65
Q17149400 Q7598636 Q5763347 Q1683228 Q1510158 Q1256512 Q2792890 Q1033949 Q16131638 Q735912 Q783854 Q14345064 Q18388510 Q7971580 Q6928093 Q6504819 Q983650 Q48256 Q2991444 Q290356 Q976539 Q1742210 Q3593074 Q2935221 Q14914641 Q1888614 Q861363 Q5055608 Q1087169 Q3558487 Q6667162 Q7996570 Q4283923 Q967732 Q2416235 Q2918829 Q19904243 Q86768 Q6914022 Q925544 Q981354 Q2069816 Q7926541 Q3375567 Q2175554 Q3306374 Q1299923 Q76937 Q5750556 Q5487991 Q3462814 Q981934 Q9009279 Q2121780 Q4570781 Q27622959 Q24190423 Q1847830 Q7971406 Q6118795 Q2029443 Q12426646 Q2185534 Q4335 Q3172802
(c(Q486972),P138,c(Q2472587)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q486972
type Q2472587
action find_tuple_counts
relation P138
type Q486972
type Q502895
action count
action filter_multi_types
action find
entity Q3306377
relation P138
type Q2472587
type Q502895
[ANSWER]
[{'concept': 'Q486972'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) ?l WHERE { { ?l property:P138 ?u . ?l rdf:type ontology:Q486972 . ?u rdf:type ontology:Q502895 } UNION { ?l rdf:type ontology:Q486972 . ?u rdf:type ontology:Q2472587 . ?l property:P138 ?u } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q3306377 property:P138 ?h . { { ?h rdf:type ontology:Q2472587 } UNION { ?h rdf:type ontology:Q502895 } } } } . FILTER ( ?o > ?r ) }
Sant'Antonio d'Adda Standish Hillman City Röntgental Tokeland Stuwerviertel Muir Beach Cantwell Givat Olga Nellis Air Force Base Fort Hood Sint-Anna Ramat Elchanan Washington's Landing Mościce Lawrenceville Fort Knox Dnipro Abasolo San Pedro Fort Davis Kinkerbuurt île Feydeau Camp Lemonnier Mahatma Gandhi District Roeterseiland Christianshavn Cagaloglu Fort Dix Villa Castelli Logan Square Whitley Heights Ataliva Roca Belltown Quintino Bocaiúva Nuseirat Camp Dumontwijk Bel Air Morrison Hill Kungens Kurva Bigfoot Per-Albin-Hansson-Siedlung Victoria Perrache Logan Circle Mercier Ehrenberg Willemstad, North Brabant Hiawatha Frank Lloyd Wright-Prairie School of Architecture Historic District Kalininskaya, Krasnodar Krai Gail Ireneo Portela Sint-Anna Lincoln University Davy Brown Campground Lamington Pacaltsdorp Waser San Francisco de Olivenza Ordzhonikidzevskaya Chirag Delhi Willemspark Pointe-au-Père, Quebec Jean Jaurès-Petit-Banque
65
action count
action greater
action union
action find_tuple_counts
relation named after
type human settlement
type people
action find_tuple_counts
relation named after
type human settlement
type common name
action count
action filter_multi_types
action find
entity Mercier-Est
relation named after
type people
type common name
[{'concept': 'human settlement'}, 'named after', [{'concept': 'people'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) ?l WHERE { { ?l property:named_after ?u . ?l rdf:type ontology:human_settlement . ?u rdf:type ontology:common_name } UNION { ?l rdf:type ontology:human_settlement . ?u rdf:type ontology:people . ?l property:named_after ?u } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Mercier-Est property:named_after ?h . { { ?h rdf:type ontology:people } UNION { ?h rdf:type ontology:common_name } } } } . FILTER ( ?o > ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q519788
P138
Q2472587 Q502895 Q486972
USER
And what about Leningradskaya (rural locality)?
(c(Q486972),P138,c(Q2472587)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q486972
type Q2472587
action find_tuple_counts
relation P138
type Q486972
type Q502895
action count
action filter_multi_types
action find
entity Q519788
relation P138
type Q2472587
type Q502895
[{'concept': 'Q486972'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:Q519788 property:P138 ?d . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2472587 ) ( ontology:Q502895 ) } } } } . FILTER ( ?s > ?p ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?f WHERE { { ?f property:P138 ?q . ?q rdf:type ontology:Q2472587 . ?f rdf:type ontology:Q486972 } UNION { ?f rdf:type ontology:Q486972 . ?q rdf:type ontology:Q502895 . ?f property:P138 ?q } } GROUP BY ?f } }
Leningradskaya (rural locality)
action count
action greater
action union
action find_tuple_counts
relation named after
type human settlement
type people
action find_tuple_counts
relation named after
type human settlement
type common name
action count
action filter_multi_types
action find
entity Leningradskaya (rural locality)
relation named after
type people
type common name
[{'concept': 'human settlement'}, 'named after', [{'concept': 'people'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:Leningradskaya_(rural_locality) property:named_after ?d . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:people ) ( ontology:common_name ) } } } } . FILTER ( ?s > ?p ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?f WHERE { { ?f property:named_after ?q . ?q rdf:type ontology:people . ?f rdf:type ontology:human_settlement } UNION { ?f rdf:type ontology:human_settlement . ?q rdf:type ontology:common_name . ?f property:named_after ?q } } GROUP BY ?f } }
[]
people common name human settlement
SYSTEM
65
Q17149400 Q7598636 Q5763347 Q1683228 Q1510158 Q1256512 Q2792890 Q1033949 Q16131638 Q735912 Q783854 Q14345064 Q18388510 Q7971580 Q6928093 Q6504819 Q983650 Q48256 Q2991444 Q290356 Q976539 Q1742210 Q3593074 Q2935221 Q14914641 Q1888614 Q861363 Q5055608 Q1087169 Q3558487 Q6667162 Q7996570 Q4283923 Q967732 Q2416235 Q2918829 Q19904243 Q86768 Q6914022 Q925544 Q981354 Q2069816 Q7926541 Q3375567 Q2175554 Q3306374 Q1299923 Q76937 Q5750556 Q5487991 Q3462814 Q981934 Q9009279 Q2121780 Q4570781 Q27622959 Q24190423 Q1847830 Q7971406 Q6118795 Q2029443 Q12426646 Q2185534 Q4335 Q3172802
(c(Q486972),P138,c(Q2472587)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q486972
type Q2472587
action find_tuple_counts
relation P138
type Q486972
type Q502895
action count
action filter_multi_types
action find
entity Q519788
relation P138
type Q2472587
type Q502895
[ANSWER]
[{'concept': 'Q486972'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:Q519788 property:P138 ?d . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2472587 ) ( ontology:Q502895 ) } } } } . FILTER ( ?s > ?p ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?f WHERE { { ?f property:P138 ?q . ?q rdf:type ontology:Q2472587 . ?f rdf:type ontology:Q486972 } UNION { ?f rdf:type ontology:Q486972 . ?q rdf:type ontology:Q502895 . ?f property:P138 ?q } } GROUP BY ?f } }
Sant'Antonio d'Adda Standish Hillman City Röntgental Tokeland Stuwerviertel Muir Beach Cantwell Givat Olga Nellis Air Force Base Fort Hood Sint-Anna Ramat Elchanan Washington's Landing Mościce Lawrenceville Fort Knox Dnipro Abasolo San Pedro Fort Davis Kinkerbuurt île Feydeau Camp Lemonnier Mahatma Gandhi District Roeterseiland Christianshavn Cagaloglu Fort Dix Villa Castelli Logan Square Whitley Heights Ataliva Roca Belltown Quintino Bocaiúva Nuseirat Camp Dumontwijk Bel Air Morrison Hill Kungens Kurva Bigfoot Per-Albin-Hansson-Siedlung Victoria Perrache Logan Circle Mercier Ehrenberg Willemstad, North Brabant Hiawatha Frank Lloyd Wright-Prairie School of Architecture Historic District Kalininskaya, Krasnodar Krai Gail Ireneo Portela Sint-Anna Lincoln University Davy Brown Campground Lamington Pacaltsdorp Waser San Francisco de Olivenza Ordzhonikidzevskaya Chirag Delhi Willemspark Pointe-au-Père, Quebec Jean Jaurès-Petit-Banque
65
action count
action greater
action union
action find_tuple_counts
relation named after
type human settlement
type people
action find_tuple_counts
relation named after
type human settlement
type common name
action count
action filter_multi_types
action find
entity Leningradskaya (rural locality)
relation named after
type people
type common name
[{'concept': 'human settlement'}, 'named after', [{'concept': 'people'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:Leningradskaya_(rural_locality) property:named_after ?d . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:people ) ( ontology:common_name ) } } } } . FILTER ( ?s > ?p ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?f WHERE { { ?f property:named_after ?q . ?q rdf:type ontology:people . ?f rdf:type ontology:human_settlement } UNION { ?f rdf:type ontology:human_settlement . ?q rdf:type ontology:common_name . ?f property:named_after ?q } } GROUP BY ?f } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q85848 Q3306377
P27 P17
Q1048835
USER
Which political territories are Mercier-Est situated in or are Ursula Lingen an inhabitant of ?
OR((Q3306377,P17,c(Q1048835)), (Q85848,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q3306377
relation P17
action find
entity Q85848
relation P27
type Q1048835
{'OR': [['Q3306377', 'P17', {'concept': 'Q1048835'}], ['Q85848', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q3306377 property:P17 ?n } UNION { resource:Q85848 property:P27 ?n } } . ?n rdf:type ontology:Q1048835 }
Ursula Lingen Mercier-Est
action filter_type
action union
action find
entity Mercier-Est
relation country
action find
entity Ursula Lingen
relation country of citizenship
type political territorial entity
{'OR': [['Mercier-Est', 'country', {'concept': 'political territorial entity'}], ['Ursula Lingen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Mercier-Est property:country ?n } UNION { resource:Ursula_Lingen property:country_of_citizenship ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q40
SYSTEM
Canada, Austria
Q16 Q40
OR((Q3306377,P17,c(Q1048835)), (Q85848,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q3306377
relation P17
action find
entity Q85848
relation P27
type Q1048835
[ANSWERS] are Mercier-Est situated in or are Ursula Lingen an inhabitant of
{'OR': [['Q3306377', 'P17', {'concept': 'Q1048835'}], ['Q85848', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q3306377 property:P17 ?n } UNION { resource:Q85848 property:P27 ?n } } . ?n rdf:type ontology:Q1048835 }
Canada Austria
Canada and Austria are Mercier-Est situated in or are Ursula Lingen an inhabitant of
Canada Austria
action filter_type
action union
action find
entity Mercier-Est
relation country
action find
entity Ursula Lingen
relation country of citizenship
type political territorial entity
{'OR': [['Mercier-Est', 'country', {'concept': 'political territorial entity'}], ['Ursula Lingen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Mercier-Est property:country ?n } UNION { resource:Ursula_Lingen property:country_of_citizenship ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1055
P190
Q515 Q56061
USER
How many cities or administrative territories are twin towns of Hamburg ?
(Q1055,P190,c(Q515)) (Q1055,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q1055
relation P190
type Q515
action filter_type
action find
entity Q1055
relation P190
type Q56061
['Q1055', 'P190', {'concept': 'Q515'}] ['Q1055', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { ?u rdf:type ontology:Q515 . resource:Q1055 property:P190 ?u } UNION { resource:Q1055 property:P190 ?u . ?u rdf:type ontology:Q56061 } }
Hamburg
action count
action union
action filter_type
action find
entity Hamburg
relation sister city
type city
action filter_type
action find
entity Hamburg
relation sister city
type administrative territorial entity
['Hamburg', 'sister city', {'concept': 'city'}] ['Hamburg', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { ?u rdf:type ontology:city . resource:Hamburg property:sister_city ?u } UNION { resource:Hamburg property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity } }
[]
city administrative territorial entity
SYSTEM
9
Q8686 Q23482 Q6506 Q37100 Q1731 Q1960 Q1297 Q1085 Q208151
(Q1055,P190,c(Q515)) (Q1055,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q1055
relation P190
type Q515
action filter_type
action find
entity Q1055
relation P190
type Q56061
[ANSWER]
['Q1055', 'P190', {'concept': 'Q515'}] ['Q1055', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { ?u rdf:type ontology:Q515 . resource:Q1055 property:P190 ?u } UNION { resource:Q1055 property:P190 ?u . ?u rdf:type ontology:Q56061 } }
Shanghai Marseille Varna Auckland Dresden Dar es Salaam Chicago Prague León
9
action count
action union
action filter_type
action find
entity Hamburg
relation sister city
type city
action filter_type
action find
entity Hamburg
relation sister city
type administrative territorial entity
['Hamburg', 'sister city', {'concept': 'city'}] ['Hamburg', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { ?u rdf:type ontology:city . resource:Hamburg property:sister_city ?u } UNION { resource:Hamburg property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
How many political territories have ambassadorial relations with approximately 10 political territories ?
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 10
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { FILTER ( ?b = 10 ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?b ) WHERE { ?a rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q1048835 . ?a property:P530 ?c } GROUP BY ?a } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 10
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { FILTER ( ?b = 10 ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?b ) WHERE { ?a rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:political_territorial_entity . ?a property:diplomatic_relation ?c } GROUP BY ?a } }
[]
political territorial entity political territorial entity
SYSTEM
1
Q408
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 10
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { FILTER ( ?b = 10 ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?b ) WHERE { ?a rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q1048835 . ?a property:P530 ?c } GROUP BY ?a } }
Australia
1
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 10
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { FILTER ( ?b = 10 ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?b ) WHERE { ?a rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:political_territorial_entity . ?a property:diplomatic_relation ?c } GROUP BY ?a } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q155
P530
Q1048835 Q15617994
USER
How many administrative territories are known to have diplomatic connections with approximately the same number of political territories as Brazil ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q155
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?w ) WHERE { ?s property:P530 ?y . ?s rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Q155 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?r ) }
Brazil
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?w ) WHERE { ?s property:diplomatic_relation ?y . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Brazil property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?r ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
3
Q155 Q38 Q953
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q155
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?w ) WHERE { ?s property:P530 ?y . ?s rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Q155 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?r ) }
Brazil Italy Zambia
3
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?w ) WHERE { ?s property:diplomatic_relation ?y . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Brazil property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1049
P530
Q1048835 Q15617994
USER
And also tell me about Sudan?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1049
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?c ) WHERE { ?d property:P530 ?i . ?d rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q1049 property:P530 ?a } } . FILTER ( ?c = ?k ) }
Sudan
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?c ) WHERE { ?d property:diplomatic_relation ?i . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sudan property:diplomatic_relation ?a } } . FILTER ( ?c = ?k ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
124
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1049
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?c ) WHERE { ?d property:P530 ?i . ?d rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q1049 property:P530 ?a } } . FILTER ( ?c = ?k ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
124
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?c ) WHERE { ?d property:diplomatic_relation ?i . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sudan property:diplomatic_relation ?a } } . FILTER ( ?c = ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
How many political territories have ambassadorial relations with approximately 9 political territories ?
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 9
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?f ) WHERE { ?t property:P530 ?k . ?t rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q1048835 } GROUP BY ?t } . FILTER ( ?f = 9 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 9
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?f ) WHERE { ?t property:diplomatic_relation ?k . ?t rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?t } . FILTER ( ?f = 9 ) }
[]
political territorial entity political territorial entity
SYSTEM
1
Q408
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 9
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?f ) WHERE { ?t property:P530 ?k . ?t rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q1048835 } GROUP BY ?t } . FILTER ( ?f = 9 ) }
Australia
1
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 9
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?f ) WHERE { ?t property:diplomatic_relation ?k . ?t rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?t } . FILTER ( ?f = 9 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q16
P27
Q6619679 Q874405
USER
How many fictional humanoids and social groups are civilians of Canada ?
(c(Q6619679),P27,Q16) (c(Q874405),P27,Q16)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P27
type Q6619679
action filter_type
action find_reverse
entity Q16
relation P27
type Q874405
[{'concept': 'Q6619679'}, 'P27', 'Q16'] [{'concept': 'Q874405'}, 'P27', 'Q16']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:P27 resource:Q16 . ?z rdf:type ontology:Q6619679 } UNION { ?z rdf:type ontology:Q874405 . ?z property:P27 resource:Q16 } }
Canada
action count
action union
action filter_type
action find_reverse
entity Canada
relation country of citizenship
type fictional humanoid
action filter_type
action find_reverse
entity Canada
relation country of citizenship
type social group
[{'concept': 'fictional humanoid'}, 'country of citizenship', 'Canada'] [{'concept': 'social group'}, 'country of citizenship', 'Canada']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:country_of_citizenship resource:Canada . ?z rdf:type ontology:fictional_humanoid } UNION { ?z rdf:type ontology:social_group . ?z property:country_of_citizenship resource:Canada } }
[]
fictional humanoid social group
SYSTEM
2 fictional humanoids and 1 social groups
Q3874182 Q3065277 Q3115789
(c(Q6619679),P27,Q16) (c(Q874405),P27,Q16)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P27
type Q6619679
action filter_type
action find_reverse
entity Q16
relation P27
type Q874405
[ANSWER]
[{'concept': 'Q6619679'}, 'P27', 'Q16'] [{'concept': 'Q874405'}, 'P27', 'Q16']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:P27 resource:Q16 . ?z rdf:type ontology:Q6619679 } UNION { ?z rdf:type ontology:Q874405 . ?z property:P27 resource:Q16 } }
Ned Land Lavigueur family Graviton
2 fictional humanoids and 1 social groups
action count
action union
action filter_type
action find_reverse
entity Canada
relation country of citizenship
type fictional humanoid
action filter_type
action find_reverse
entity Canada
relation country of citizenship
type social group
[{'concept': 'fictional humanoid'}, 'country of citizenship', 'Canada'] [{'concept': 'social group'}, 'country of citizenship', 'Canada']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:country_of_citizenship resource:Canada . ?z rdf:type ontology:fictional_humanoid } UNION { ?z rdf:type ontology:social_group . ?z property:country_of_citizenship resource:Canada } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P37
Q34770
USER
What is recognized as the official language of that political territory ?
action filter_type
action find
entity Q16
relation P37
type Q34770
SELECT DISTINCT ?p WHERE { resource:Q16 property:P37 ?p . ?p rdf:type ontology:Q34770 }
Canada
action filter_type
action find
entity Canada
relation official language
type language
SELECT DISTINCT ?p WHERE { resource:Canada property:official_language ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
action filter_type
action find
entity Q16
relation P37
type Q34770
[ANSWER] is recognized as the official language of that political territory
SELECT DISTINCT ?p WHERE { resource:Q16 property:P37 ?p . ?p rdf:type ontology:Q34770 }
English
English is recognized as the official language of that political territory
English
action filter_type
action find
entity Canada
relation official language
type language
SELECT DISTINCT ?p WHERE { resource:Canada property:official_language ?p . ?p rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q2001982 Q34770
USER
Which notations are used as the scripts for atleast 1 language ?
(c(Q34770),P282,c(Q2001982))
action atleast
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P282 ?u . ?u rdf:type ontology:Q2001982 . ?j rdf:type ontology:Q34770 } GROUP BY ?u } . FILTER ( ?i >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation writing system
type notation
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:writing_system ?u . ?u rdf:type ontology:notation . ?j rdf:type ontology:language } GROUP BY ?u } . FILTER ( ?i >= 1 ) }
[]
notation language
Q82772 Q790681 Q401
SYSTEM
kanji, Avestan alphabet, cuneiform
Q82772 Q8216 Q1771716 Q3322653 Q790681 Q401
(c(Q34770),P282,c(Q2001982))
action atleast
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
value 1
[ANSWERS] are used as the scripts for atleast 1 language
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P282 ?u . ?u rdf:type ontology:Q2001982 . ?j rdf:type ontology:Q34770 } GROUP BY ?u } . FILTER ( ?i >= 1 ) }
kanji Greek alphabet Pahlavi scripts Southwest Paleohispanic script Avestan alphabet cuneiform
Kanji, Avestan alphabet and cuneiform are used as the scripts for atleast 1 language
kanji Avestan alphabet cuneiform
action atleast
action find_reverse_tuple_counts
relation writing system
type notation
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:writing_system ?u . ?u rdf:type ontology:notation . ?j rdf:type ontology:language } GROUP BY ?u } . FILTER ( ?i >= 1 ) }
[]