Simple Question (Direct)
Simple Question
Q18921517
P641
Q349
USER
What was the sport that Isuf Çela was a part of ?
(Q18921517,P641,c(Q349))
action filter_type
action find
entity Q18921517
relation P641
type Q349
['Q18921517', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q18921517 property:P641 ?n }
Isuf Çela
action filter_type
action find
entity Isuf Çela
relation sport
type sport
['Isuf Çela', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Isuf_Çela property:sport ?n }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q18921517,P641,c(Q349))
action filter_type
action find
entity Q18921517
relation P641
type Q349
The sport that Isuf Çela was a part of was the [ANSWER]
['Q18921517', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q18921517 property:P641 ?n }
association football
The sport that Isuf Çela was a part of was the association football
association football
action filter_type
action find
entity Isuf Çela
relation sport
type sport
['Isuf Çela', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Isuf_Çela property:sport ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18921517
P27
Q15617994
USER
Which administrative territory is Isuf Çela a civilian of ?
(Q18921517,P27,c(Q15617994))
action filter_type
action find
entity Q18921517
relation P27
type Q15617994
['Q18921517', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q18921517 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Isuf Çela
action filter_type
action find
entity Isuf Çela
relation country of citizenship
type designation for an administrative territorial entity
['Isuf Çela', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Isuf_Çela property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q222
SYSTEM
Albania
Q222
(Q18921517,P27,c(Q15617994))
action filter_type
action find
entity Q18921517
relation P27
type Q15617994
[ANSWER] is Isuf Çela a civilian of
['Q18921517', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q18921517 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Albania
Albania is Isuf Çela a civilian of
Albania
action filter_type
action find
entity Isuf Çela
relation country of citizenship
type designation for an administrative territorial entity
['Isuf Çela', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Isuf_Çela property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q769
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relations with less number of administrative territories than Grenada ?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q769
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Q769 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?j < ?f ) . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?j ) WHERE { ?s property:P530 ?n . ?s rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?s } }
Grenada
action count
action less
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 Grenada
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Grenada property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?j < ?f ) . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?j ) WHERE { ?s property:diplomatic_relation ?n . ?s rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q769
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Q769 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?j < ?f ) . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?j ) WHERE { ?s property:P530 ?n . ?s rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?s } }
Solomon Islands Papua New Guinea
2
action count
action less
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 Grenada
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Grenada property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?j < ?f ) . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?j ) WHERE { ?s property:diplomatic_relation ?n . ?s rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q16
P530
Q1048835 Q15617994
USER
And also tell me about Canada?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?q ) WHERE { ?i property:P530 ?x . ?i rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?m } } . FILTER ( ?q < ?v ) }
Canada
action count
action less
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 designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?q ) WHERE { ?i property:diplomatic_relation ?x . ?i rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?m } } . FILTER ( ?q < ?v ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?q ) WHERE { ?i property:P530 ?x . ?i rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?m } } . FILTER ( ?q < ?v ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action less
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 designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?q ) WHERE { ?i property:diplomatic_relation ?x . ?i rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?m } } . FILTER ( ?q < ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q222
P276
Q1190554
USER
What are located at Albania ?
(c(Q1190554),P276,Q222)
action filter_type
action find_reverse
entity Q222
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q222']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q222 . ?v rdf:type ontology:Q1190554 }
Albania
action filter_type
action find_reverse
entity Albania
relation location
type event
[{'concept': 'event'}, 'location', 'Albania']
SELECT DISTINCT ?v WHERE { ?v property:location resource:Albania . ?v rdf:type ontology:event }
[]
event
Q223604 Q3436319 Q4870912
SYSTEM
Greco-Italian War, Battle of Dyrrhachium, Battle of Drashovica
Q3436319 Q4870912 Q223604 Q4871791
(c(Q1190554),P276,Q222)
action filter_type
action find_reverse
entity Q222
relation P276
type Q1190554
[ANSWERS] are located at Albania
[{'concept': 'Q1190554'}, 'P276', 'Q222']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q222 . ?v rdf:type ontology:Q1190554 }
Battle of Dyrrhachium Battle of Drashovica Greco-Italian War Battle of Morava–Ivan
Greco-Italian War, Battle of Dyrrhachium and Battle of Drashovica are located at Albania
Greco-Italian War Battle of Dyrrhachium Battle of Drashovica
action filter_type
action find_reverse
entity Albania
relation location
type event
[{'concept': 'event'}, 'location', 'Albania']
SELECT DISTINCT ?v WHERE { ?v property:location resource:Albania . ?v rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q223604
P710
Q502895
USER
Which people were participants of that event ?
(Q223604,P710,c(Q502895))
action filter_type
action find
entity Q223604
relation P710
type Q502895
['Q223604', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q223604 property:P710 ?w . ?w rdf:type ontology:Q502895 }
Greco-Italian War
action filter_type
action find
entity Greco-Italian War
relation participant
type common name
['Greco-Italian War', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Greco-Italian_War property:participant ?w . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q223604
SYSTEM
Did you mean Greco-Italian War ?
Q223604 Q3436319 Q4870912
(Q223604,P710,c(Q502895)) (Q3436319,P710,c(Q502895)) (Q4870912,P710,c(Q502895))
[ANSWER]
['Q223604', 'P710', {'concept': 'Q502895'}] ['Q3436319', 'P710', {'concept': 'Q502895'}] ['Q4870912', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q223604 property:P710 ?w . ?w rdf:type ontology:Q502895 }
Greco-Italian War Battle of Dyrrhachium Battle of Drashovica
Did you mean Greco-Italian War ?
Greco-Italian War
['Greco-Italian War', 'participant', {'concept': 'common name'}] ['Battle of Dyrrhachium', 'participant', {'concept': 'common name'}] ['Battle of Drashovica', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Greco-Italian_War property:participant ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q223604,P710,c(Q502895))
['Q223604', 'P710', {'concept': 'Q502895'}]
['Greco-Italian War', 'participant', {'concept': 'common name'}]
[]
Q472089 Q57198
SYSTEM
Ugo Cavallero, Wilhelm List
Q472089 Q57198
(Q223604,P710,c(Q502895))
action filter_type
action find
entity Q223604
relation P710
type Q502895
[ANSWERS] were participants of that event
['Q223604', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q223604 property:P710 ?w . ?w rdf:type ontology:Q502895 }
Ugo Cavallero Wilhelm List
Ugo Cavallero and Wilhelm List were participants of that event
Ugo Cavallero Wilhelm List
action filter_type
action find
entity Greco-Italian War
relation participant
type common name
['Greco-Italian War', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Greco-Italian_War property:participant ?w . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q12737077 Q4164871 Q15617994
USER
How many administrative territories have around 1 occupations and positions as the type of government ?
(c(Q15617994),P122,c(Q12737077)|c(Q4164871))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
value 1
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q4164871'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:Q4164871 ) ( ontology:Q12737077 ) } . ?h rdf:type ?z } GROUP BY ?w } . FILTER ( ?a = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'position'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:position ) ( ontology:occupation ) } . ?h rdf:type ?z } GROUP BY ?w } . FILTER ( ?a = 1 ) }
[]
occupation position designation for an administrative territorial entity
SYSTEM
4
Q541991 Q313175 Q228 Q696651
(c(Q15617994),P122,c(Q12737077)|c(Q4164871))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q4164871'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:Q4164871 ) ( ontology:Q12737077 ) } . ?h rdf:type ?z } GROUP BY ?w } . FILTER ( ?a = 1 ) }
Hummelfeld Saxe-Lauenburg Andorra Saxe-Eisenach
4
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'position'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:position ) ( ontology:occupation ) } . ?h rdf:type ?z } GROUP BY ?w } . FILTER ( ?a = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q223604
P793
Q1190554
USER
What has Greco-Italian War as a significant associated event ?
(c(Q1190554),P793,Q223604)
action filter_type
action find_reverse
entity Q223604
relation P793
type Q1190554
[{'concept': 'Q1190554'}, 'P793', 'Q223604']
SELECT DISTINCT ?z WHERE { ?z property:P793 resource:Q223604 . ?z rdf:type ontology:Q1190554 }
Greco-Italian War
action filter_type
action find_reverse
entity Greco-Italian War
relation significant event
type event
[{'concept': 'event'}, 'significant event', 'Greco-Italian War']
SELECT DISTINCT ?z WHERE { ?z property:significant_event resource:Greco-Italian_War . ?z rdf:type ontology:event }
[]
event
Q830166
SYSTEM
Ohi Day
Q830166
(c(Q1190554),P793,Q223604)
action filter_type
action find_reverse
entity Q223604
relation P793
type Q1190554
[ANSWER] has Greco-Italian War as a significant associated event
[{'concept': 'Q1190554'}, 'P793', 'Q223604']
SELECT DISTINCT ?z WHERE { ?z property:P793 resource:Q223604 . ?z rdf:type ontology:Q1190554 }
Ohi Day
Ohi Day has Greco-Italian War as a significant associated event
Ohi Day
action filter_type
action find_reverse
entity Greco-Italian War
relation significant event
type event
[{'concept': 'event'}, 'significant event', 'Greco-Italian War']
SELECT DISTINCT ?z WHERE { ?z property:significant_event resource:Greco-Italian_War . ?z rdf:type ontology:event }
[]