Simple Question (Direct)
Simple Question
Q2069863
P25
Q502895
USER
Which female person was the parent of Hugh of Chalon ?
(Q2069863,P25,c(Q502895))
action filter_type
action find
entity Q2069863
relation P25
type Q502895
['Q2069863', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q2069863 property:P25 ?w . ?w rdf:type ontology:Q502895 }
Hugh of Chalon
action filter_type
action find
entity Hugh of Chalon
relation mother
type common name
['Hugh of Chalon', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Hugh_of_Chalon property:mother ?w . ?w rdf:type ontology:common_name }
[]
common name
Q2038405
SYSTEM
Adele of Meaux
Q2038405
(Q2069863,P25,c(Q502895))
action filter_type
action find
entity Q2069863
relation P25
type Q502895
[ANSWER] was the parent of Hugh of Chalon
['Q2069863', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q2069863 property:P25 ?w . ?w rdf:type ontology:Q502895 }
Adele of Meaux
Adele of Meaux was the parent of Hugh of Chalon
Adele of Meaux
action filter_type
action find
entity Hugh of Chalon
relation mother
type common name
['Hugh of Chalon', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Hugh_of_Chalon property:mother ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2069863
P22
Q502895
USER
Which male person has a child named Hugh of Chalon ?
(Q2069863,P22,c(Q502895))
action filter_type
action find
entity Q2069863
relation P22
type Q502895
['Q2069863', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q2069863 property:P22 ?z . ?z rdf:type ontology:Q502895 }
Hugh of Chalon
action filter_type
action find
entity Hugh of Chalon
relation father
type common name
['Hugh of Chalon', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Hugh_of_Chalon property:father ?z . ?z rdf:type ontology:common_name }
[]
common name
Q2661687
SYSTEM
Lambert of Chalon
Q2661687
(Q2069863,P22,c(Q502895))
action filter_type
action find
entity Q2069863
relation P22
type Q502895
[ANSWER] has a child named Hugh of Chalon
['Q2069863', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q2069863 property:P22 ?z . ?z rdf:type ontology:Q502895 }
Lambert of Chalon
Lambert of Chalon has a child named Hugh of Chalon
Lambert of Chalon
action filter_type
action find
entity Hugh of Chalon
relation father
type common name
['Hugh of Chalon', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Hugh_of_Chalon property:father ?z . ?z rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2661687 Q8840247
P40
Q502895
USER
Is Jan Káňa an offspring of that one ?
(Q2661687,P40,Q8840247)
action is_in
entity Q8840247
action find
entity Q2661687
relation P40
['Q2661687', 'P40', 'Q8840247']
ASK WHERE { resource:Q2661687 property:P40 resource:Q8840247 }
Lambert of Chalon Jan Káňa
action is_in
entity Jan Káňa
action find
entity Lambert of Chalon
relation child
['Lambert of Chalon', 'child', 'Jan Káňa']
ASK WHERE { resource:Lambert_of_Chalon property:child resource:Jan_Káňa }
[]
common name
SYSTEM
NO
(Q2661687,P40,Q8840247)
action is_in
entity Q8840247
action find
entity Q2661687
relation P40
[ANSWER]
['Q2661687', 'P40', 'Q8840247']
ASK WHERE { resource:Q2661687 property:P40 resource:Q8840247 }
No
action is_in
entity Jan Káňa
action find
entity Lambert of Chalon
relation child
['Lambert of Chalon', 'child', 'Jan Káňa']
ASK WHERE { resource:Lambert_of_Chalon property:child resource:Jan_Káňa }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18670813 Q2069863
P7
Q502895
USER
Which people are Hugh of Chalon or Brooke Herford a brother of ?
OR((c(Q502895),P7,Q2069863), (c(Q502895),P7,Q18670813))
action filter_type
action union
action find_reverse
entity Q2069863
relation P7
action find_reverse
entity Q18670813
relation P7
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P7', 'Q2069863'], [{'concept': 'Q502895'}, 'P7', 'Q18670813']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P7 resource:Q2069863 } UNION { ?g property:P7 resource:Q18670813 } } . ?g rdf:type ontology:Q502895 }
Brooke Herford Hugh of Chalon
action filter_type
action union
action find_reverse
entity Hugh of Chalon
relation brother
action find_reverse
entity Brooke Herford
relation brother
type common name
{'OR': [[{'concept': 'common name'}, 'brother', 'Hugh of Chalon'], [{'concept': 'common name'}, 'brother', 'Brooke Herford']]}
SELECT DISTINCT ?g WHERE { { { ?g property:brother resource:Hugh_of_Chalon } UNION { ?g property:brother resource:Brooke_Herford } } . ?g rdf:type ontology:common_name }
[]
common name
Q3223972 Q454017 Q18821760 Q17421404 Q23206440
SYSTEM
Ermengarde-Gerberga of Anjou, Fulk III, Count of Anjou, Laura Herford, William Henry Herford, Mary Chance Herford
Q3223972 Q454017 Q18821760 Q17421404 Q23206440
OR((c(Q502895),P7,Q2069863), (c(Q502895),P7,Q18670813))
action filter_type
action union
action find_reverse
entity Q2069863
relation P7
action find_reverse
entity Q18670813
relation P7
type Q502895
[ANSWERS] are Hugh of Chalon or Brooke Herford a brother of
{'OR': [[{'concept': 'Q502895'}, 'P7', 'Q2069863'], [{'concept': 'Q502895'}, 'P7', 'Q18670813']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P7 resource:Q2069863 } UNION { ?g property:P7 resource:Q18670813 } } . ?g rdf:type ontology:Q502895 }
Ermengarde-Gerberga of Anjou Fulk III, Count of Anjou Laura Herford William Henry Herford Mary Chance Herford
Ermengarde-Gerberga of Anjou, Fulk III, Count of Anjou, Laura Herford, William Henry Herford and Mary Chance Herford are Hugh of Chalon or Brooke Herford a brother of
Ermengarde-Gerberga of Anjou Fulk III, Count of Anjou Laura Herford William Henry Herford Mary Chance Herford
action filter_type
action union
action find_reverse
entity Hugh of Chalon
relation brother
action find_reverse
entity Brooke Herford
relation brother
type common name
{'OR': [[{'concept': 'common name'}, 'brother', 'Hugh of Chalon'], [{'concept': 'common name'}, 'brother', 'Brooke Herford']]}
SELECT DISTINCT ?g WHERE { { { ?g property:brother resource:Hugh_of_Chalon } UNION { ?g property:brother resource:Brooke_Herford } } . ?g rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q246283
P725
Q502895 Q1001378
USER
How many cinematic techniques have been dubbed by greater number of people than Frozen ?
(c(Q1001378),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q246283
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?d ) WHERE { ?x property:P725 ?e . ?x rdf:type ontology:Q1001378 . ?e rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q246283 property:P725 ?w . ?w rdf:type ontology:Q1001378 } } . FILTER ( ?d > ?i ) }
Frozen
action count
action greater
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Frozen
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?d ) WHERE { ?x property:voice_actor ?e . ?x rdf:type ontology:cinematic_technique . ?e rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Frozen property:voice_actor ?w . ?w rdf:type ontology:cinematic_technique } } . FILTER ( ?d > ?i ) }
[]
common name cinematic technique
SYSTEM
5
Q15270647 Q2329413 Q9321426 Q392530 Q2388653
(c(Q1001378),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q246283
relation P725
type Q1001378
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?d ) WHERE { ?x property:P725 ?e . ?x rdf:type ontology:Q1001378 . ?e rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q246283 property:P725 ?w . ?w rdf:type ontology:Q1001378 } } . FILTER ( ?d > ?i ) }
Zootopia Barbie as the Princess and the Pauper Finding Dory Treasure Planet Tom Sawyer
5
action count
action greater
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Frozen
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?d ) WHERE { ?x property:voice_actor ?e . ?x rdf:type ontology:cinematic_technique . ?e rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Frozen property:voice_actor ?w . ?w rdf:type ontology:cinematic_technique } } . FILTER ( ?d > ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q187266
P725
Q502895 Q1001378
USER
And what about Toy Story 2?
(c(Q1001378),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q187266
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?y ) WHERE { ?n property:P725 ?q . ?n rdf:type ontology:Q1001378 . ?q rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Q187266 property:P725 ?w . ?w rdf:type ontology:Q1001378 } } . FILTER ( ?y > ?c ) }
Toy Story 2
action count
action greater
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Toy Story 2
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?y ) WHERE { ?n property:voice_actor ?q . ?n rdf:type ontology:cinematic_technique . ?q rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Toy_Story_2 property:voice_actor ?w . ?w rdf:type ontology:cinematic_technique } } . FILTER ( ?y > ?c ) }
[]
common name cinematic technique
SYSTEM
34
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q15270647 Q27229786 Q2329413 Q9321426 Q562140 Q6144664 Q392530 Q192212 Q23647031 Q182153 Q15728879 Q2388653 Q246283 Q908816 Q244434 Q4096274 Q18647981 Q655133 Q2615381 Q191803 Q2613318 Q171048 Q15140309 Q15975680 Q4243413 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q187266
relation P725
type Q1001378
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?y ) WHERE { ?n property:P725 ?q . ?n rdf:type ontology:Q1001378 . ?q rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Q187266 property:P725 ?w . ?w rdf:type ontology:Q1001378 } } . FILTER ( ?y > ?c ) }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli Zootopia The Animated Adventures of Tom Sawyer Barbie as the Princess and the Pauper Finding Dory Yobi, the Five Tailed Fox Inside Out Treasure Planet Cars 2 Batman: The Killing Joke Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Tom Sawyer Frozen The Secret of Kells Lady and the Tramp II: Scamp's Adventure The Bremen Town Musicians Moana Treasure Island Korgoth of Barbaria The Lion King II: Simba's Pride Garfield's Fun Fest Toy Story Emil & Ida i Lönneberga Tamako Love Story Ku! Kin-dza-dza Laura's Star Surf's Up
34
action count
action greater
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Toy Story 2
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?y ) WHERE { ?n property:voice_actor ?q . ?n rdf:type ontology:cinematic_technique . ?q rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Toy_Story_2 property:voice_actor ?w . ?w rdf:type ontology:cinematic_technique } } . FILTER ( ?y > ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q454017 Q12841974
P22
Q502895
USER
How many people were the dad of Fulk III, Count of Anjou or Mir Hassan Khan ?
(Q454017,P22,c(Q502895)) (Q12841974,P22,c(Q502895))
action count
action union
action filter_type
action find
entity Q454017
relation P22
type Q502895
action filter_type
action find
entity Q12841974
relation P22
type Q502895
['Q454017', 'P22', {'concept': 'Q502895'}] ['Q12841974', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?j property:P22 ?h . VALUES ( ?j ) { ( resource:Q12841974 ) ( resource:Q454017 ) } }
Fulk III, Count of Anjou Mir Hassan Khan
action count
action union
action filter_type
action find
entity Fulk III, Count of Anjou
relation father
type common name
action filter_type
action find
entity Mir Hassan Khan
relation father
type common name
['Fulk III, Count of Anjou', 'father', {'concept': 'common name'}] ['Mir Hassan Khan', 'father', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?j property:father ?h . VALUES ( ?j ) { ( resource:Mir_Hassan_Khan ) ( resource:Fulk_III,_Count_of_Anjou ) } }
[]
common name
SYSTEM
2
Q4295448 Q712580
(Q454017,P22,c(Q502895)) (Q12841974,P22,c(Q502895))
action count
action union
action filter_type
action find
entity Q454017
relation P22
type Q502895
action filter_type
action find
entity Q12841974
relation P22
type Q502895
[ANSWER]
['Q454017', 'P22', {'concept': 'Q502895'}] ['Q12841974', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?j property:P22 ?h . VALUES ( ?j ) { ( resource:Q12841974 ) ( resource:Q454017 ) } }
Mir Mustafa Khan Geoffrey I, Count of Anjou
2
action count
action union
action filter_type
action find
entity Fulk III, Count of Anjou
relation father
type common name
action filter_type
action find
entity Mir Hassan Khan
relation father
type common name
['Fulk III, Count of Anjou', 'father', {'concept': 'common name'}] ['Mir Hassan Khan', 'father', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?j property:father ?h . VALUES ( ?j ) { ( resource:Mir_Hassan_Khan ) ( resource:Fulk_III,_Count_of_Anjou ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q454017
P53
Q13417114
USER
What dynasty does that person belong to ?
action filter_type
action find
entity Q454017
relation P53
type Q13417114
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q13417114 . resource:Q454017 property:P53 ?t }
Fulk III, Count of Anjou
action filter_type
action find
entity Fulk III, Count of Anjou
relation noble family
type noble family
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:noble_family . resource:Fulk_III,_Count_of_Anjou property:noble_family ?t }
[]
noble family
Q1362298
SYSTEM
House of Ingelger
Q1362298
action filter_type
action find
entity Q454017
relation P53
type Q13417114
That person belongs to [ANSWER]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q13417114 . resource:Q454017 property:P53 ?t }
House of Ingelger
That person belongs to House of Ingelger
House of Ingelger
action filter_type
action find
entity Fulk III, Count of Anjou
relation noble family
type noble family
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:noble_family . resource:Fulk_III,_Count_of_Anjou property:noble_family ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1362298 Q205069
P53
Q502895
USER
Does Tamirat Layne belong to the family that one ?
(Q205069,P53,Q1362298)
action is_in
entity Q205069
action find
entity Q1362298
relation P53
['Q205069', 'P53', 'Q1362298']
ASK WHERE { resource:Q1362298 property:P53 resource:Q205069 }
House of Ingelger Tamirat Layne
action is_in
entity Tamirat Layne
action find
entity House of Ingelger
relation noble family
['Tamirat Layne', 'noble family', 'House of Ingelger']
ASK WHERE { resource:House_of_Ingelger property:noble_family resource:Tamirat_Layne }
[]
common name
SYSTEM
NO
(Q205069,P53,Q1362298)
action is_in
entity Q205069
action find
entity Q1362298
relation P53
[ANSWER]
['Q205069', 'P53', 'Q1362298']
ASK WHERE { resource:Q1362298 property:P53 resource:Q205069 }
No
action is_in
entity Tamirat Layne
action find
entity House of Ingelger
relation noble family
['Tamirat Layne', 'noble family', 'House of Ingelger']
ASK WHERE { resource:House_of_Ingelger property:noble_family resource:Tamirat_Layne }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q9180465 Q187266
P27 P495
Q15617994
USER
Which administrative territories are the countries of origin of Toy Story 2 or are the native countriesof Bruno Trojani ?
OR((Q187266,P495,c(Q15617994)), (Q9180465,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q187266
relation P495
action find
entity Q9180465
relation P27
type Q15617994
{'OR': [['Q187266', 'P495', {'concept': 'Q15617994'}], ['Q9180465', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q9180465 property:P27 ?e } UNION { resource:Q187266 property:P495 ?e } } . ?e rdf:type ontology:Q15617994 }
Bruno Trojani Toy Story 2
action filter_type
action union
action find
entity Toy Story 2
relation country of origin
action find
entity Bruno Trojani
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Toy Story 2', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Bruno Trojani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Bruno_Trojani property:country_of_citizenship ?e } UNION { resource:Toy_Story_2 property:country_of_origin ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39 Q30
SYSTEM
Switzerland, United States of America
Q39 Q30
OR((Q187266,P495,c(Q15617994)), (Q9180465,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q187266
relation P495
action find
entity Q9180465
relation P27
type Q15617994
[ANSWERS] are the countries of origin of Toy Story 2 or are the native countriesof Bruno Trojani
{'OR': [['Q187266', 'P495', {'concept': 'Q15617994'}], ['Q9180465', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q9180465 property:P27 ?e } UNION { resource:Q187266 property:P495 ?e } } . ?e rdf:type ontology:Q15617994 }
Switzerland United States of America
Switzerland and United States of America are the countries of origin of Toy Story 2 or are the native countriesof Bruno Trojani
Switzerland United States of America
action filter_type
action union
action find
entity Toy Story 2
relation country of origin
action find
entity Bruno Trojani
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Toy Story 2', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Bruno Trojani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Bruno_Trojani property:country_of_citizenship ?e } UNION { resource:Toy_Story_2 property:country_of_origin ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with around 33 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 33
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?f ) WHERE { ?g property:P530 ?c . ?g rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?f = 33 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 33
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?f ) WHERE { ?g property:diplomatic_relation ?c . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?f = 33 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 33
[ANSWER] have tactful political relations with around 33 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?f ) WHERE { ?g property:P530 ?c . ?g rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?f = 33 ) }
Belarus
Belarus have tactful political relations with around 33 administrative territories
Belarus
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 33
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?f ) WHERE { ?g property:diplomatic_relation ?c . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?f = 33 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q184
P137
Q3084961
USER
Which product linings were managed by that administrative territory ?
(c(Q3084961),P137,Q184)
action filter_type
action find_reverse
entity Q184
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q184']
SELECT DISTINCT ?p WHERE { ?p property:P137 resource:Q184 . ?p rdf:type ontology:Q3084961 }
Belarus
action filter_type
action find_reverse
entity Belarus
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Belarus']
SELECT DISTINCT ?p WHERE { ?p property:operator resource:Belarus . ?p rdf:type ontology:product_lining }
[]
product lining
Q155635 Q142549 Q39699
SYSTEM
Mi-8, Il-76, AS355 Écureuil 2
Q608997 Q142549 Q744635 Q173680 Q39699 Q317288 Q155899 Q17416448 Q155635 Q155651
(c(Q3084961),P137,Q184)
action filter_type
action find_reverse
entity Q184
relation P137
type Q3084961
[ANSWERS] were managed by that administrative territory
[{'concept': 'Q3084961'}, 'P137', 'Q184']
SELECT DISTINCT ?p WHERE { ?p property:P137 resource:Q184 . ?p rdf:type ontology:Q3084961 }
Mi-2 Il-76 Mi-6 Su-27 AS355 Écureuil 2 Mi-17 L-39 Albatros An-24/26 Mi-8 Mi-24
Mi-8, Il-76 and AS355 Écureuil 2 were managed by that administrative territory
Mi-8 Il-76 AS355 Écureuil 2
action filter_type
action find_reverse
entity Belarus
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Belarus']
SELECT DISTINCT ?p WHERE { ?p property:operator resource:Belarus . ?p rdf:type ontology:product_lining }
[]
Clarification
Simple Question|Single Entity|Indirect
Q155635
P520
Q16889133
USER
What is used as a weapon by that product lining ?
(Q155635,P520,c(Q16889133))
action filter_type
action find
entity Q155635
relation P520
type Q16889133
['Q155635', 'P520', {'concept': 'Q16889133'}]
SELECT DISTINCT ?m WHERE { resource:Q155635 property:P520 ?m . ?m rdf:type ontology:Q16889133 }
Mi-8
action filter_type
action find
entity Mi-8
relation armament
type class
['Mi-8', 'armament', {'concept': 'class'}]
SELECT DISTINCT ?m WHERE { resource:Mi-8 property:armament ?m . ?m rdf:type ontology:class }
[]
class
Clarification for simple ques.
Q155635
SYSTEM
Did you mean Mi-8 ?
Q155635 Q142549 Q39699
(Q155635,P520,c(Q16889133)) (Q142549,P520,c(Q16889133)) (Q39699,P520,c(Q16889133))
[ANSWER]
['Q155635', 'P520', {'concept': 'Q16889133'}] ['Q142549', 'P520', {'concept': 'Q16889133'}] ['Q39699', 'P520', {'concept': 'Q16889133'}]
SELECT DISTINCT ?m WHERE { resource:Q155635 property:P520 ?m . ?m rdf:type ontology:Q16889133 }
Mi-8 Il-76 AS355 Écureuil 2
Did you mean Mi-8 ?
Mi-8
['Mi-8', 'armament', {'concept': 'class'}] ['Il-76', 'armament', {'concept': 'class'}] ['AS355 Écureuil 2', 'armament', {'concept': 'class'}]
SELECT DISTINCT ?m WHERE { resource:Mi-8 property:armament ?m . ?m rdf:type ontology:class }
[]
Simple Question (Coreferenced)
USER
Yes
(Q155635,P520,c(Q16889133))
['Q155635', 'P520', {'concept': 'Q16889133'}]
['Mi-8', 'armament', {'concept': 'class'}]
[]
Q920388
SYSTEM
S-5
Q920388
(Q155635,P520,c(Q16889133))
action filter_type
action find
entity Q155635
relation P520
type Q16889133
[ANSWER] is used as a weapon by that product lining
['Q155635', 'P520', {'concept': 'Q16889133'}]
SELECT DISTINCT ?m WHERE { resource:Q155635 property:P520 ?m . ?m rdf:type ontology:Q16889133 }
S-5
S-5 is used as a weapon by that product lining
S-5
action filter_type
action find
entity Mi-8
relation armament
type class
['Mi-8', 'armament', {'concept': 'class'}]
SELECT DISTINCT ?m WHERE { resource:Mi-8 property:armament ?m . ?m rdf:type ontology:class }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q920388
P176
Q7275
USER
Who is the maker of that class ?
(Q920388,P176,c(Q7275))
action filter_type
action find
entity Q920388
relation P176
type Q7275
['Q920388', 'P176', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { resource:Q920388 property:P176 ?n . ?n rdf:type ontology:Q7275 }
S-5
action filter_type
action find
entity S-5
relation manufacturer
type state
['S-5', 'manufacturer', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { resource:S-5 property:manufacturer ?n . ?n rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q920388,P176,c(Q7275))
action filter_type
action find
entity Q920388
relation P176
type Q7275
The maker of that class is the [ANSWER]
['Q920388', 'P176', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { resource:Q920388 property:P176 ?n . ?n rdf:type ontology:Q7275 }
Soviet Union
The maker of that class is the Soviet Union
Soviet Union
action filter_type
action find
entity S-5
relation manufacturer
type state
['S-5', 'manufacturer', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { resource:S-5 property:manufacturer ?n . ?n rdf:type ontology:state }
[]