Simple Question (Direct)
Simple Question
Q19974624
P19
Q56061
USER
Which administrative territory is the place of birth of Robert Fleming ?
(Q19974624,P19,c(Q56061))
action filter_type
action find
entity Q19974624
relation P19
type Q56061
['Q19974624', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q19974624 property:P19 ?w }
Robert Fleming
action filter_type
action find
entity Robert Fleming
relation place of birth
type administrative territorial entity
['Robert Fleming', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Robert_Fleming property:place_of_birth ?w }
[]
administrative territorial entity
Q217831
SYSTEM
Greenock
Q217831
(Q19974624,P19,c(Q56061))
action filter_type
action find
entity Q19974624
relation P19
type Q56061
[ANSWER] is the place of birth of Robert Fleming
['Q19974624', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q19974624 property:P19 ?w }
Greenock
Greenock is the place of birth of Robert Fleming
Greenock
action filter_type
action find
entity Robert Fleming
relation place of birth
type administrative territorial entity
['Robert Fleming', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Robert_Fleming property:place_of_birth ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19974624
P106
Q12737077
USER
What are the job of Robert Fleming ?
(Q19974624,P106,c(Q12737077))
action filter_type
action find
entity Q19974624
relation P106
type Q12737077
['Q19974624', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q19974624 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Robert Fleming
action filter_type
action find
entity Robert Fleming
relation occupation
type occupation
['Robert Fleming', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Robert_Fleming property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q19974624,P106,c(Q12737077))
action filter_type
action find
entity Q19974624
relation P106
type Q12737077
The job of Robert Fleming are both [ANSWERS]
['Q19974624', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q19974624 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
association football manager association football player
The job of Robert Fleming are both association football manager and association football player
association football manager association football player
action filter_type
action find
entity Robert Fleming
relation occupation
type occupation
['Robert Fleming', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Robert_Fleming property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1349572
Q12737077
USER
And also tell me about Mikhail Molodenskii?
(Q1349572,P106,c(Q12737077))
action filter_type
action find
entity Q1349572
relation P106
type Q12737077
['Q1349572', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1349572 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Mikhail Molodenskii
action filter_type
action find
entity Mikhail Molodenskii
relation occupation
type occupation
['Mikhail Molodenskii', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Mikhail_Molodenskii property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q169470 Q11063 Q520549
SYSTEM
physicist, astronomer, geologist
Q169470 Q11063 Q520549
(Q1349572,P106,c(Q12737077))
action filter_type
action find
entity Q1349572
relation P106
type Q12737077
[ANSWERS]
['Q1349572', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1349572 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
physicist astronomer geologist
physicist astronomer geologist
action filter_type
action find
entity Mikhail Molodenskii
relation occupation
type occupation
['Mikhail Molodenskii', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Mikhail_Molodenskii property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P425
Q1914636
USER
How many activities are associated with the field of occupation that occupation ?
(Q520549,P425,c(Q1914636))
['Q520549', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q520549 property:P425 ?z . ?z rdf:type ontology:Q423229 }
['geologist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:geologist property:field_of_this_occupation ?z . ?z rdf:type ontology:activity }
[]
activity
Quantitative|Count|Single entity type|Clarification
Q11063
SYSTEM
Did you mean astronomer ?
(Q169470,P425,c(Q1914636)) (Q11063,P425,c(Q1914636)) (Q520549,P425,c(Q1914636))
[ANSWER]
['Q169470', 'P425', {'concept': 'Q1914636'}] ['Q11063', 'P425', {'concept': 'Q1914636'}] ['Q520549', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q520549 property:P425 ?z . ?z rdf:type ontology:Q423229 }
Did you mean astronomer ?
astronomer
['physicist', 'field of this occupation', {'concept': 'activity'}] ['astronomer', 'field of this occupation', {'concept': 'activity'}] ['geologist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:geologist property:field_of_this_occupation ?z . ?z rdf:type ontology:activity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant geologist. Could you tell me the answer for that?
(Q520549,P425,c(Q1914636))
Q520549
['Q520549', 'P425', {'concept': 'Q1914636'}]
['geologist', 'field of this occupation', {'concept': 'activity'}]
[]
SYSTEM
1
Q1069
(Q520549,P425,c(Q1914636))
[ANSWER]
['Q520549', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q520549 property:P425 ?z . ?z rdf:type ontology:Q423229 }
geology
1
['geologist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:geologist property:field_of_this_occupation ?z . ?z rdf:type ontology:activity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7137682 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated field of occupation and were Park Cheun-yong a part of ?
AND((Q937857,P425,c(Q349)), (Q7137682,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q7137682
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q7137682', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?p WHERE { resource:Q937857 property:P425 ?p . resource:Q7137682 property:P641 ?p . ?p rdf:type ontology:Q349 }
Park Cheun-yong association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Park Cheun-yong
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Park Cheun-yong', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?p WHERE { resource:association_football_player property:field_of_this_occupation ?p . resource:Park_Cheun-yong property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q7137682,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q7137682
relation P641
type Q349
Field [ANSWER] have [ANSWER] player as the associated field of occupation and were Park Cheun-yong a part of
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q7137682', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?p WHERE { resource:Q937857 property:P425 ?p . resource:Q7137682 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
Field association football have association football player as the associated field of occupation and were Park Cheun-yong a part of
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Park Cheun-yong
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Park Cheun-yong', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?p WHERE { resource:association_football_player property:field_of_this_occupation ?p . resource:Park_Cheun-yong property:sport ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7137682
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q7137682
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q7137682 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Park Cheun-yong
action filter_type
action find
entity Park Cheun-yong
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Park_Cheun-yong property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q7137682
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q7137682 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
South Korea
South Korea is that person an inhabitant of
South Korea
action filter_type
action find
entity Park Cheun-yong
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Park_Cheun-yong property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q884
P361
Q14911880
USER
Which Catholic seminary is a part of that administrative territory ?
(c(Q14911880),P361,Q884)
action filter_type
action find_reverse
entity Q884
relation P361
type Q14911880
[{'concept': 'Q14911880'}, 'P361', 'Q884']
SELECT DISTINCT ?f WHERE { ?f property:P361 resource:Q884 . ?f rdf:type ontology:Q14911880 }
South Korea
action filter_type
action find_reverse
entity South Korea
relation part of
type Catholic seminary
[{'concept': 'Catholic seminary'}, 'part of', 'South Korea']
SELECT DISTINCT ?f WHERE { ?f property:part_of resource:South_Korea . ?f rdf:type ontology:Catholic_seminary }
[]
Catholic seminary
Q16098986
SYSTEM
Honam Theological University and Seminary
Q16098986
(c(Q14911880),P361,Q884)
action filter_type
action find_reverse
entity Q884
relation P361
type Q14911880
[ANSWER] is a part of that administrative territory
[{'concept': 'Q14911880'}, 'P361', 'Q884']
SELECT DISTINCT ?f WHERE { ?f property:P361 resource:Q884 . ?f rdf:type ontology:Q14911880 }
Honam Theological University and Seminary
Honam Theological University and Seminary is a part of that administrative territory
Honam Theological University and Seminary
action filter_type
action find_reverse
entity South Korea
relation part of
type Catholic seminary
[{'concept': 'Catholic seminary'}, 'part of', 'South Korea']
SELECT DISTINCT ?f WHERE { ?f property:part_of resource:South_Korea . ?f rdf:type ontology:Catholic_seminary }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19399496 Q1349572
P276 P20
Q56061
USER
Which administrative territories did Mikhail Molodenskii expire or are the locations of Othon Frieszpad ?
OR((Q1349572,P20,c(Q56061)), (Q19399496,P276,c(Q56061)))
action filter_type
action union
action find
entity Q1349572
relation P20
action find
entity Q19399496
relation P276
type Q56061
{'OR': [['Q1349572', 'P20', {'concept': 'Q56061'}], ['Q19399496', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . { { resource:Q1349572 property:P20 ?x } UNION { resource:Q19399496 property:P276 ?x } } }
Othon Frieszpad Mikhail Molodenskii
action filter_type
action union
action find
entity Mikhail Molodenskii
relation place of death
action find
entity Othon Frieszpad
relation location
type administrative territorial entity
{'OR': [['Mikhail Molodenskii', 'place of death', {'concept': 'administrative territorial entity'}], ['Othon Frieszpad', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . { { resource:Mikhail_Molodenskii property:place_of_death ?x } UNION { resource:Othon_Frieszpad property:location ?x } } }
[]
administrative territorial entity
Q34370 Q649
SYSTEM
Rotterdam, Moscow
Q34370 Q649
OR((Q1349572,P20,c(Q56061)), (Q19399496,P276,c(Q56061)))
action filter_type
action union
action find
entity Q1349572
relation P20
action find
entity Q19399496
relation P276
type Q56061
Mikhail Molodenskii expired in [ANSWERS] or are the locations of Othon Frieszpad
{'OR': [['Q1349572', 'P20', {'concept': 'Q56061'}], ['Q19399496', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . { { resource:Q1349572 property:P20 ?x } UNION { resource:Q19399496 property:P276 ?x } } }
Rotterdam Moscow
Mikhail Molodenskii expired in Rotterdam and Moscow or are the locations of Othon Frieszpad
Rotterdam Moscow
action filter_type
action union
action find
entity Mikhail Molodenskii
relation place of death
action find
entity Othon Frieszpad
relation location
type administrative territorial entity
{'OR': [['Mikhail Molodenskii', 'place of death', {'concept': 'administrative territorial entity'}], ['Othon Frieszpad', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . { { resource:Mikhail_Molodenskii property:place_of_death ?x } UNION { resource:Othon_Frieszpad property:location ?x } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P1376
Q15617994 Q7275
USER
How many administrative territories and states have that administrative territory as their capital ?
(Q649,P1376,c(Q15617994)) (Q649,P1376,c(Q7275)) (Q34370,P1376,c(Q15617994)) (Q34370,P1376,c(Q7275)) (Q649,P1376,c(Q15617994)) (Q649,P1376,c(Q7275))
['Q649', 'P1376', {'concept': 'Q15617994'}] ['Q649', 'P1376', {'concept': 'Q7275'}] ['Q34370', 'P1376', {'concept': 'Q15617994'}] ['Q34370', 'P1376', {'concept': 'Q7275'}] ['Q649', 'P1376', {'concept': 'Q15617994'}] ['Q649', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q499927 property:P1376 ?z } UNION { resource:Q499927 property:P1376 ?y } UNION { resource:Q417361 property:P1376 ?z } UNION { resource:Q417361 property:P1376 ?y } UNION { resource:Q499927 property:P1376 ?z } UNION { resource:Q499927 property:P1376 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q7275 }
['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Moscow', 'capital of', {'concept': 'state'}] ['Rotterdam', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Rotterdam', 'capital of', {'concept': 'state'}] ['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Moscow', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Moscow property:capital_of ?z } UNION { resource:Moscow property:capital_of ?y } UNION { resource:Rotterdam property:capital_of ?z } UNION { resource:Rotterdam property:capital_of ?y } UNION { resource:Moscow property:capital_of ?z } UNION { resource:Moscow property:capital_of ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:state }
[]
designation for an administrative territorial entity state
Quantitative|Count|Mult. entity type|Clarification
Q649
SYSTEM
Did you mean Moscow ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q499927 property:P1376 ?z } UNION { resource:Q499927 property:P1376 ?y } UNION { resource:Q417361 property:P1376 ?z } UNION { resource:Q417361 property:P1376 ?y } UNION { resource:Q499927 property:P1376 ?z } UNION { resource:Q499927 property:P1376 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q7275 }
Did you mean Moscow ?
Moscow
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Moscow property:capital_of ?z } UNION { resource:Moscow property:capital_of ?y } UNION { resource:Rotterdam property:capital_of ?z } UNION { resource:Rotterdam property:capital_of ?y } UNION { resource:Moscow property:capital_of ?z } UNION { resource:Moscow property:capital_of ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q649,P1376,c(Q15617994)) (Q649,P1376,c(Q7275)) (Q34370,P1376,c(Q15617994)) (Q34370,P1376,c(Q7275)) (Q649,P1376,c(Q15617994)) (Q649,P1376,c(Q7275))
['Q649', 'P1376', {'concept': 'Q15617994'}] ['Q649', 'P1376', {'concept': 'Q7275'}] ['Q34370', 'P1376', {'concept': 'Q15617994'}] ['Q34370', 'P1376', {'concept': 'Q7275'}] ['Q649', 'P1376', {'concept': 'Q15617994'}] ['Q649', 'P1376', {'concept': 'Q7275'}]
['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Moscow', 'capital of', {'concept': 'state'}] ['Rotterdam', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Rotterdam', 'capital of', {'concept': 'state'}] ['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Moscow', 'capital of', {'concept': 'state'}]
[]
SYSTEM
1 administrative territories and 5 states
Q159 Q170770 Q2305208 Q15180 Q2184 Q186096
(Q649,P1376,c(Q15617994)) (Q649,P1376,c(Q7275)) (Q34370,P1376,c(Q15617994)) (Q34370,P1376,c(Q7275)) (Q649,P1376,c(Q15617994)) (Q649,P1376,c(Q7275))
[ANSWER]
['Q649', 'P1376', {'concept': 'Q15617994'}] ['Q649', 'P1376', {'concept': 'Q7275'}] ['Q34370', 'P1376', {'concept': 'Q15617994'}] ['Q34370', 'P1376', {'concept': 'Q7275'}] ['Q649', 'P1376', {'concept': 'Q15617994'}] ['Q649', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q499927 property:P1376 ?z } UNION { resource:Q499927 property:P1376 ?y } UNION { resource:Q417361 property:P1376 ?z } UNION { resource:Q417361 property:P1376 ?y } UNION { resource:Q499927 property:P1376 ?z } UNION { resource:Q499927 property:P1376 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q7275 }
Russia Grand Duchy of Moscow Soviet Russia Soviet Union Russian Soviet Federative Socialist Republic Tsardom of Russia
1 administrative territories and 5 states
['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Moscow', 'capital of', {'concept': 'state'}] ['Rotterdam', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Rotterdam', 'capital of', {'concept': 'state'}] ['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Moscow', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Moscow property:capital_of ?z } UNION { resource:Moscow property:capital_of ?y } UNION { resource:Rotterdam property:capital_of ?z } UNION { resource:Rotterdam property:capital_of ?y } UNION { resource:Moscow property:capital_of ?z } UNION { resource:Moscow property:capital_of ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3477307
P748
Q895526 Q12737077 Q12737077
USER
How many occupations are appointed by approximately the same number of authority organs or occupations as Secretary of State for Justice ?
(c(Q12737077),P748,c(Q895526)|c(Q12737077))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q3477307
relation P748
type Q895526
type Q12737077
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?i WHERE { VALUES ( ?p ) { ( ontology:Q895526 ) ( ontology:Q12737077 ) } . ?l rdf:type ?p } GROUP BY ?i } . FILTER ( ?j = ?z ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { { ?u rdf:type ontology:Q895526 } UNION { ?u rdf:type ontology:Q12737077 } } . resource:Q3477307 property:P748 ?u } } }
Secretary of State for Justice
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Secretary of State for Justice
relation appointed by
type authority organ
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?i WHERE { VALUES ( ?p ) { ( ontology:authority_organ ) ( ontology:occupation ) } . ?l rdf:type ?p } GROUP BY ?i } . FILTER ( ?j = ?z ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { { ?u rdf:type ontology:authority_organ } UNION { ?u rdf:type ontology:occupation } } . resource:Secretary_of_State_for_Justice property:appointed_by ?u } } }
[]
authority organ occupation occupation
SYSTEM
176
Q7643465 Q27650845 Q373548 Q4011167 Q17018201 Q20748656 Q20890913 Q191954 Q1846384 Q11793630 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q1507619 Q376006 Q21013169 Q26209348 Q39021 Q20867494 Q740126 Q21013163 Q14984399 Q7241304 Q910308 Q1753754 Q2484309 Q2012061 Q20890902 Q1140848 Q15730802 Q7444357 Q7444352 Q943379 Q15305714 Q20872382 Q3246797 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q20891385 Q796593 Q6865833 Q2660943 Q20172329 Q531471 Q21384866 Q596123 Q20194364 Q1476165 Q2914452 Q2636053 Q464103 Q3058109 Q3858507 Q1124265 Q273884 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q2390270 Q13527933 Q583809 Q565424 Q15731141 Q313383 Q1043568 Q912994 Q27531790 Q19328352 Q862559 Q475658 Q7574264 Q182762 Q20859386 Q2962001 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q8882 Q20867550 Q1060844 Q3397406 Q467926 Q813403 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q20872296 Q838380 Q5096847 Q4818607 Q152814 Q26000995 Q3409203 Q213107 Q195965 Q327948 Q19364214 Q1753094 Q1975365 Q609884 Q2741486 Q3315112 Q1123764 Q2708520 Q22955080 Q7240368 Q3297079 Q6865995 Q319145 Q3111221 Q29558 Q1044136 Q4122271 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q1071117 Q34071 Q25223 Q20872267 Q5261065 Q3315134 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q20748654 Q19328451 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q1074656 Q735587 Q592866 Q1281611 Q81066 Q26721218 Q628102 Q17058425 Q20128098 Q1752225 Q687908 Q25860233 Q1072341
(c(Q12737077),P748,c(Q895526)|c(Q12737077))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q3477307
relation P748
type Q895526
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?i WHERE { VALUES ( ?p ) { ( ontology:Q895526 ) ( ontology:Q12737077 ) } . ?l rdf:type ?p } GROUP BY ?i } . FILTER ( ?j = ?z ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { { ?u rdf:type ontology:Q895526 } UNION { ?u rdf:type ontology:Q12737077 } } . resource:Q3477307 property:P748 ?u } } }
Superintendent of Finance of the United States member of the Provincial Executive of Utrecht President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer municipal executive of Eindhoven President of the French Republic Secretary of State for Wales governor of national banks of Serbia and Yugoslavia King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan Deputy Prime Minister of the United Kingdom Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum President of Singapore Mayor of Gorinchem President of the European Parliament Mayor of The Hague Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Lord Privy Seal Master of the Rolls Secretary of State for the Home Department Leader of the House of Lords Mayor of Eindhoven President pro tempore of the United States Senate Mayor of Rotterdam Secretary of State for Work and Pensions Secretary of State for International Development Lord President of the Council Prime Minister of Libya municipal executive of Coevorden Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service municipal executive of Boxmeer President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer President of Malta Minister for Finance Minister for Foreign Affairs Mayor of Hoogland Chancellor of the Exchequer municipal executive of Rotterdam president of Bangladesh municipal executive of Amsterdam Prime Minister of Iraq President of Algeria Leader of the House of Commons Speaker of the House of Commons Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy List of Presidents of the Basque Autonomous Community President of South Africa Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland municipal executive of Haarlem Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of the Bahamas Mayor of Almere President of India Prime Minister of Vietnam speaker of the United States House of Representatives member of the Provincial Executive of South Holland Mayor of Leersum Prime Minister of Malaysia President of Austria Speaker of the Hellenic Parliament Prime Minister of Algeria Mayor of Mierlo Chief of the Defence Staff President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco President of the European Commission municipal executive of Gorinchem Paymaster General Secretary of State for Health Cathaoirleach King's or Queen's Commissioner King's Commissioner of North Holland Governor of the Virgin Islands President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere President of Iran Chief Minister Attorney-General of Australia Prime Minister of Malta President of the Parliament of Catalonia President of Greece Prime Minister of Belgium Governor of Gibraltar President of Israel President of Somalia United States Postmaster General Prime Minister of Georgia First Lord of the Treasury Chief Executive of Hong Kong Minister for Defence Prime Minister of Armenia Chairman of the Communist Party of China president of FIFA Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Commonwealth Secretary-General President of Finland president of Tajikistan Premier of the People's Republic of China Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of New Zealand President of Paraguay President of Germany Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Mayor of Zoetermeer Mayor of Haarlem Lord Chancellor Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Prime Minister of Papua New Guinea President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey United Nations Secretary-General municipal executive of Almere President of Nauru Mayor of Coevorden Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Secretary of State for Exiting the European Union Chief Minister of the Northern Territory
176
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Secretary of State for Justice
relation appointed by
type authority organ
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?i WHERE { VALUES ( ?p ) { ( ontology:authority_organ ) ( ontology:occupation ) } . ?l rdf:type ?p } GROUP BY ?i } . FILTER ( ?j = ?z ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { { ?u rdf:type ontology:authority_organ } UNION { ?u rdf:type ontology:occupation } } . resource:Secretary_of_State_for_Justice property:appointed_by ?u } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q7444352
P748
Q895526 Q12737077 Q12737077
USER
And how about Secretary of State for International Development?
(c(Q12737077),P748,c(Q895526)|c(Q12737077))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q7444352
relation P748
type Q895526
type Q12737077
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q7444352 property:P748 ?f . { { ?f rdf:type ontology:Q895526 } UNION { ?f rdf:type ontology:Q12737077 } } } } . FILTER ( ?u = ?n ) . { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:Q895526 ) ( ontology:Q12737077 ) } } GROUP BY ?q } }
Secretary of State for International Development
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Secretary of State for International Development
relation appointed by
type authority organ
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Secretary_of_State_for_International_Development property:appointed_by ?f . { { ?f rdf:type ontology:authority_organ } UNION { ?f rdf:type ontology:occupation } } } } . FILTER ( ?u = ?n ) . { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:authority_organ ) ( ontology:occupation ) } } GROUP BY ?q } }
[]
authority organ occupation occupation
SYSTEM
176
Q7643465 Q27650845 Q373548 Q4011167 Q17018201 Q20748656 Q20890913 Q191954 Q1846384 Q11793630 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q1507619 Q376006 Q21013169 Q26209348 Q39021 Q20867494 Q740126 Q21013163 Q14984399 Q7241304 Q910308 Q1753754 Q2484309 Q2012061 Q20890902 Q1140848 Q15730802 Q7444357 Q7444352 Q943379 Q15305714 Q20872382 Q3246797 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q20891385 Q796593 Q6865833 Q2660943 Q20172329 Q531471 Q21384866 Q596123 Q20194364 Q1476165 Q2914452 Q2636053 Q464103 Q3058109 Q3858507 Q1124265 Q273884 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q2390270 Q13527933 Q583809 Q565424 Q15731141 Q313383 Q1043568 Q912994 Q27531790 Q19328352 Q862559 Q475658 Q7574264 Q182762 Q20859386 Q2962001 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q8882 Q20867550 Q1060844 Q3397406 Q467926 Q813403 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q20872296 Q838380 Q5096847 Q4818607 Q152814 Q26000995 Q3409203 Q213107 Q195965 Q327948 Q19364214 Q1753094 Q1975365 Q609884 Q2741486 Q3315112 Q1123764 Q2708520 Q22955080 Q7240368 Q3297079 Q6865995 Q319145 Q3111221 Q29558 Q1044136 Q4122271 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q1071117 Q34071 Q25223 Q20872267 Q5261065 Q3315134 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q20748654 Q19328451 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q1074656 Q735587 Q592866 Q1281611 Q81066 Q26721218 Q628102 Q17058425 Q20128098 Q1752225 Q687908 Q25860233 Q1072341
(c(Q12737077),P748,c(Q895526)|c(Q12737077))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q7444352
relation P748
type Q895526
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q7444352 property:P748 ?f . { { ?f rdf:type ontology:Q895526 } UNION { ?f rdf:type ontology:Q12737077 } } } } . FILTER ( ?u = ?n ) . { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:Q895526 ) ( ontology:Q12737077 ) } } GROUP BY ?q } }
Superintendent of Finance of the United States member of the Provincial Executive of Utrecht President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer municipal executive of Eindhoven President of the French Republic Secretary of State for Wales governor of national banks of Serbia and Yugoslavia King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan Deputy Prime Minister of the United Kingdom Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum President of Singapore Mayor of Gorinchem President of the European Parliament Mayor of The Hague Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Lord Privy Seal Master of the Rolls Secretary of State for the Home Department Leader of the House of Lords Mayor of Eindhoven President pro tempore of the United States Senate Mayor of Rotterdam Secretary of State for Work and Pensions Secretary of State for International Development Lord President of the Council Prime Minister of Libya municipal executive of Coevorden Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service municipal executive of Boxmeer President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer President of Malta Minister for Finance Minister for Foreign Affairs Mayor of Hoogland Chancellor of the Exchequer municipal executive of Rotterdam president of Bangladesh municipal executive of Amsterdam Prime Minister of Iraq President of Algeria Leader of the House of Commons Speaker of the House of Commons Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy List of Presidents of the Basque Autonomous Community President of South Africa Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland municipal executive of Haarlem Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of the Bahamas Mayor of Almere President of India Prime Minister of Vietnam speaker of the United States House of Representatives member of the Provincial Executive of South Holland Mayor of Leersum Prime Minister of Malaysia President of Austria Speaker of the Hellenic Parliament Prime Minister of Algeria Mayor of Mierlo Chief of the Defence Staff President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco President of the European Commission municipal executive of Gorinchem Paymaster General Secretary of State for Health Cathaoirleach King's or Queen's Commissioner King's Commissioner of North Holland Governor of the Virgin Islands President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere President of Iran Chief Minister Attorney-General of Australia Prime Minister of Malta President of the Parliament of Catalonia President of Greece Prime Minister of Belgium Governor of Gibraltar President of Israel President of Somalia United States Postmaster General Prime Minister of Georgia First Lord of the Treasury Chief Executive of Hong Kong Minister for Defence Prime Minister of Armenia Chairman of the Communist Party of China president of FIFA Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Commonwealth Secretary-General President of Finland president of Tajikistan Premier of the People's Republic of China Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of New Zealand President of Paraguay President of Germany Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Mayor of Zoetermeer Mayor of Haarlem Lord Chancellor Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Prime Minister of Papua New Guinea President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey United Nations Secretary-General municipal executive of Almere President of Nauru Mayor of Coevorden Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Secretary of State for Exiting the European Union Chief Minister of the Northern Territory
176
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Secretary of State for International Development
relation appointed by
type authority organ
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Secretary_of_State_for_International_Development property:appointed_by ?f . { { ?f rdf:type ontology:authority_organ } UNION { ?f rdf:type ontology:occupation } } } } . FILTER ( ?u = ?n ) . { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:authority_organ ) ( ontology:occupation ) } } GROUP BY ?q } }
[]