Simple Question (Direct)
Simple Question
Q16332762
P20
Q56061
USER
Where did the demise of Ēlias Lagios occur ?
(Q16332762,P20,c(Q56061))
action filter_type
action find
entity Q16332762
relation P20
type Q56061
['Q16332762', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q16332762 property:P20 ?f }
Ēlias Lagios
action filter_type
action find
entity Ēlias Lagios
relation place of death
type administrative territorial entity
['Ēlias Lagios', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Ēlias_Lagios property:place_of_death ?f }
[]
administrative territorial entity
Q1524
SYSTEM
Athens
Q1524
(Q16332762,P20,c(Q56061))
action filter_type
action find
entity Q16332762
relation P20
type Q56061
The demise of Ēlias Lagios occurred in [ANSWER]
['Q16332762', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q16332762 property:P20 ?f }
Athens
The demise of Ēlias Lagios occurred in Athens
Athens
action filter_type
action find
entity Ēlias Lagios
relation place of death
type administrative territorial entity
['Ēlias Lagios', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Ēlias_Lagios property:place_of_death ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16332762
P21
Q290
USER
Which sex does that person possess ?
(Q1524,P21,c(Q290))
action filter_type
action find
entity Q16332762
relation P21
type Q290
['Q1524', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q16332762 property:P21 ?d . ?d rdf:type ontology:Q290 }
Ēlias Lagios
action filter_type
action find
entity Ēlias Lagios
relation gender
type sex
['Athens', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Ēlias_Lagios property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1524,P21,c(Q290))
action filter_type
action find
entity Q16332762
relation P21
type Q290
That person possesses a [ANSWER]
['Q1524', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q16332762 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Ēlias Lagios
relation gender
type sex
['Athens', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Ēlias_Lagios property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16332762
P106
Q12737077
USER
What is the job of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q16332762
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q16332762 property:P106 ?a }
Ēlias Lagios
action filter_type
action find
entity Ēlias Lagios
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Ēlias_Lagios property:occupation ?a }
[]
occupation
Q49757
SYSTEM
poet
Q49757
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q16332762
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q16332762 property:P106 ?a }
poet
The job of that person is a poet
poet
action filter_type
action find
entity Ēlias Lagios
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Ēlias_Lagios property:occupation ?a }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P138
Q12737077 Q34442 Q82799
USER
Which occupations are the etymology of approximately the same number of roads and names as that occupation ?
(c(Q34442)|c(Q82799),P138,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q12737077
type Q34442
action find_reverse_tuple_counts
relation P138
type Q12737077
type Q82799
action count
action filter_multi_types
action find_reverse
entity Q49757
relation P138
type Q34442
type Q82799
[[{'concept': 'Q34442'}, {'concept': 'Q82799'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?d WHERE { { ?m rdf:type ontology:Q34442 . ?d rdf:type ontology:Q12737077 . ?m property:P138 ?d } UNION { ?m property:P138 ?d . ?d rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q82799 } } GROUP BY ?d } . FILTER ( ?a = ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { { ?c rdf:type ontology:Q34442 } UNION { ?c rdf:type ontology:Q82799 } } . ?c property:P138 resource:Q49757 } } }
action approx
action union
action find_reverse_tuple_counts
relation named after
type occupation
type road
action find_reverse_tuple_counts
relation named after
type occupation
type name
action count
action filter_multi_types
action find_reverse
entity poet
relation named after
type road
type name
[[{'concept': 'road'}, {'concept': 'name'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?d WHERE { { ?m rdf:type ontology:road . ?d rdf:type ontology:occupation . ?m property:named_after ?d } UNION { ?m property:named_after ?d . ?d rdf:type ontology:occupation . ?m rdf:type ontology:name } } GROUP BY ?d } . FILTER ( ?a = ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { { ?c rdf:type ontology:road } UNION { ?c rdf:type ontology:name } } . ?c property:named_after resource:poet } } }
[]
occupation road name
Q316070 Q131512 Q3112727
SYSTEM
Fletcher Christian, farmer, Governor of Wisconsin
Q192711 Q2347975 Q131512 Q80687 Q3506352 Q475604 Q11631 Q20765963 Q16010345 Q16149111 Q4151335 Q45199 Q878942 Q3181438 Q171692 Q2550683 Q18576582 Q390776 Q3112727 Q3112728 Q1542521 Q5589725 Q5589724 Q326330 Q20846080 Q16147601 Q20765611 Q733786 Q20801667 Q44356 Q15442776 Q16202700 Q20801664 Q386854 Q20853586 Q20644070 Q5589655 Q21993602 Q577017 Q17089908 Q887010 Q2626318 Q201559 Q316070 Q887220 Q326358 Q20801651 Q5589668 Q20804520 Q13393921 Q20801647 Q20801646 Q20801644 Q242468 Q1477129 Q693032 Q152002 Q2259451 Q3773745 Q3773741 Q1028181 Q20804530 Q170779 Q5420718 Q20804538 Q275102 Q20801656 Q5589688 Q4991371 Q20801652 Q5589687 Q5589680 Q20801659 Q5589682 Q20766109 Q19647220 Q3738699 Q7252932 Q2251335 Q3773752 Q20198851 Q49757 Q456951 Q1141526 Q3112719 Q26218416 Q193391 Q988618 Q1410101
(c(Q34442)|c(Q82799),P138,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q12737077
type Q34442
action find_reverse_tuple_counts
relation P138
type Q12737077
type Q82799
action count
action filter_multi_types
action find_reverse
entity Q49757
relation P138
type Q34442
type Q82799
[ANSWERS] are the etymology of approximately the same number of roads and names as that occupation
[[{'concept': 'Q34442'}, {'concept': 'Q82799'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?d WHERE { { ?m rdf:type ontology:Q34442 . ?d rdf:type ontology:Q12737077 . ?m property:P138 ?d } UNION { ?m property:P138 ?d . ?d rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q82799 } } GROUP BY ?d } . FILTER ( ?a = ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { { ?c rdf:type ontology:Q34442 } UNION { ?c rdf:type ontology:Q82799 } } . ?c property:P138 resource:Q49757 } } }
Prime Minister of India Governor of New York farmer secretary Governor of Maine maritime pilot astronaut Governor of Arkansas performer Governor of Oregon Governor of Kentucky sailor Governor of Virginia Nagasaki bugyō Patriarch Governor of Oklahoma metallurgist Governor General of Canada Governor of Wisconsin Governor of New Jersey Governor-General of the Philippines Governor of Texas Governor of Tennessee primate Senator of the Legislature of the United States Virgin Islands Governor of Indiana Governor of Rhode Island monk Governor of Missouri tsar cryptographer Governor of North Carolina Governor of Iowa drummer Delegate of the Virgin Islands to the United States House of Representatives Governor of Ohio Governor of Hawaii Greverade family ban Governor of New Mexico Governor of California Governor of South Dakota privateer Fletcher Christian Governor of Utah joiner Governor of Nevada Governor of Kansas Governor of the United States Virgin Islands pioneer Governor of Wyoming Governor of Montana Governor of Alaska tailor völva Governor of Maryland pastor stage actor Governor of Vermont Governor of North Dakota painter Governor of American Samoa Kassandra exotic dancer Governor of the Northern Mariana Islands voivode Governor of Delaware Governor of Nebraska soldier Governor of West Virginia Governor of New Hampshire Governor of Michigan Governor of Pennsylvania Governor of Minnesota Governor of Louisiana Governor of Washington forester pro–am school teacher Governor of South Carolina Governor of Florida poet Governor of Puerto Rico stripper Governor of Illinois Chief Minister of Kerala diplomat Money changer pyrotechnist
Fletcher Christian, farmer and Governor of Wisconsin are the etymology of approximately the same number of roads and names as that occupation
Fletcher Christian farmer Governor of Wisconsin
action approx
action union
action find_reverse_tuple_counts
relation named after
type occupation
type road
action find_reverse_tuple_counts
relation named after
type occupation
type name
action count
action filter_multi_types
action find_reverse
entity poet
relation named after
type road
type name
[[{'concept': 'road'}, {'concept': 'name'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?d WHERE { { ?m rdf:type ontology:road . ?d rdf:type ontology:occupation . ?m property:named_after ?d } UNION { ?m property:named_after ?d . ?d rdf:type ontology:occupation . ?m rdf:type ontology:name } } GROUP BY ?d } . FILTER ( ?a = ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { { ?c rdf:type ontology:road } UNION { ?c rdf:type ontology:name } } . ?c property:named_after resource:poet } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the patron saints of approximately 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P417 ?g . ?g rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?g } . FILTER ( ?l = 3 ) }
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:patron_saint ?g . ?g rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?g } . FILTER ( ?l = 3 ) }
[]
common name occupation
SYSTEM
3
Q128538 Q192816 Q200895
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P417 ?g . ?g rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?g } . FILTER ( ?l = 3 ) }
Luke the Evangelist Saint Barbara Agatha of Sicily
3
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:patron_saint ?g . ?g rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?g } . FILTER ( ?l = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1028181
P425
Q3249551
USER
Which process is associated with the field of occupation painter ?
(Q1028181,P425,c(Q3249551))
action filter_type
action find
entity Q1028181
relation P425
type Q3249551
['Q1028181', 'P425', {'concept': 'Q3249551'}]
SELECT DISTINCT ?x WHERE { resource:Q1028181 property:P425 ?x . ?x rdf:type ontology:Q3249551 }
painter
action filter_type
action find
entity painter
relation field of this occupation
type process
['painter', 'field of this occupation', {'concept': 'process'}]
SELECT DISTINCT ?x WHERE { resource:painter property:field_of_this_occupation ?x . ?x rdf:type ontology:process }
[]
process
Q11629
SYSTEM
art of painting
Q11629
(Q1028181,P425,c(Q3249551))
action filter_type
action find
entity Q1028181
relation P425
type Q3249551
The [ANSWER] is associated with the field of occupation painter
['Q1028181', 'P425', {'concept': 'Q3249551'}]
SELECT DISTINCT ?x WHERE { resource:Q1028181 property:P425 ?x . ?x rdf:type ontology:Q3249551 }
art of painting
The art of painting is associated with the field of occupation painter
art of painting
action filter_type
action find
entity painter
relation field of this occupation
type process
['painter', 'field of this occupation', {'concept': 'process'}]
SELECT DISTINCT ?x WHERE { resource:painter property:field_of_this_occupation ?x . ?x rdf:type ontology:process }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q11629 Q2238172 Q18162397
P1056
Q838948
USER
Does art of painting produce Maya Lin: A Strong Clear Vision and Atomic Brain Invasion ?
(Q11629,P1056,Q2238172) (Q11629,P1056,Q18162397)
action is_in
entity Q11629
action intersection
action find_reverse
entity Q2238172
relation P1056
action find_reverse
entity Q18162397
relation P1056
['Q11629', 'P1056', 'Q2238172'] ['Q11629', 'P1056', 'Q18162397']
ASK WHERE { resource:Q11629 property:P1056 resource:Q2238172 . resource:Q11629 property:P1056 resource:Q18162397 }
art of painting Maya Lin: A Strong Clear Vision Atomic Brain Invasion
action is_in
entity art of painting
action intersection
action find_reverse
entity Maya Lin: A Strong Clear Vision
relation product
action find_reverse
entity Atomic Brain Invasion
relation product
['art of painting', 'product', 'Maya Lin: A Strong Clear Vision'] ['art of painting', 'product', 'Atomic Brain Invasion']
ASK WHERE { resource:art_of_painting property:product resource:Maya_Lin:_A_Strong_Clear_Vision . resource:art_of_painting property:product resource:Atomic_Brain_Invasion }
[]
work of art
SYSTEM
NO
(Q11629,P1056,Q2238172) (Q11629,P1056,Q18162397)
action is_in
entity Q11629
action intersection
action find_reverse
entity Q2238172
relation P1056
action find_reverse
entity Q18162397
relation P1056
[ANSWER]
['Q11629', 'P1056', 'Q2238172'] ['Q11629', 'P1056', 'Q18162397']
ASK WHERE { resource:Q11629 property:P1056 resource:Q2238172 . resource:Q11629 property:P1056 resource:Q18162397 }
No
action is_in
entity art of painting
action intersection
action find_reverse
entity Maya Lin: A Strong Clear Vision
relation product
action find_reverse
entity Atomic Brain Invasion
relation product
['art of painting', 'product', 'Maya Lin: A Strong Clear Vision'] ['art of painting', 'product', 'Atomic Brain Invasion']
ASK WHERE { resource:art_of_painting property:product resource:Maya_Lin:_A_Strong_Clear_Vision . resource:art_of_painting property:product resource:Atomic_Brain_Invasion }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q171632 Q1524
P190
Q56061
USER
Which administrative territories are the sister cities of Athens but not Maracaibo ?
AND((Q1524,P190,c(Q56061)), NOT((Q171632,P190,c(Q56061))))
action filter_type
action difference
action find
entity Q1524
relation P190
action find
entity Q171632
relation P190
type Q56061
{'AND': [['Q1524', 'P190', {'concept': 'Q56061'}], {'NOT': [['Q171632', 'P190', {'concept': 'Q56061'}]]}]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . MINUS { resource:Q171632 property:P190 ?m } . resource:Q1524 property:P190 ?m }
Maracaibo Athens
action filter_type
action difference
action find
entity Athens
relation sister city
action find
entity Maracaibo
relation sister city
type administrative territorial entity
{'AND': [['Athens', 'sister city', {'concept': 'administrative territorial entity'}], {'NOT': [['Maracaibo', 'sister city', {'concept': 'administrative territorial entity'}]]}]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . MINUS { resource:Maracaibo property:sister_city ?m } . resource:Athens property:sister_city ?m }
[]
administrative territorial entity
Q3820 Q406 Q100 Q51103 Q1449 Q956 Q3856 Q135410 Q193190 Q597
SYSTEM
Some of them are Beirut, Istanbul, Boston, Cali, Genoa, Beijing, Nicosia, Domodedovo, Famagusta, Lisbon
Q437 Q994 Q727 Q3766 Q649 Q193190 Q472 Q100 Q1297 Q3856 Q340 Q8471 Q406 Q2634 Q1563 Q3551 Q23556 Q203263 Q3711 Q5582862 Q1449 Q51103 Q3820 Q270 Q8678 Q2807 Q597 Q956 Q1492 Q2044 Q65 Q135410 Q5776 Q61 Q1085
AND((Q1524,P190,c(Q56061)), NOT((Q171632,P190,c(Q56061))))
action filter_type
action difference
action find
entity Q1524
relation P190
action find
entity Q171632
relation P190
type Q56061
[ANSWERS] are the sister cities of Athens but not Maracaibo
{'AND': [['Q1524', 'P190', {'concept': 'Q56061'}], {'NOT': [['Q171632', 'P190', {'concept': 'Q56061'}]]}]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . MINUS { resource:Q171632 property:P190 ?m } . resource:Q1524 property:P190 ?m }
Ljubljana Tbilisi Amsterdam Damascus Moscow Famagusta Sofia Boston Chicago Nicosia Montreal Reggio Calabria Istanbul Naples Havana Rabat Atlanta Athens Belgrade Cusco Genoa Cali Beirut Warsaw Rio de Janeiro Madrid Lisbon Beijing Barcelona Florence Los Angeles Domodedovo Bethlehem Washington, D.C. Prague
Beirut, Istanbul, Boston, Cali, Genoa, Beijing, Nicosia, Domodedovo, Famagusta and Lisbon are the sister cities of Athens but not Maracaibo
Beirut Istanbul Boston Cali Genoa Beijing Nicosia Domodedovo Famagusta Lisbon
action filter_type
action difference
action find
entity Athens
relation sister city
action find
entity Maracaibo
relation sister city
type administrative territorial entity
{'AND': [['Athens', 'sister city', {'concept': 'administrative territorial entity'}], {'NOT': [['Maracaibo', 'sister city', {'concept': 'administrative territorial entity'}]]}]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . MINUS { resource:Maracaibo property:sister_city ?m } . resource:Athens property:sister_city ?m }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q3112727
P39 P21
Q502895
USER
Which people were responsible for occupying the position of Governor of Wisconsin and have the gender as male ?
AND((c(Q502895),P39,Q3112727), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3112727
relation P39
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q3112727'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P39 resource:Q3112727 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
male Governor of Wisconsin
action filter_type
action intersection
action find_reverse
entity Governor of Wisconsin
relation position held
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'Governor of Wisconsin'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:position_held resource:Governor_of_Wisconsin . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]
common name
Q370369 Q732804 Q579081 Q886154 Q371460 Q886966 Q884083 Q607949 Q371104 Q881961
SYSTEM
Some of them are Harrison Ludington, Tommy Thompson, Lee S. Dreyfus, John W. Reynolds, Arthur MacArthur, Gaylord Nelson, Louis P. Harvey, Oscar Rennebohm, Patrick Lucey, Nelson Dewey
Q884649 Q886154 Q370369 Q370598 Q885495 Q553254 Q884106 Q214563 Q7103016 Q732804 Q2549778 Q478117 Q884312 Q615494 Q369525 Q369835 Q881961 Q371436 Q885429 Q881044 Q609122 Q885011 Q882431 Q705961 Q773412 Q885645 Q883233 Q371104 Q370198 Q885215 Q267988 Q887279 Q370889 Q886966 Q881613 Q878682 Q607949 Q884083 Q884134 Q887084 Q882895 Q885198 Q351214 Q579081 Q371460
AND((c(Q502895),P39,Q3112727), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3112727
relation P39
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were responsible for occupying the position of Governor of Wisconsin and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q3112727'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P39 resource:Q3112727 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
Edward Scofield John W. Reynolds Harrison Ludington Albert G. Schmedeman Walter Samuel Goodland Scott Walker William Robert Taylor Edward Salomon Orland Steen Loomis Tommy Thompson Warren P. Knowles William E. Smith William H. Upham Martin J. Schreiber James T. Lewis Cadwallader C. Washburn Nelson Dewey Fred R. Zimmerman Julius P. Heil Alexander Randall Tony Earl Francis E. McGovern Leonard J. Farwell Jim Doyle John J. Blaine Walter J. Kohler, Jr. William A. Barstow Patrick Lucey William D. Hoard Walter J. Kohler, Sr. Lucius Fairchild James O. Davidson Philip La Follette Gaylord Nelson Vernon Wallace Thomson Robert M. La Follette Oscar Rennebohm Louis P. Harvey George Wilbur Peck Jeremiah McLain Rusk Coles Bashford Emanuel L. Philipp Scott McCallum Lee S. Dreyfus Arthur MacArthur
Harrison Ludington, Tommy Thompson, Lee S. Dreyfus, John W. Reynolds, Arthur MacArthur, Gaylord Nelson, Louis P. Harvey, Oscar Rennebohm, Patrick Lucey and Nelson Dewey were responsible for occupying the position of Governor of Wisconsin and have the gender as male
Harrison Ludington Tommy Thompson Lee S. Dreyfus John W. Reynolds Arthur MacArthur Gaylord Nelson Louis P. Harvey Oscar Rennebohm Patrick Lucey Nelson Dewey
action filter_type
action intersection
action find_reverse
entity Governor of Wisconsin
relation position held
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'Governor of Wisconsin'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:position_held resource:Governor_of_Wisconsin . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q100 Q2994034
P6
Q502895
USER
How many people are the head of government of Boston or Conseil général des Ardennes ?
(Q100,P6,c(Q502895)) (Q2994034,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q100
relation P6
type Q502895
action filter_type
action find
entity Q2994034
relation P6
type Q502895
['Q100', 'P6', {'concept': 'Q502895'}] ['Q2994034', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { resource:Q100 property:P6 ?n . ?n rdf:type ontology:Q502895 } UNION { resource:Q2994034 property:P6 ?n . ?n rdf:type ontology:Q502895 } }
Boston Conseil général des Ardennes
action count
action union
action filter_type
action find
entity Boston
relation head of government
type common name
action filter_type
action find
entity Conseil général des Ardennes
relation head of government
type common name
['Boston', 'head of government', {'concept': 'common name'}] ['Conseil général des Ardennes', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { resource:Boston property:head_of_government ?n . ?n rdf:type ontology:common_name } UNION { resource:Conseil_général_des_Ardennes property:head_of_government ?n . ?n rdf:type ontology:common_name } }
[]
common name
SYSTEM
7
Q3158384 Q3426936 Q15790861 Q3059792 Q2896549 Q3160025 Q15126384
(Q100,P6,c(Q502895)) (Q2994034,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q100
relation P6
type Q502895
action filter_type
action find
entity Q2994034
relation P6
type Q502895
[ANSWER]
['Q100', 'P6', {'concept': 'Q502895'}] ['Q2994034', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { resource:Q100 property:P6 ?n . ?n rdf:type ontology:Q502895 } UNION { resource:Q2994034 property:P6 ?n . ?n rdf:type ontology:Q502895 } }
Jacques Bozzi René Tinant Camille Titeux Eugène Cuif Benoît Huré Jacques Sourdille Marty Walsh
7
action count
action union
action filter_type
action find
entity Boston
relation head of government
type common name
action filter_type
action find
entity Conseil général des Ardennes
relation head of government
type common name
['Boston', 'head of government', {'concept': 'common name'}] ['Conseil général des Ardennes', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { resource:Boston property:head_of_government ?n . ?n rdf:type ontology:common_name } UNION { resource:Conseil_général_des_Ardennes property:head_of_government ?n . ?n rdf:type ontology:common_name } }
[]