Simple Question (Direct)
Simple Question
Q887379
P27
Q15617994
USER
Which administrative territory is Bo Giertz a civilian of ?
(Q887379,P27,c(Q15617994))
action filter_type
action find
entity Q887379
relation P27
type Q15617994
['Q887379', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q887379 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Bo Giertz
action filter_type
action find
entity Bo Giertz
relation country of citizenship
type designation for an administrative territorial entity
['Bo Giertz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Bo_Giertz property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q887379,P27,c(Q15617994))
action filter_type
action find
entity Q887379
relation P27
type Q15617994
[ANSWER] is Bo Giertz a civilian of
['Q887379', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q887379 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Sweden
Sweden is Bo Giertz a civilian of
Sweden
action filter_type
action find
entity Bo Giertz
relation country of citizenship
type designation for an administrative territorial entity
['Bo Giertz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Bo_Giertz property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q887379
P20
Q56061
USER
Where did that person expire ?
(Q34,P20,c(Q56061))
action filter_type
action find
entity Q887379
relation P20
type Q56061
['Q34', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q887379 property:P20 ?k }
Bo Giertz
action filter_type
action find
entity Bo Giertz
relation place of death
type administrative territorial entity
['Sweden', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Bo_Giertz property:place_of_death ?k }
[]
administrative territorial entity
Q25287
SYSTEM
Gothenburg
Q25287
(Q34,P20,c(Q56061))
action filter_type
action find
entity Q887379
relation P20
type Q56061
That person expired in [ANSWER]
['Q34', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q887379 property:P20 ?k }
Gothenburg
That person expired in Gothenburg
Gothenburg
action filter_type
action find
entity Bo Giertz
relation place of death
type administrative territorial entity
['Sweden', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Bo_Giertz property:place_of_death ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25287
P931
Q62447
USER
Which aerodromes serve the place named that administrative territory ?
(c(Q62447),P931,Q25287)
action filter_type
action find_reverse
entity Q25287
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q25287']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q62447 . ?c property:P931 resource:Q25287 }
Gothenburg
action filter_type
action find_reverse
entity Gothenburg
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Gothenburg']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:aerodrome . ?c property:place_served_by_airport resource:Gothenburg }
[]
aerodrome
Q3364802 Q844281
SYSTEM
Torslanda Airport, Gothenburg City Airport
Q3364802 Q844281
(c(Q62447),P931,Q25287)
action filter_type
action find_reverse
entity Q25287
relation P931
type Q62447
[ANSWERS] serve the place named that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q25287']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q62447 . ?c property:P931 resource:Q25287 }
Torslanda Airport Gothenburg City Airport
Torslanda Airport and Gothenburg City Airport serve the place named that administrative territory
Torslanda Airport Gothenburg City Airport
action filter_type
action find_reverse
entity Gothenburg
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Gothenburg']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:aerodrome . ?c property:place_served_by_airport resource:Gothenburg }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3364802 Q844281
P931
Q56061
USER
Which cities are served by those aerodromes ?
(Q3364802,P931,c(Q56061)) (Q844281,P931,c(Q56061))
action filter_type
action find
entity prev_answer
relation P931
type Q56061
['Q3364802', 'P931', {'concept': 'Q56061'}] ['Q844281', 'P931', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . ?k property:P931 ?w . VALUES ( ?k ) { ( resource:Q3364802 ) ( resource:Q844281 ) } }
Torslanda Airport Gothenburg City Airport
action filter_type
action find
entity prev_answer
relation place served by airport
type administrative territorial entity
['Torslanda Airport', 'place served by airport', {'concept': 'administrative territorial entity'}] ['Gothenburg City Airport', 'place served by airport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . ?k property:place_served_by_airport ?w . VALUES ( ?k ) { ( resource:Torslanda_Airport ) ( resource:Gothenburg_City_Airport ) } }
[]
administrative territorial entity
Q25287 Q25287
SYSTEM
Gothenburg
Q25287 Q25287
(Q3364802,P931,c(Q56061)) (Q844281,P931,c(Q56061))
action filter_type
action find
entity prev_answer
relation P931
type Q56061
[ANSWER] and [ANSWER] are served by those aerodromes
['Q3364802', 'P931', {'concept': 'Q56061'}] ['Q844281', 'P931', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . ?k property:P931 ?w . VALUES ( ?k ) { ( resource:Q3364802 ) ( resource:Q844281 ) } }
Gothenburg Gothenburg
Gothenburg and Gothenburg are served by those aerodromes
Gothenburg Gothenburg
action filter_type
action find
entity prev_answer
relation place served by airport
type administrative territorial entity
['Torslanda Airport', 'place served by airport', {'concept': 'administrative territorial entity'}] ['Gothenburg City Airport', 'place served by airport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . ?k property:place_served_by_airport ?w . VALUES ( ?k ) { ( resource:Torslanda_Airport ) ( resource:Gothenburg_City_Airport ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25287
P6
Q502895
USER
Which person has Gothenburg as its head of government ?
(Q25287,P6,c(Q502895))
action filter_type
action find
entity Q25287
relation P6
type Q502895
['Q25287', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q25287 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Gothenburg
action filter_type
action find
entity Gothenburg
relation head of government
type common name
['Gothenburg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Gothenburg property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
common name
Q24263625
SYSTEM
Ann-Sofie Hermansson
Q24263625
(Q25287,P6,c(Q502895))
action filter_type
action find
entity Q25287
relation P6
type Q502895
[ANSWER] has Gothenburg as its head of government
['Q25287', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q25287 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Ann-Sofie Hermansson
Ann-Sofie Hermansson has Gothenburg as its head of government
Ann-Sofie Hermansson
action filter_type
action find
entity Gothenburg
relation head of government
type common name
['Gothenburg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Gothenburg property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24263625
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q24263625,P106,c(Q12737077))
action filter_type
action find
entity Q24263625
relation P106
type Q12737077
['Q24263625', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q24263625 property:P106 ?k }
Ann-Sofie Hermansson
action filter_type
action find
entity Ann-Sofie Hermansson
relation occupation
type occupation
['Ann-Sofie Hermansson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Ann-Sofie_Hermansson property:occupation ?k }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q24263625,P106,c(Q12737077))
action filter_type
action find
entity Q24263625
relation P106
type Q12737077
Is [ANSWER] is the profession of that person
['Q24263625', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q24263625 property:P106 ?k }
politician
Is politician is the profession of that person
politician
action filter_type
action find
entity Ann-Sofie Hermansson
relation occupation
type occupation
['Ann-Sofie Hermansson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Ann-Sofie_Hermansson property:occupation ?k }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q20534394 Q24263625
P106
Q12737077
USER
And also Federico Díaz Palafox
AND((Q24263625,P106,c(Q12737077)), (Q20534394,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q24263625
relation P106
action find
entity Q20534394
relation P106
type Q12737077
{'AND': [['Q24263625', 'P106', {'concept': 'Q12737077'}], ['Q20534394', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { resource:Q24263625 property:P106 ?z . resource:Q20534394 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Federico Díaz Palafox Ann-Sofie Hermansson
action filter_type
action intersection
action find
entity Ann-Sofie Hermansson
relation occupation
action find
entity Federico Díaz Palafox
relation occupation
type occupation
{'AND': [['Ann-Sofie Hermansson', 'occupation', {'concept': 'occupation'}], ['Federico Díaz Palafox', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { resource:Ann-Sofie_Hermansson property:occupation ?z . resource:Federico_Díaz_Palafox property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
AND((Q24263625,P106,c(Q12737077)), (Q20534394,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q24263625
relation P106
action find
entity Q20534394
relation P106
type Q12737077
[ANSWER]
{'AND': [['Q24263625', 'P106', {'concept': 'Q12737077'}], ['Q20534394', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { resource:Q24263625 property:P106 ?z . resource:Q20534394 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action intersection
action find
entity Ann-Sofie Hermansson
relation occupation
action find
entity Federico Díaz Palafox
relation occupation
type occupation
{'AND': [['Ann-Sofie Hermansson', 'occupation', {'concept': 'occupation'}], ['Federico Díaz Palafox', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { resource:Ann-Sofie_Hermansson property:occupation ?z . resource:Federico_Díaz_Palafox property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P106
Q1076105 Q9819120
USER
How many general elections or Victimss of the White Terror (Spain) have the profession as that occupation ?
(c(Q1076105),P106,Q82955) (c(Q9819120),P106,Q82955) (c(Q1076105),P106,Q82955) (c(Q9819120),P106,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P106
type Q1076105
action filter_type
action find_reverse
entity Q82955
relation P106
type Q9819120
[{'concept': 'Q1076105'}, 'P106', 'Q82955'] [{'concept': 'Q9819120'}, 'P106', 'Q82955'] [{'concept': 'Q1076105'}, 'P106', 'Q82955'] [{'concept': 'Q9819120'}, 'P106', 'Q82955']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { VALUES ( ?l ) { ( ontology:Q1076105 ) ( ontology:Q9819120 ) } . ?x rdf:type ?l }
action count
action union
action filter_type
action find_reverse
entity politician
relation occupation
type general election
action filter_type
action find_reverse
entity politician
relation occupation
type Category:Victims of the White Terror (Spain)
[{'concept': 'general election'}, 'occupation', 'politician'] [{'concept': 'Category:Victims of the White Terror (Spain)'}, 'occupation', 'politician'] [{'concept': 'general election'}, 'occupation', 'politician'] [{'concept': 'Category:Victims of the White Terror (Spain)'}, 'occupation', 'politician']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { VALUES ( ?l ) { ( ontology:general_election ) ( ontology:Category:Victims_of_the_White_Terror_(Spain) ) } . ?x rdf:type ?l }
[]
general election Category:Victims of the White Terror (Spain)
SYSTEM
2
Q14626845 Q7573395
(c(Q1076105),P106,Q82955) (c(Q9819120),P106,Q82955) (c(Q1076105),P106,Q82955) (c(Q9819120),P106,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P106
type Q1076105
action filter_type
action find_reverse
entity Q82955
relation P106
type Q9819120
[ANSWER]
[{'concept': 'Q1076105'}, 'P106', 'Q82955'] [{'concept': 'Q9819120'}, 'P106', 'Q82955'] [{'concept': 'Q1076105'}, 'P106', 'Q82955'] [{'concept': 'Q9819120'}, 'P106', 'Q82955']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { VALUES ( ?l ) { ( ontology:Q1076105 ) ( ontology:Q9819120 ) } . ?x rdf:type ?l }
Juan Antonio Gaya Tovar Spanish general election, 1923
2
action count
action union
action filter_type
action find_reverse
entity politician
relation occupation
type general election
action filter_type
action find_reverse
entity politician
relation occupation
type Category:Victims of the White Terror (Spain)
[{'concept': 'general election'}, 'occupation', 'politician'] [{'concept': 'Category:Victims of the White Terror (Spain)'}, 'occupation', 'politician'] [{'concept': 'general election'}, 'occupation', 'politician'] [{'concept': 'Category:Victims of the White Terror (Spain)'}, 'occupation', 'politician']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { VALUES ( ?l ) { ( ontology:general_election ) ( ontology:Category:Victims_of_the_White_Terror_(Spain) ) } . ?x rdf:type ?l }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2666591
P921
Q12737077 Q191067 Q2342494
USER
Which occupations were greater number of articles and collectables mainly about than Chair of the Federal Reserve ?
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2666591
relation P921
type Q191067
type Q2342494
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?i ) WHERE { { ?k property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q191067 } UNION { ?k property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q2342494 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:P921 resource:Q2666591 . { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?i > ?a ) }
Chair of the Federal Reserve
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity Chair of the Federal Reserve
relation main subject
type article
type collectable
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?i ) WHERE { { ?k property:main_subject ?u . ?u rdf:type ontology:occupation . ?k rdf:type ontology:article } UNION { ?k property:main_subject ?u . ?u rdf:type ontology:occupation . ?k rdf:type ontology:collectable } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:main_subject resource:Chair_of_the_Federal_Reserve . { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:article ) ( ontology:collectable ) } } } } . FILTER ( ?i > ?a ) }
[]
occupation article collectable
Q316070 Q182436 Q42973
SYSTEM
Fletcher Christian, librarian, architect
Q172907 Q39631 Q11631 Q774306 Q83307 Q4610556 Q18145518 Q82955 Q730242 Q42973 Q937857 Q9402 Q43845 Q316070 Q29182 Q510373 Q131524 Q14373094 Q152002 Q18220900 Q16746569 Q16003605 Q732358 Q49757 Q1238570 Q182436 Q2259532
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2666591
relation P921
type Q191067
type Q2342494
[ANSWERS] were greater number of articles and collectables mainly about than Chair of the Federal Reserve
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?i ) WHERE { { ?k property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q191067 } UNION { ?k property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q2342494 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:P921 resource:Q2666591 . { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?i > ?a ) }
praetor physician astronaut surgeon minister model Member of the New Zealand House of Representatives politician test pilot architect association football player ninja businessperson Fletcher Christian bishop Lord High Steward entrepreneur rugby league player pastor Member of the South Australian House of Assembly high school student elementary school student Nomarch poet political scientist librarian cleric
Fletcher Christian, librarian and architect were greater number of articles and collectables mainly about than Chair of the Federal Reserve
Fletcher Christian librarian architect
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity Chair of the Federal Reserve
relation main subject
type article
type collectable
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?i ) WHERE { { ?k property:main_subject ?u . ?u rdf:type ontology:occupation . ?k rdf:type ontology:article } UNION { ?k property:main_subject ?u . ?u rdf:type ontology:occupation . ?k rdf:type ontology:collectable } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:main_subject resource:Chair_of_the_Federal_Reserve . { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:article ) ( ontology:collectable ) } } } } . FILTER ( ?i > ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q14128148
P921
Q12737077 Q191067 Q2342494
USER
And also tell me about gridiron football player?
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q14128148
relation P921
type Q191067
type Q2342494
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?z WHERE { VALUES ( ?r ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } . ?e rdf:type ?r } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:P921 resource:Q14128148 . { ?s rdf:type ?q . VALUES ( ?q ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?x > ?u ) }
gridiron football player
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity gridiron football player
relation main subject
type article
type collectable
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?z WHERE { VALUES ( ?r ) { ( ontology:article ) ( ontology:collectable ) } . ?e rdf:type ?r } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:main_subject resource:gridiron_football_player . { ?s rdf:type ?q . VALUES ( ?q ) { ( ontology:article ) ( ontology:collectable ) } } } } . FILTER ( ?x > ?u ) }
[]
occupation article collectable
Q316070 Q182436 Q42973
SYSTEM
Fletcher Christian, librarian, architect
Q172907 Q39631 Q11631 Q774306 Q83307 Q4610556 Q18145518 Q82955 Q730242 Q42973 Q937857 Q9402 Q43845 Q316070 Q29182 Q510373 Q131524 Q14373094 Q152002 Q18220900 Q16746569 Q16003605 Q732358 Q49757 Q1238570 Q182436 Q2259532
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q14128148
relation P921
type Q191067
type Q2342494
[ANSWERS]
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?z WHERE { VALUES ( ?r ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } . ?e rdf:type ?r } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:P921 resource:Q14128148 . { ?s rdf:type ?q . VALUES ( ?q ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?x > ?u ) }
praetor physician astronaut surgeon minister model Member of the New Zealand House of Representatives politician test pilot architect association football player ninja businessperson Fletcher Christian bishop Lord High Steward entrepreneur rugby league player pastor Member of the South Australian House of Assembly high school student elementary school student Nomarch poet political scientist librarian cleric
Fletcher Christian librarian architect
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity gridiron football player
relation main subject
type article
type collectable
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?z WHERE { VALUES ( ?r ) { ( ontology:article ) ( ontology:collectable ) } . ?e rdf:type ?r } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:main_subject resource:gridiron_football_player . { ?s rdf:type ?q . VALUES ( ?q ) { ( ontology:article ) ( ontology:collectable ) } } } } . FILTER ( ?x > ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q316070
P22
Q502895
USER
How many people have Fletcher Christian as a father ?
(c(Q502895),P22,Q316070)
action count
action filter_type
action find_reverse
entity Q316070
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q316070']
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { ?r rdf:type ontology:Q502895 . ?r property:P22 resource:Q316070 }
Fletcher Christian
action count
action filter_type
action find_reverse
entity Fletcher Christian
relation father
type common name
[{'concept': 'common name'}, 'father', 'Fletcher Christian']
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { ?r rdf:type ontology:common_name . ?r property:father resource:Fletcher_Christian }
[]
common name
SYSTEM
1
Q2336911
(c(Q502895),P22,Q316070)
action count
action filter_type
action find_reverse
entity Q316070
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q316070']
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { ?r rdf:type ontology:Q502895 . ?r property:P22 resource:Q316070 }
Thursday October Christian I
1
action count
action filter_type
action find_reverse
entity Fletcher Christian
relation father
type common name
[{'concept': 'common name'}, 'father', 'Fletcher Christian']
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { ?r rdf:type ontology:common_name . ?r property:father resource:Fletcher_Christian }
[]