Simple Question (Direct)
Simple Question
Q17486573
P106
Q12737077
USER
What is the profession of Marian Marin ?
(Q17486573,P106,c(Q12737077))
action filter_type
action find
entity Q17486573
relation P106
type Q12737077
['Q17486573', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q17486573 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Marian Marin
action filter_type
action find
entity Marian Marin
relation occupation
type occupation
['Marian Marin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Marian_Marin property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q17486573,P106,c(Q12737077))
action filter_type
action find
entity Q17486573
relation P106
type Q12737077
The profession of Marian Marin is an [ANSWER]
['Q17486573', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q17486573 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
association football player
The profession of Marian Marin is an association football player
association football player
action filter_type
action find
entity Marian Marin
relation occupation
type occupation
['Marian Marin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Marian_Marin property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P425
Q349
USER
Which sport has that one as the associated field of occupation ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q937857 property:P425 ?b . ?b rdf:type ontology:Q349 }
association football player
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 ?b WHERE { resource:association_football_player property:field_of_this_occupation ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
[ANSWER] has that one as the associated field of occupation
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q937857 property:P425 ?b . ?b rdf:type ontology:Q349 }
association football
Association football has that one as the associated field of occupation
association football
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 ?b WHERE { resource:association_football_player property:field_of_this_occupation ?b . ?b rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Which territory is the origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?m WHERE { resource:Q2736 property:P495 ?m . ?m rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:association_football property:country_of_origin ?m . ?m rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER] is the origin of that sport
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?m WHERE { resource:Q2736 property:P495 ?m . ?m rdf:type ontology:Q1496967 }
England
England is the origin of that sport
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:association_football property:country_of_origin ?m . ?m rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P84
Q18142
USER
Which tower block has its designs created by that territory ?
(c(Q18142),P84,Q21)
action filter_type
action find_reverse
entity Q21
relation P84
type Q18142
[{'concept': 'Q18142'}, 'P84', 'Q21']
SELECT DISTINCT ?z WHERE { ?z property:P84 resource:Q21 . ?z rdf:type ontology:Q18142 }
England
action filter_type
action find_reverse
entity England
relation architect
type tower block
[{'concept': 'tower block'}, 'architect', 'England']
SELECT DISTINCT ?z WHERE { ?z property:architect resource:England . ?z rdf:type ontology:tower_block }
[]
tower block
Q7863864
SYSTEM
UBL Tower
Q7863864
(c(Q18142),P84,Q21)
action filter_type
action find_reverse
entity Q21
relation P84
type Q18142
[ANSWER] has its designs created by that territory
[{'concept': 'Q18142'}, 'P84', 'Q21']
SELECT DISTINCT ?z WHERE { ?z property:P84 resource:Q21 . ?z rdf:type ontology:Q18142 }
UBL Tower
UBL Tower has its designs created by that territory
UBL Tower
action filter_type
action find_reverse
entity England
relation architect
type tower block
[{'concept': 'tower block'}, 'architect', 'England']
SELECT DISTINCT ?z WHERE { ?z property:architect resource:England . ?z rdf:type ontology:tower_block }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7863864
P17
Q15617994
USER
Which administrative territory is that tower block present in ?
(Q7863864,P17,c(Q15617994))
action filter_type
action find
entity Q7863864
relation P17
type Q15617994
['Q7863864', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q7863864 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
UBL Tower
action filter_type
action find
entity UBL Tower
relation country
type designation for an administrative territorial entity
['UBL Tower', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:UBL_Tower property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q843
SYSTEM
Pakistan
Q843
(Q7863864,P17,c(Q15617994))
action filter_type
action find
entity Q7863864
relation P17
type Q15617994
That tower block is of [ANSWER]
['Q7863864', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q7863864 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Pakistan
That tower block is of Pakistan
Pakistan
action filter_type
action find
entity UBL Tower
relation country
type designation for an administrative territorial entity
['UBL Tower', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:UBL_Tower property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q843
P47
Q15617994
USER
Which administrative territories are adjacent to that one ?
(Q843,P47,c(Q15617994))
action filter_type
action find
entity Q843
relation P47
type Q15617994
['Q843', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q843 property:P47 ?x . ?x rdf:type ontology:Q15617994 }
Pakistan
action filter_type
action find
entity Pakistan
relation shares border with
type designation for an administrative territorial entity
['Pakistan', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Pakistan property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q668 Q889
SYSTEM
People's Republic of China, India, Afghanistan
Q148 Q668 Q889 Q794
(Q843,P47,c(Q15617994))
action filter_type
action find
entity Q843
relation P47
type Q15617994
[ANSWERS] are adjacent to that one
['Q843', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q843 property:P47 ?x . ?x rdf:type ontology:Q15617994 }
People's Republic of China India Afghanistan Iran
People's Republic of China, India and Afghanistan are adjacent to that one
People's Republic of China India Afghanistan
action filter_type
action find
entity Pakistan
relation shares border with
type designation for an administrative territorial entity
['Pakistan', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Pakistan property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have ambassadorial relations with those administrative territories ?
(Q183,P530,Q148) (Q183,P530,Q668) (Q183,P530,Q889)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q148'] ['Q183', 'P530', 'Q668'] ['Q183', 'P530', 'Q889']
ASK WHERE { resource:Q183 property:P530 ?x . VALUES ( ?x ) { ( resource:Q148 ) ( resource:Q668 ) ( resource:Q889 ) } }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', "People's Republic of China"] ['Germany', 'diplomatic relation', 'India'] ['Germany', 'diplomatic relation', 'Afghanistan']
ASK WHERE { resource:Germany property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:People's_Republic_of_China ) ( resource:India ) ( resource:Afghanistan ) } }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q148) (Q183,P530,Q668) (Q183,P530,Q889)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q148'] ['Q183', 'P530', 'Q668'] ['Q183', 'P530', 'Q889']
ASK WHERE { resource:Q183 property:P530 ?x . VALUES ( ?x ) { ( resource:Q148 ) ( resource:Q668 ) ( resource:Q889 ) } }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', "People's Republic of China"] ['Germany', 'diplomatic relation', 'India'] ['Germany', 'diplomatic relation', 'Afghanistan']
ASK WHERE { resource:Germany property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:People's_Republic_of_China ) ( resource:India ) ( resource:Afghanistan ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q668 Q1012546 Q4322017
P530
Q1048835
USER
Does India have diplomatic associations with Vespasiano and Nova Hryhorivka ?
(Q668,P530,Q1012546) (Q668,P530,Q4322017)
action is_in
entity Q668
action intersection
action find_reverse
entity Q1012546
relation P530
action find_reverse
entity Q4322017
relation P530
['Q668', 'P530', 'Q1012546'] ['Q668', 'P530', 'Q4322017']
ASK WHERE { resource:Q668 property:P530 resource:Q1012546 . resource:Q668 property:P530 resource:Q4322017 }
India Vespasiano Nova Hryhorivka
action is_in
entity India
action intersection
action find_reverse
entity Vespasiano
relation diplomatic relation
action find_reverse
entity Nova Hryhorivka
relation diplomatic relation
['India', 'diplomatic relation', 'Vespasiano'] ['India', 'diplomatic relation', 'Nova Hryhorivka']
ASK WHERE { resource:India property:diplomatic_relation resource:Vespasiano . resource:India property:diplomatic_relation resource:Nova_Hryhorivka }
[]
political territorial entity
SYSTEM
NO
(Q668,P530,Q1012546) (Q668,P530,Q4322017)
action is_in
entity Q668
action intersection
action find_reverse
entity Q1012546
relation P530
action find_reverse
entity Q4322017
relation P530
[ANSWER]
['Q668', 'P530', 'Q1012546'] ['Q668', 'P530', 'Q4322017']
ASK WHERE { resource:Q668 property:P530 resource:Q1012546 . resource:Q668 property:P530 resource:Q4322017 }
No
action is_in
entity India
action intersection
action find_reverse
entity Vespasiano
relation diplomatic relation
action find_reverse
entity Nova Hryhorivka
relation diplomatic relation
['India', 'diplomatic relation', 'Vespasiano'] ['India', 'diplomatic relation', 'Nova Hryhorivka']
ASK WHERE { resource:India property:diplomatic_relation resource:Vespasiano . resource:India property:diplomatic_relation resource:Nova_Hryhorivka }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with max number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?c WHERE { FILTER ( ?g = ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?g ) WHERE { ?c property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( MAX ( ?a ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?a ) WHERE { ?n property:P530 ?f . ?n rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?n } } }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?c WHERE { FILTER ( ?g = ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?g ) WHERE { ?c property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( MAX ( ?a ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?a ) WHERE { ?n property:diplomatic_relation ?f . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWER] have diplomatic relationships with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?c WHERE { FILTER ( ?g = ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?g ) WHERE { ?c property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( MAX ( ?a ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?a ) WHERE { ?n property:P530 ?f . ?n rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?n } } }
Italy
Italy have diplomatic relationships with max number of administrative territories
Italy
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?c WHERE { FILTER ( ?g = ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?g ) WHERE { ?c property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( MAX ( ?a ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?a ) WHERE { ?n property:diplomatic_relation ?f . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } } }
[]