Simple Question (Direct)
Simple Question
Q7674435
P607
Q198
USER
Which battle did Taddy Aycock take part in ?
(Q7674435,P607,c(Q198))
action filter_type
action find
entity Q7674435
relation P607
type Q198
['Q7674435', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?x WHERE { resource:Q7674435 property:P607 ?x . ?x rdf:type ontology:Q198 }
Taddy Aycock
action filter_type
action find
entity Taddy Aycock
relation conflict
type war
['Taddy Aycock', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?x WHERE { resource:Taddy_Aycock property:conflict ?x . ?x rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q7674435,P607,c(Q198))
action filter_type
action find
entity Q7674435
relation P607
type Q198
Taddy Aycock took part in [ANSWER]
['Q7674435', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?x WHERE { resource:Q7674435 property:P607 ?x . ?x rdf:type ontology:Q198 }
World War II
Taddy Aycock took part in World War II
World War II
action filter_type
action find
entity Taddy Aycock
relation conflict
type war
['Taddy Aycock', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?x WHERE { resource:Taddy_Aycock property:conflict ?x . ?x rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7674435
P166
Q618779
USER
Which award was Taddy Aycock awarded with ?
(Q7674435,P166,c(Q618779))
action filter_type
action find
entity Q7674435
relation P166
type Q618779
['Q7674435', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q7674435 property:P166 ?c . ?c rdf:type ontology:Q618779 }
Taddy Aycock
action filter_type
action find
entity Taddy Aycock
relation award received
type award
['Taddy Aycock', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Taddy_Aycock property:award_received ?c . ?c rdf:type ontology:award }
[]
award
Q928314
SYSTEM
Bronze Star Medal
Q928314
(Q7674435,P166,c(Q618779))
action filter_type
action find
entity Q7674435
relation P166
type Q618779
Taddy Aycock was awarded the [ANSWER]
['Q7674435', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q7674435 property:P166 ?c . ?c rdf:type ontology:Q618779 }
Bronze Star Medal
Taddy Aycock was awarded the Bronze Star Medal
Bronze Star Medal
action filter_type
action find
entity Taddy Aycock
relation award received
type award
['Taddy Aycock', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Taddy_Aycock property:award_received ?c . ?c rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7674435
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q928314,P19,c(Q56061))
action filter_type
action find
entity Q7674435
relation P19
type Q56061
['Q928314', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q7674435 property:P19 ?c }
Taddy Aycock
action filter_type
action find
entity Taddy Aycock
relation place of birth
type administrative territorial entity
['Bronze Star Medal', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Taddy_Aycock property:place_of_birth ?c }
[]
administrative territorial entity
Q2439804
SYSTEM
Franklin
Q2439804
(Q928314,P19,c(Q56061))
action filter_type
action find
entity Q7674435
relation P19
type Q56061
That person was born by [ANSWER]
['Q928314', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q7674435 property:P19 ?c }
Franklin
That person was born by Franklin
Franklin
action filter_type
action find
entity Taddy Aycock
relation place of birth
type administrative territorial entity
['Bronze Star Medal', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Taddy_Aycock property:place_of_birth ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7674435
P1412
Q34770
USER
Which language does Taddy Aycock speak in ?
(Q7674435,P1412,c(Q34770))
action filter_type
action find
entity Q7674435
relation P1412
type Q34770
['Q7674435', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q7674435 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Taddy Aycock
action filter_type
action find
entity Taddy Aycock
relation languages spoken, written or signed
type language
['Taddy Aycock', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Taddy_Aycock property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7674435,P1412,c(Q34770))
action filter_type
action find
entity Q7674435
relation P1412
type Q34770
Taddy Aycock speaks Little [ANSWER]
['Q7674435', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q7674435 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
English
Taddy Aycock speaks Little English
English
action filter_type
action find
entity Taddy Aycock
relation languages spoken, written or signed
type language
['Taddy Aycock', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Taddy_Aycock property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3391949
Q34770
USER
And also tell me about Ron Crocombe?
(Q3391949,P1412,c(Q34770))
action filter_type
action find
entity Q3391949
relation P1412
type Q34770
['Q3391949', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q3391949 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Ron Crocombe
action filter_type
action find
entity Ron Crocombe
relation languages spoken, written or signed
type language
['Ron Crocombe', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Ron_Crocombe property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3391949,P1412,c(Q34770))
action filter_type
action find
entity Q3391949
relation P1412
type Q34770
[ANSWER]
['Q3391949', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q3391949 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Ron Crocombe
relation languages spoken, written or signed
type language
['Ron Crocombe', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Ron_Crocombe property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3391949
P1196
Q1931388
USER
What manner did that person die ?
(Q1860,P1196,c(Q1931388))
action filter_type
action find
entity Q3391949
relation P1196
type Q1931388
['Q1860', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?v WHERE { resource:Q3391949 property:P1196 ?v . ?v rdf:type ontology:Q1931388 }
Ron Crocombe
action filter_type
action find
entity Ron Crocombe
relation manner of death
type cause of death
['English', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?v WHERE { resource:Ron_Crocombe property:manner_of_death ?v . ?v rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1860,P1196,c(Q1931388))
action filter_type
action find
entity Q3391949
relation P1196
type Q1931388
That person died in [ANSWER]
['Q1860', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?v WHERE { resource:Q3391949 property:P1196 ?v . ?v rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Ron Crocombe
relation manner of death
type cause of death
['English', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?v WHERE { resource:Ron_Crocombe property:manner_of_death ?v . ?v rdf:type ontology:cause_of_death }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q467037
P282
Q8192 Q34770
USER
How many writing systems are used as the scripts for around the same number of languages as Brahmic script ?
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q467037
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:Q34770 . ?l rdf:type ontology:Q8192 . ?h property:P282 ?l } GROUP BY ?l } . FILTER ( ?f = ?e ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c rdf:type ontology:Q8192 . resource:Q467037 property:P282 ?c } } }
Brahmic script
action count
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Brahmic script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:language . ?l rdf:type ontology:writing_system . ?h property:writing_system ?l } GROUP BY ?l } . FILTER ( ?f = ?e ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c rdf:type ontology:writing_system . resource:Brahmic_script property:writing_system ?c } } }
[]
writing system language
SYSTEM
29
Q854968 Q689894 Q257634 Q1140801 Q2274646 Q467037 Q933796 Q570450 Q2613755 Q1054190 Q2385276 Q1574992 Q1314503 Q51592 Q1703713 Q877906 Q38592 Q756802 Q804984 Q2374532 Q1060381 Q839666 Q1760127 Q2566326 Q79199 Q191272 Q26549 Q1471822 Q26803
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q467037
relation P282
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:Q34770 . ?l rdf:type ontology:Q8192 . ?h property:P282 ?l } GROUP BY ?l } . FILTER ( ?f = ?e ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c rdf:type ontology:Q8192 . resource:Q467037 property:P282 ?c } } }
Burmese alphabet Gurmukhī alphabet Ge'ez script Vietnamese Braille Inuktitut syllabics Brahmic script Limbu alphabet Telugu script Tocharian alphabet Khmer alphabet Ranjana alphabet Sinhala script Tai Tham alphabet Batak alphabet Modi alphabet Thaana Devanagari Bengali alphabet Balinese alphabet Uyghur Arabic alphabet Cham alphabet Kannada alphabet Oriya alphabet Tai Le alphabet Varang Kshiti Assamese alphabet Cherokee syllabary Old Persian cuneiform Tamil script
29
action count
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Brahmic script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:language . ?l rdf:type ontology:writing_system . ?h property:writing_system ?l } GROUP BY ?l } . FILTER ( ?f = ?e ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c rdf:type ontology:writing_system . resource:Brahmic_script property:writing_system ?c } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q257634
P282
Q8192 Q34770
USER
And also tell me about Ge'ez script?
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q257634
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:Q8192 . resource:Q257634 property:P282 ?h } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:P282 ?e . ?e rdf:type ontology:Q8192 . ?d rdf:type ontology:Q34770 } GROUP BY ?e } }
Ge'ez script
action count
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Ge'ez script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:writing_system . resource:Ge'ez_script property:writing_system ?h } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:writing_system ?e . ?e rdf:type ontology:writing_system . ?d rdf:type ontology:language } GROUP BY ?e } }
[]
writing system language
SYSTEM
29
Q854968 Q689894 Q257634 Q1140801 Q2274646 Q467037 Q933796 Q570450 Q2613755 Q1054190 Q2385276 Q1574992 Q1314503 Q51592 Q1703713 Q877906 Q38592 Q756802 Q804984 Q2374532 Q1060381 Q839666 Q1760127 Q2566326 Q79199 Q191272 Q26549 Q1471822 Q26803
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q257634
relation P282
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:Q8192 . resource:Q257634 property:P282 ?h } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:P282 ?e . ?e rdf:type ontology:Q8192 . ?d rdf:type ontology:Q34770 } GROUP BY ?e } }
Burmese alphabet Gurmukhī alphabet Ge'ez script Vietnamese Braille Inuktitut syllabics Brahmic script Limbu alphabet Telugu script Tocharian alphabet Khmer alphabet Ranjana alphabet Sinhala script Tai Tham alphabet Batak alphabet Modi alphabet Thaana Devanagari Bengali alphabet Balinese alphabet Uyghur Arabic alphabet Cham alphabet Kannada alphabet Oriya alphabet Tai Le alphabet Varang Kshiti Assamese alphabet Cherokee syllabary Old Persian cuneiform Tamil script
29
action count
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Ge'ez script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:writing_system . resource:Ge'ez_script property:writing_system ?h } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:writing_system ?e . ?e rdf:type ontology:writing_system . ?d rdf:type ontology:language } GROUP BY ?e } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7674435
P102
Q7210356
USER
Which party is Taddy Aycock affiliated with ?
(Q7674435,P102,c(Q7210356))
action filter_type
action find
entity Q7674435
relation P102
type Q7210356
['Q7674435', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q7674435 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Taddy Aycock
action filter_type
action find
entity Taddy Aycock
relation member of political party
type political organization
['Taddy Aycock', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Taddy_Aycock property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q7674435,P102,c(Q7210356))
action filter_type
action find
entity Q7674435
relation P102
type Q7210356
Taddy Aycock is affiliated with [ANSWER]
['Q7674435', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q7674435 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Democratic Party
Taddy Aycock is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity Taddy Aycock
relation member of political party
type political organization
['Taddy Aycock', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Taddy_Aycock property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q7674435
P106
Q12737077 Q28640
USER
How many occupations or professions do Taddy Aycock do for a living ?
(Q7674435,P106,c(Q12737077)) (Q7674435,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q7674435
relation P106
type Q12737077
action filter_type
action find
entity Q7674435
relation P106
type Q28640
['Q7674435', 'P106', {'concept': 'Q12737077'}] ['Q7674435', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { resource:Q7674435 property:P106 ?h . ?h rdf:type ontology:Q12737077 } UNION { resource:Q7674435 property:P106 ?h . ?h rdf:type ontology:Q28640 } }
Taddy Aycock
action count
action union
action filter_type
action find
entity Taddy Aycock
relation occupation
type occupation
action filter_type
action find
entity Taddy Aycock
relation occupation
type profession
['Taddy Aycock', 'occupation', {'concept': 'occupation'}] ['Taddy Aycock', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { resource:Taddy_Aycock property:occupation ?h . ?h rdf:type ontology:occupation } UNION { resource:Taddy_Aycock property:occupation ?h . ?h rdf:type ontology:profession } }
[]
occupation profession
SYSTEM
2
Q82955 Q40348
(Q7674435,P106,c(Q12737077)) (Q7674435,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q7674435
relation P106
type Q12737077
action filter_type
action find
entity Q7674435
relation P106
type Q28640
[ANSWER]
['Q7674435', 'P106', {'concept': 'Q12737077'}] ['Q7674435', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { resource:Q7674435 property:P106 ?h . ?h rdf:type ontology:Q12737077 } UNION { resource:Q7674435 property:P106 ?h . ?h rdf:type ontology:Q28640 } }
politician lawyer
2
action count
action union
action filter_type
action find
entity Taddy Aycock
relation occupation
type occupation
action filter_type
action find
entity Taddy Aycock
relation occupation
type profession
['Taddy Aycock', 'occupation', {'concept': 'occupation'}] ['Taddy Aycock', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { resource:Taddy_Aycock property:occupation ?h . ?h rdf:type ontology:occupation } UNION { resource:Taddy_Aycock property:occupation ?h . ?h rdf:type ontology:profession } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q13220204 Q7275
USER
How many languages are considered to be the official language of atmost 28 administrative country subdivisions or states ?
(c(Q13220204)|c(Q7275),P37,c(Q34770))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
value 28
[[{'concept': 'Q13220204'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?g ) WHERE { { ?e rdf:type ontology:Q34770 . ?p rdf:type ontology:Q7275 . ?p property:P37 ?e } UNION { ?p property:P37 ?e . ?e rdf:type ontology:Q34770 . ?p rdf:type ontology:Q13220204 } } GROUP BY ?e } . FILTER ( ?g <= 28 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation official language
type language
type state
value 28
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?g ) WHERE { { ?e rdf:type ontology:language . ?p rdf:type ontology:state . ?p property:official_language ?e } UNION { ?p property:official_language ?e . ?e rdf:type ontology:language . ?p rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?e } . FILTER ( ?g <= 28 ) }
[]
language second-level administrative country subdivision state
SYSTEM
15
Q9056 Q1860 Q33251 Q13211 Q3110592 Q36206 Q8752 Q1321 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q13220204)|c(Q7275),P37,c(Q34770))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
value 28
[ANSWER]
[[{'concept': 'Q13220204'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?g ) WHERE { { ?e rdf:type ontology:Q34770 . ?p rdf:type ontology:Q7275 . ?p property:P37 ?e } UNION { ?p property:P37 ?e . ?e rdf:type ontology:Q34770 . ?p rdf:type ontology:Q13220204 } } GROUP BY ?e } . FILTER ( ?g <= 28 ) }
Czech English Church Slavonic Ruthenian written Chinese Lak Basque Spanish Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
15
action count
action atmost
action union
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation official language
type language
type state
value 28
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?g ) WHERE { { ?e rdf:type ontology:language . ?p rdf:type ontology:state . ?p property:official_language ?e } UNION { ?p property:official_language ?e . ?e rdf:type ontology:language . ?p rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?e } . FILTER ( ?g <= 28 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29552 Q214102
P710
Q1190554
USER
How many events were Democratic Party or Union a participant of ?
(c(Q1190554),P710,Q29552) (c(Q1190554),P710,Q214102)
action count
action union
action filter_type
action find_reverse
entity Q29552
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q214102
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q29552'] [{'concept': 'Q1190554'}, 'P710', 'Q214102']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:P710 resource:Q29552 . ?q rdf:type ontology:Q1190554 } UNION { ?q rdf:type ontology:Q1190554 . ?q property:P710 resource:Q214102 } }
Democratic Party Union
action count
action union
action filter_type
action find_reverse
entity Democratic Party
relation participant
type event
action filter_type
action find_reverse
entity Union
relation participant
type event
[{'concept': 'event'}, 'participant', 'Democratic Party'] [{'concept': 'event'}, 'participant', 'Union']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:participant resource:Democratic_Party . ?q rdf:type ontology:event } UNION { ?q rdf:type ontology:event . ?q property:participant resource:Union } }
[]
event
SYSTEM
2
Q2640011 Q33132
(c(Q1190554),P710,Q29552) (c(Q1190554),P710,Q214102)
action count
action union
action filter_type
action find_reverse
entity Q29552
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q214102
relation P710
type Q1190554
[ANSWER]
[{'concept': 'Q1190554'}, 'P710', 'Q29552'] [{'concept': 'Q1190554'}, 'P710', 'Q214102']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:P710 resource:Q29552 . ?q rdf:type ontology:Q1190554 } UNION { ?q rdf:type ontology:Q1190554 . ?q property:P710 resource:Q214102 } }
Battle of Barbourville Battle of Gettysburg
2
action count
action union
action filter_type
action find_reverse
entity Democratic Party
relation participant
type event
action filter_type
action find_reverse
entity Union
relation participant
type event
[{'concept': 'event'}, 'participant', 'Democratic Party'] [{'concept': 'event'}, 'participant', 'Union']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:participant resource:Democratic_Party . ?q rdf:type ontology:event } UNION { ?q rdf:type ontology:event . ?q property:participant resource:Union } }
[]