Simple Question (Direct)
Simple Question
Q10557105
P19
Q56061
USER
Which administrative territory was Michal Hrivňák born in ?
(Q10557105,P19,c(Q56061))
action filter_type
action find
entity Q10557105
relation P19
type Q56061
['Q10557105', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q10557105 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Michal Hrivňák
action filter_type
action find
entity Michal Hrivňák
relation place of birth
type administrative territorial entity
['Michal Hrivňák', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Michal_Hrivňák property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q829812
SYSTEM
Rimavská Sobota
Q829812
(Q10557105,P19,c(Q56061))
action filter_type
action find
entity Q10557105
relation P19
type Q56061
Michal Hrivňák was born in [ANSWER]
['Q10557105', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q10557105 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Rimavská Sobota
Michal Hrivňák was born in Rimavská Sobota
Rimavská Sobota
action filter_type
action find
entity Michal Hrivňák
relation place of birth
type administrative territorial entity
['Michal Hrivňák', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Michal_Hrivňák property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q829812
P190
Q486972
USER
Which human settlement is twin town of that administrative territory ?
(Q829812,P190,c(Q486972))
action filter_type
action find
entity Q829812
relation P190
type Q486972
['Q829812', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?f WHERE { resource:Q829812 property:P190 ?f . ?f rdf:type ontology:Q486972 }
Rimavská Sobota
action filter_type
action find
entity Rimavská Sobota
relation sister city
type human settlement
['Rimavská Sobota', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?f WHERE { resource:Rimavská_Sobota property:sister_city ?f . ?f rdf:type ontology:human_settlement }
[]
human settlement
Q45197
SYSTEM
Świętochłowice
Q45197
(Q829812,P190,c(Q486972))
action filter_type
action find
entity Q829812
relation P190
type Q486972
[ANSWER] is twin town of that administrative territory
['Q829812', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?f WHERE { resource:Q829812 property:P190 ?f . ?f rdf:type ontology:Q486972 }
Świętochłowice
Świętochłowice is twin town of that administrative territory
Świętochłowice
action filter_type
action find
entity Rimavská Sobota
relation sister city
type human settlement
['Rimavská Sobota', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?f WHERE { resource:Rimavská_Sobota property:sister_city ?f . ?f rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q829812
P138
Q17444909
USER
Which astronomical object type has Rimavská Sobota as its namesake ?
(c(Q17444909),P138,Q829812)
action filter_type
action find_reverse
entity Q829812
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q829812']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q829812 . ?q rdf:type ontology:Q17444909 }
Rimavská Sobota
action filter_type
action find_reverse
entity Rimavská Sobota
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Rimavská Sobota']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:Rimavská_Sobota . ?q rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q2619523
SYSTEM
20495 Rimavská Sobota
Q2619523
(c(Q17444909),P138,Q829812)
action filter_type
action find_reverse
entity Q829812
relation P138
type Q17444909
9 [ANSWER] has Rimavská Sobota as its namesake
[{'concept': 'Q17444909'}, 'P138', 'Q829812']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q829812 . ?q rdf:type ontology:Q17444909 }
20495 Rimavská Sobota
9 20495 Rimavská Sobota has Rimavská Sobota as its namesake
20495 Rimavská Sobota
action filter_type
action find_reverse
entity Rimavská Sobota
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Rimavská Sobota']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:Rimavská_Sobota . ?q rdf:type ontology:astronomical_object_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q829812
P17
Q15617994
USER
Which administrative territory does that administrative territory belong to ?
(Q2619523,P17,c(Q15617994))
action filter_type
action find
entity Q829812
relation P17
type Q15617994
['Q2619523', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q829812 property:P17 ?s }
Rimavská Sobota
action filter_type
action find
entity Rimavská Sobota
relation country
type designation for an administrative territorial entity
['20495 Rimavská Sobota', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rimavská_Sobota property:country ?s }
[]
designation for an administrative territorial entity
Q214
SYSTEM
Slovakia
Q214
(Q2619523,P17,c(Q15617994))
action filter_type
action find
entity Q829812
relation P17
type Q15617994
That administrative territory belongs to [ANSWER]
['Q2619523', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q829812 property:P17 ?s }
Slovakia
That administrative territory belongs to Slovakia
Slovakia
action filter_type
action find
entity Rimavská Sobota
relation country
type designation for an administrative territorial entity
['20495 Rimavská Sobota', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rimavská_Sobota property:country ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q136598 Q26257548
P61
Q502895
USER
How many people discovered or invented 1158 Luda or Astrodicticum simplex ?
(Q136598,P61,c(Q502895)) (Q26257548,P61,c(Q502895))
action count
action union
action filter_type
action find
entity Q136598
relation P61
type Q502895
action filter_type
action find
entity Q26257548
relation P61
type Q502895
['Q136598', 'P61', {'concept': 'Q502895'}] ['Q26257548', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { VALUES ( ?c ) { ( resource:Q136598 ) ( resource:Q26257548 ) } . ?c property:P61 ?p }
1158 Luda Astrodicticum simplex
action count
action union
action filter_type
action find
entity 1158 Luda
relation discoverer or inventor
type common name
action filter_type
action find
entity Astrodicticum simplex
relation discoverer or inventor
type common name
['1158 Luda', 'discoverer or inventor', {'concept': 'common name'}] ['Astrodicticum simplex', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { VALUES ( ?c ) { ( resource:1158_Luda ) ( resource:Astrodicticum_simplex ) } . ?c property:discoverer_or_inventor ?p }
[]
common name
SYSTEM
2
Q73014 Q445187
(Q136598,P61,c(Q502895)) (Q26257548,P61,c(Q502895))
action count
action union
action filter_type
action find
entity Q136598
relation P61
type Q502895
action filter_type
action find
entity Q26257548
relation P61
type Q502895
[ANSWER]
['Q136598', 'P61', {'concept': 'Q502895'}] ['Q26257548', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { VALUES ( ?c ) { ( resource:Q136598 ) ( resource:Q26257548 ) } . ?c property:P61 ?p }
Erhard Weigel Grigory Neujmin
2
action count
action union
action filter_type
action find
entity 1158 Luda
relation discoverer or inventor
type common name
action filter_type
action find
entity Astrodicticum simplex
relation discoverer or inventor
type common name
['1158 Luda', 'discoverer or inventor', {'concept': 'common name'}] ['Astrodicticum simplex', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { VALUES ( ?c ) { ( resource:1158_Luda ) ( resource:Astrodicticum_simplex ) } . ?c property:discoverer_or_inventor ?p }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q16
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with more number of administrative territories than Canada ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?a ) WHERE { ?n property:P530 ?v . ?n rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { resource:Q16 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } }
Canada
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?a ) WHERE { ?n property:diplomatic_relation ?v . ?n rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { resource:Canada property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with more number of administrative territories than Canada
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?a ) WHERE { ?n property:P530 ?v . ?n rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { resource:Q16 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } }
Germany Australia
Germany and Australia have diplomatic relations with more number of administrative territories than Canada
Germany Australia
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?a ) WHERE { ?n property:diplomatic_relation ?v . ?n rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { resource:Canada property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q766
P530
Q1048835 Q15617994
USER
And also tell me about Jamaica?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Q766 property:P530 ?h . ?h rdf:type ontology:Q1048835 } } . FILTER ( ?l > ?d ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?l ) WHERE { ?e property:P530 ?u . ?e rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?e } }
Jamaica
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Jamaica property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } } . FILTER ( ?l > ?d ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?l ) WHERE { ?e property:diplomatic_relation ?u . ?e rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Q766 property:P530 ?h . ?h rdf:type ontology:Q1048835 } } . FILTER ( ?l > ?d ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?l ) WHERE { ?e property:P530 ?u . ?e rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?e } }
Austria Germany Australia Denmark Canada New Zealand
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Jamaica property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } } . FILTER ( ?l > ?d ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?l ) WHERE { ?e property:diplomatic_relation ?u . ?e rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16
P530
Q1048835
USER
Do Canada have ambassadorial relations with those ones ?
(Q16,P530,Q183) (Q16,P530,Q408) (Q16,P530,Q35)
action is_in
entity prev_answer
action find
entity Q16
relation P530
['Q16', 'P530', 'Q183'] ['Q16', 'P530', 'Q408'] ['Q16', 'P530', 'Q35']
ASK WHERE { resource:Q16 property:P530 ?x . VALUES ( ?x ) { ( resource:Q40 ) ( resource:Q183 ) ( resource:Q408 ) } }
Canada
action is_in
entity prev_answer
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Germany'] ['Canada', 'diplomatic relation', 'Australia'] ['Canada', 'diplomatic relation', 'Denmark']
ASK WHERE { resource:Canada property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:Austria ) ( resource:Germany ) ( resource:Australia ) } }
[]
political territorial entity
SYSTEM
YES
(Q16,P530,Q183) (Q16,P530,Q408) (Q16,P530,Q35)
action is_in
entity prev_answer
action find
entity Q16
relation P530
[ANSWER]
['Q16', 'P530', 'Q183'] ['Q16', 'P530', 'Q408'] ['Q16', 'P530', 'Q35']
ASK WHERE { resource:Q16 property:P530 ?x . VALUES ( ?x ) { ( resource:Q40 ) ( resource:Q183 ) ( resource:Q408 ) } }
Yes
action is_in
entity prev_answer
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Germany'] ['Canada', 'diplomatic relation', 'Australia'] ['Canada', 'diplomatic relation', 'Denmark']
ASK WHERE { resource:Canada property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:Austria ) ( resource:Germany ) ( resource:Australia ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6054003 Q408
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with Australia and are the native countriesof Oscar Varsavsky ?
AND((Q408,P530,c(Q15617994)), (Q6054003,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q6054003
relation P27
type Q15617994
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q6054003', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q408 property:P530 ?f . resource:Q6054003 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Oscar Varsavsky Australia
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Oscar Varsavsky
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Oscar Varsavsky', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Australia property:diplomatic_relation ?f . resource:Oscar_Varsavsky property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
AND((Q408,P530,c(Q15617994)), (Q6054003,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q6054003
relation P27
type Q15617994
[ANSWER] have a diplomatic relationship with Australia and are the native countriesof Oscar Varsavsky
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q6054003', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q408 property:P530 ?f . resource:Q6054003 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Argentina
Argentina have a diplomatic relationship with Australia and are the native countriesof Oscar Varsavsky
Argentina
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Oscar Varsavsky
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Oscar Varsavsky', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Australia property:diplomatic_relation ?f . resource:Oscar_Varsavsky property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]