Simple Question (Direct)
Simple Question
Q6631790
P27
Q15617994
USER
Which administrative territory is the native country of Sarawut Masuk ?
(Q6631790,P27,c(Q15617994))
action filter_type
action find
entity Q6631790
relation P27
type Q15617994
['Q6631790', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q6631790 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Sarawut Masuk
action filter_type
action find
entity Sarawut Masuk
relation country of citizenship
type designation for an administrative territorial entity
['Sarawut Masuk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Sarawut_Masuk property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869
SYSTEM
Thailand
Q869
(Q6631790,P27,c(Q15617994))
action filter_type
action find
entity Q6631790
relation P27
type Q15617994
[ANSWER] is the native country of Sarawut Masuk
['Q6631790', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q6631790 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Thailand
Thailand is the native country of Sarawut Masuk
Thailand
action filter_type
action find
entity Sarawut Masuk
relation country of citizenship
type designation for an administrative territorial entity
['Sarawut Masuk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Sarawut_Masuk property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6631790
P106
Q12737077
USER
What does that person do for a living ?
(Q869,P106,c(Q12737077))
action filter_type
action find
entity Q6631790
relation P106
type Q12737077
['Q869', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q6631790 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Sarawut Masuk
action filter_type
action find
entity Sarawut Masuk
relation occupation
type occupation
['Thailand', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Sarawut_Masuk property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q869,P106,c(Q12737077))
action filter_type
action find
entity Q6631790
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q869', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q6631790 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Sarawut Masuk
relation occupation
type occupation
['Thailand', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Sarawut_Masuk property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P425
Q349
USER
How many sports have that occupation as the associated fields of occupation ?
(Q937857,P425,c(Q349))
action count
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q937857 property:P425 ?y . ?y rdf:type ontology:Q349 }
action count
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:association_football_player property:field_of_this_occupation ?y . ?y rdf:type ontology:sport }
[]
sport
SYSTEM
1
Q2736
(Q937857,P425,c(Q349))
action count
action filter_type
action find
entity Q937857
relation P425
type Q349
[ANSWER]
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q937857 property:P425 ?y . ?y rdf:type ontology:Q349 }
association football
1
action count
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:association_football_player property:field_of_this_occupation ?y . ?y rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2931336 Q937857
P425 P641
Q349
USER
Which sports are associated with the field of occupation association football player and were CFF Clujana a part of ?
AND((Q937857,P425,c(Q349)), (Q2931336,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q2931336
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q2931336', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?s WHERE { resource:Q937857 property:P425 ?s . resource:Q2931336 property:P641 ?s . ?s rdf:type ontology:Q349 }
CFF Clujana association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity CFF Clujana
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['CFF Clujana', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?s WHERE { resource:association_football_player property:field_of_this_occupation ?s . resource:CFF_Clujana property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q2931336,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q2931336
relation P641
type Q349
Team [ANSWER] is associated with the field of occupation [ANSWER] player and were CFF Clujana a part of
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q2931336', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?s WHERE { resource:Q937857 property:P425 ?s . resource:Q2931336 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
Team association football is associated with the field of occupation association football player and were CFF Clujana a part of
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity CFF Clujana
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['CFF Clujana', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?s WHERE { resource:association_football_player property:field_of_this_occupation ?s . resource:CFF_Clujana property:sport ?s . ?s rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q43229 Q2342494
USER
Which sports are the field of work of more number of organizations or collectables than that sport ?
(c(Q43229)|c(Q2342494),P101,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q43229
type Q2342494
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:Q43229 ) ( ontology:Q2342494 ) } } GROUP BY ?a } . FILTER ( ?q > ?w ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { { ?r rdf:type ontology:Q2342494 } UNION { ?r rdf:type ontology:Q43229 } } . ?r property:P101 resource:Q2736 } } }
action greater
action union
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type organization
type collectable
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:organization ) ( ontology:collectable ) } } GROUP BY ?a } . FILTER ( ?q > ?w ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { { ?r rdf:type ontology:collectable } UNION { ?r rdf:type ontology:organization } } . ?r property:field_of_work resource:association_football } } }
[]
sport organization collectable
Q1109032 Q114466
SYSTEM
college football, mixed martial arts
Q1109032 Q114466
(c(Q43229)|c(Q2342494),P101,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q43229
type Q2342494
[ANSWERS] are the field of work of more number of organizations or collectables than that sport
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:Q43229 ) ( ontology:Q2342494 ) } } GROUP BY ?a } . FILTER ( ?q > ?w ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { { ?r rdf:type ontology:Q2342494 } UNION { ?r rdf:type ontology:Q43229 } } . ?r property:P101 resource:Q2736 } } }
college football mixed martial arts
College football and mixed martial arts are the field of work of more number of organizations or collectables than that sport
college football mixed martial arts
action greater
action union
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type organization
type collectable
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:organization ) ( ontology:collectable ) } } GROUP BY ?a } . FILTER ( ?q > ?w ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { { ?r rdf:type ontology:collectable } UNION { ?r rdf:type ontology:organization } } . ?r property:field_of_work resource:association_football } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q502895 Q2342494
USER
Which sports do approximately the same number of people and collectables belong to as that sport ?
(c(Q502895)|c(Q2342494),P101,c(Q349))
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:sport . ?x rdf:type ontology:collectable }
[]
sport common name collectable
Comparative|More/Less|Mult. entity type|Clarification
Q114466
SYSTEM
Did you mean mixed martial arts ?
(c(Q502895)|c(Q2342494),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q2342494 }
Did you mean mixed martial arts ?
mixed martial arts
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:sport . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
USER
No, I meant college football. Could you tell me the answer for that?
(c(Q502895)|c(Q2342494),P101,c(Q349))
Q1109032
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
[]
Q809831 Q136851 Q10962
SYSTEM
BASE jumping, curling, rugby league
Q10962 Q136851 Q1109032 Q5375 Q22857 Q14300548 Q1734 Q12100 Q8418 Q15991265 Q2215841 Q108429 Q592031 Q7707 Q809831 Q847 Q3177899 Q177275 Q42486 Q5372 Q2167372 Q130949 Q1497658 Q178678 Q41466 Q114466 Q328716 Q131359 Q201965 Q2922870 Q204686 Q11420 Q124100 Q1541373 Q41323
(c(Q502895)|c(Q2342494),P101,c(Q349))
[ANSWERS] approximately the same number of people and collectables belong to as that sport
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q2342494 }
rugby league curling college football cricket climbing skating volleyball fencing handball amateur football cycle sport archery wingsuit flying water polo BASE jumping tennis bowling bobsleigh wrestling basketball fell running skiing memory sport kick boxing ice hockey mixed martial arts motorcycle sport professional wrestling Nordic combined boxe winter sport judo bodybuilding sport climbing American football
BASE jumping, curling and rugby league approximately the same number of people and collectables belong to as that sport
BASE jumping curling rugby league
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:sport . ?x rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q809831 Q136851 Q10962
P101
Q502895
USER
Which people have his/her area as those sports ?
(c(Q502895),P101,Q809831) (c(Q502895),P101,Q136851) (c(Q502895),P101,Q10962)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q809831'] [{'concept': 'Q502895'}, 'P101', 'Q136851'] [{'concept': 'Q502895'}, 'P101', 'Q10962']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . VALUES ( ?x ) { ( resource:Q10962 ) ( resource:Q136851 ) ( resource:Q1109032 ) } . ?q property:P101 ?x }
BASE jumping curling rugby league
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'BASE jumping'] [{'concept': 'common name'}, 'field of work', 'curling'] [{'concept': 'common name'}, 'field of work', 'rugby league']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . VALUES ( ?x ) { ( resource:rugby_league ) ( resource:curling ) ( resource:college_football ) } . ?q property:field_of_work ?x }
[]
common name
Q331467 Q6141195 Q15294474
SYSTEM
Henri Aldebert, James Peters, Fred Fugen
Q15294474 Q331467 Q6141195 Q6701930
(c(Q502895),P101,Q809831) (c(Q502895),P101,Q136851) (c(Q502895),P101,Q10962)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] have his/her area as those sports
[{'concept': 'Q502895'}, 'P101', 'Q809831'] [{'concept': 'Q502895'}, 'P101', 'Q136851'] [{'concept': 'Q502895'}, 'P101', 'Q10962']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . VALUES ( ?x ) { ( resource:Q10962 ) ( resource:Q136851 ) ( resource:Q1109032 ) } . ?q property:P101 ?x }
Fred Fugen Henri Aldebert James Peters Luke Duffy
Henri Aldebert, James Peters and Fred Fugen have his/her area as those sports
Henri Aldebert James Peters Fred Fugen
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'BASE jumping'] [{'concept': 'common name'}, 'field of work', 'curling'] [{'concept': 'common name'}, 'field of work', 'rugby league']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . VALUES ( ?x ) { ( resource:rugby_league ) ( resource:curling ) ( resource:college_football ) } . ?q property:field_of_work ?x }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q331467 Q6141195 Q15294474
P101
Q349
USER
Which sports are the field of work of those people ?
(Q331467,P101,c(Q349)) (Q6141195,P101,c(Q349)) (Q15294474,P101,c(Q349))
action filter_type
action find
entity prev_answer
relation P101
type Q349
['Q331467', 'P101', {'concept': 'Q349'}] ['Q6141195', 'P101', {'concept': 'Q349'}] ['Q15294474', 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . ?a property:P101 ?z . VALUES ( ?a ) { ( resource:Q15294474 ) ( resource:Q331467 ) ( resource:Q6141195 ) } }
Henri Aldebert James Peters Fred Fugen
action filter_type
action find
entity prev_answer
relation field of work
type sport
['Henri Aldebert', 'field of work', {'concept': 'sport'}] ['James Peters', 'field of work', {'concept': 'sport'}] ['Fred Fugen', 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . ?a property:field_of_work ?z . VALUES ( ?a ) { ( resource:Fred_Fugen ) ( resource:Henri_Aldebert ) ( resource:James_Peters ) } }
[]
sport
Q809831 Q136851 Q10962
SYSTEM
BASE jumping, curling, rugby league
Q136851 Q177275 Q10962 Q809831 Q592031
(Q331467,P101,c(Q349)) (Q6141195,P101,c(Q349)) (Q15294474,P101,c(Q349))
action filter_type
action find
entity prev_answer
relation P101
type Q349
[ANSWERS] are the field of work of those people
['Q331467', 'P101', {'concept': 'Q349'}] ['Q6141195', 'P101', {'concept': 'Q349'}] ['Q15294474', 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . ?a property:P101 ?z . VALUES ( ?a ) { ( resource:Q15294474 ) ( resource:Q331467 ) ( resource:Q6141195 ) } }
curling bobsleigh rugby league BASE jumping wingsuit flying
BASE jumping, curling and rugby league are the field of work of those people
BASE jumping curling rugby league
action filter_type
action find
entity prev_answer
relation field of work
type sport
['Henri Aldebert', 'field of work', {'concept': 'sport'}] ['James Peters', 'field of work', {'concept': 'sport'}] ['Fred Fugen', 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . ?a property:field_of_work ?z . VALUES ( ?a ) { ( resource:Fred_Fugen ) ( resource:Henri_Aldebert ) ( resource:James_Peters ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q136851
P921
Q1209283
USER
Which electronic media is curling a main subject of ?
(c(Q1209283),P921,Q136851)
action filter_type
action find_reverse
entity Q136851
relation P921
type Q1209283
[{'concept': 'Q1209283'}, 'P921', 'Q136851']
SELECT DISTINCT ?r WHERE { ?r property:P921 resource:Q136851 . ?r rdf:type ontology:Q1209283 }
curling
action filter_type
action find_reverse
entity curling
relation main subject
type electronic media
[{'concept': 'electronic media'}, 'main subject', 'curling']
SELECT DISTINCT ?r WHERE { ?r property:main_subject resource:curling . ?r rdf:type ontology:electronic_media }
[]
electronic media
Q21705650
SYSTEM
results worldcurling
Q21705650
(c(Q1209283),P921,Q136851)
action filter_type
action find_reverse
entity Q136851
relation P921
type Q1209283
[ANSWER] is curling a main subject of
[{'concept': 'Q1209283'}, 'P921', 'Q136851']
SELECT DISTINCT ?r WHERE { ?r property:P921 resource:Q136851 . ?r rdf:type ontology:Q1209283 }
results worldcurling
Results worldcurling is curling a main subject of
results worldcurling
action filter_type
action find_reverse
entity curling
relation main subject
type electronic media
[{'concept': 'electronic media'}, 'main subject', 'curling']
SELECT DISTINCT ?r WHERE { ?r property:main_subject resource:curling . ?r rdf:type ontology:electronic_media }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q869
P17
Q15617994
USER
Which administrative territory is Thailand a part of ?
(Q869,P17,c(Q15617994))
action filter_type
action find
entity Q869
relation P17
type Q15617994
['Q869', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q869 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Thailand
action filter_type
action find
entity Thailand
relation country
type designation for an administrative territorial entity
['Thailand', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Thailand property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869
SYSTEM
Thailand
Q869
(Q869,P17,c(Q15617994))
action filter_type
action find
entity Q869
relation P17
type Q15617994
Which administrative territory is [ANSWER] a part of
['Q869', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q869 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Thailand
Which administrative territory is Thailand a part of
Thailand
action filter_type
action find
entity Thailand
relation country
type designation for an administrative territorial entity
['Thailand', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Thailand property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3434398
Q15617994
USER
And how about Lamerd Airport?
(Q3434398,P17,c(Q15617994))
action filter_type
action find
entity Q3434398
relation P17
type Q15617994
['Q3434398', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3434398 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Lamerd Airport
action filter_type
action find
entity Lamerd Airport
relation country
type designation for an administrative territorial entity
['Lamerd Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Lamerd_Airport property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q3434398,P17,c(Q15617994))
action filter_type
action find
entity Q3434398
relation P17
type Q15617994
[ANSWER]
['Q3434398', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3434398 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Iran
Iran
action filter_type
action find
entity Lamerd Airport
relation country
type designation for an administrative territorial entity
['Lamerd Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Lamerd_Airport property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q794 Q387085
P30
Q2221906
USER
How many geographic locations are Iran or Club Nautico di Roma situated in ?
(Q794,P30,c(Q2221906)) (Q387085,P30,c(Q2221906))
action count
action union
action filter_type
action find
entity Q794
relation P30
type Q2221906
action filter_type
action find
entity Q387085
relation P30
type Q2221906
['Q794', 'P30', {'concept': 'Q2221906'}] ['Q387085', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { VALUES ( ?k ) { ( resource:Q794 ) ( resource:Q387085 ) } . ?k property:P30 ?h }
Iran Club Nautico di Roma
action count
action union
action filter_type
action find
entity Iran
relation continent
type geographic location
action filter_type
action find
entity Club Nautico di Roma
relation continent
type geographic location
['Iran', 'continent', {'concept': 'geographic location'}] ['Club Nautico di Roma', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { VALUES ( ?k ) { ( resource:Iran ) ( resource:Club_Nautico_di_Roma ) } . ?k property:continent ?h }
[]
geographic location
SYSTEM
2
Q46 Q48
(Q794,P30,c(Q2221906)) (Q387085,P30,c(Q2221906))
action count
action union
action filter_type
action find
entity Q794
relation P30
type Q2221906
action filter_type
action find
entity Q387085
relation P30
type Q2221906
[ANSWER]
['Q794', 'P30', {'concept': 'Q2221906'}] ['Q387085', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { VALUES ( ?k ) { ( resource:Q794 ) ( resource:Q387085 ) } . ?k property:P30 ?h }
Europe Asia
2
action count
action union
action filter_type
action find
entity Iran
relation continent
type geographic location
action filter_type
action find
entity Club Nautico di Roma
relation continent
type geographic location
['Iran', 'continent', {'concept': 'geographic location'}] ['Club Nautico di Roma', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { VALUES ( ?k ) { ( resource:Iran ) ( resource:Club_Nautico_di_Roma ) } . ?k property:continent ?h }
[]