Simple Question (Direct)
Simple Question
Q5548042
P39
Q12737077
USER
Which occupation was a position occupied by José Vicente Reinafé ?
(Q5548042,P39,c(Q12737077))
action filter_type
action find
entity Q5548042
relation P39
type Q12737077
['Q5548042', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q5548042 property:P39 ?s }
José Vicente Reinafé
action filter_type
action find
entity José Vicente Reinafé
relation position held
type occupation
['José Vicente Reinafé', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:José_Vicente_Reinafé property:position_held ?s }
[]
occupation
Q3249940
SYSTEM
Governor of Córdoba
Q3249940
(Q5548042,P39,c(Q12737077))
action filter_type
action find
entity Q5548042
relation P39
type Q12737077
[ANSWER] was a position occupied by José Vicente Reinafé
['Q5548042', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q5548042 property:P39 ?s }
Governor of Córdoba
Governor of Córdoba was a position occupied by José Vicente Reinafé
Governor of Córdoba
action filter_type
action find
entity José Vicente Reinafé
relation position held
type occupation
['José Vicente Reinafé', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:José_Vicente_Reinafé property:position_held ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5548042
P102
Q7210356
USER
Which political organization is José Vicente Reinafé a member of ?
(Q5548042,P102,c(Q7210356))
action filter_type
action find
entity Q5548042
relation P102
type Q7210356
['Q5548042', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q5548042 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
José Vicente Reinafé
action filter_type
action find
entity José Vicente Reinafé
relation member of political party
type political organization
['José Vicente Reinafé', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:José_Vicente_Reinafé property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
political organization
Q2481616
SYSTEM
Unitario
Q2481616
(Q5548042,P102,c(Q7210356))
action filter_type
action find
entity Q5548042
relation P102
type Q7210356
[ANSWER] is José Vicente Reinafé a member of
['Q5548042', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q5548042 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Unitario
Unitario is José Vicente Reinafé a member of
Unitario
action filter_type
action find
entity José Vicente Reinafé
relation member of political party
type political organization
['José Vicente Reinafé', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:José_Vicente_Reinafé property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2481616 Q414
P17
Q15617994
USER
Does that political organization belong to Argentina ?
(Q2481616,P17,Q414)
action is_in
entity Q414
action find
entity Q2481616
relation P17
['Q2481616', 'P17', 'Q414']
ASK WHERE { resource:Q2481616 property:P17 resource:Q414 }
Unitario Argentina
action is_in
entity Argentina
action find
entity Unitario
relation country
['Unitario', 'country', 'Argentina']
ASK WHERE { resource:Unitario property:country resource:Argentina }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2481616,P17,Q414)
action is_in
entity Q414
action find
entity Q2481616
relation P17
[ANSWER]
['Q2481616', 'P17', 'Q414']
ASK WHERE { resource:Q2481616 property:P17 resource:Q414 }
Yes
action is_in
entity Argentina
action find
entity Unitario
relation country
['Unitario', 'country', 'Argentina']
ASK WHERE { resource:Unitario property:country resource:Argentina }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5548042
P607
Q350604
USER
What was was José Vicente Reinafé a part of ?
(Q5548042,P607,c(Q350604))
action filter_type
action find
entity Q5548042
relation P607
type Q350604
['Q5548042', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q350604 . resource:Q5548042 property:P607 ?r }
José Vicente Reinafé
action filter_type
action find
entity José Vicente Reinafé
relation conflict
type armed conflict
['José Vicente Reinafé', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:armed_conflict . resource:José_Vicente_Reinafé property:conflict ?r }
[]
armed conflict
Q2697981
SYSTEM
Argentine Civil Wars
Q2697981
(Q5548042,P607,c(Q350604))
action filter_type
action find
entity Q5548042
relation P607
type Q350604
José Vicente Reinafé was a part of [ANSWER]
['Q5548042', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q350604 . resource:Q5548042 property:P607 ?r }
Argentine Civil Wars
José Vicente Reinafé was a part of Argentine Civil Wars
Argentine Civil Wars
action filter_type
action find
entity José Vicente Reinafé
relation conflict
type armed conflict
['José Vicente Reinafé', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:armed_conflict . resource:José_Vicente_Reinafé property:conflict ?r }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P361
Q1190554 Q350604
USER
How many events and armed conflicts are a component of that armed conflict ?
(c(Q1190554),P361,Q2697981) (c(Q350604),P361,Q2697981) (c(Q1190554),P361,Q2697981) (c(Q350604),P361,Q2697981)
action count
action union
action filter_type
action find_reverse
entity Q2697981
relation P361
type Q1190554
action filter_type
action find_reverse
entity Q2697981
relation P361
type Q350604
[{'concept': 'Q1190554'}, 'P361', 'Q2697981'] [{'concept': 'Q350604'}, 'P361', 'Q2697981'] [{'concept': 'Q1190554'}, 'P361', 'Q2697981'] [{'concept': 'Q350604'}, 'P361', 'Q2697981']
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { ?p property:P361 resource:Q2697981 . ?p rdf:type ontology:Q1190554 } UNION { ?p property:P361 resource:Q2697981 . ?p rdf:type ontology:Q350604 } }
action count
action union
action filter_type
action find_reverse
entity Argentine Civil Wars
relation part of
type event
action filter_type
action find_reverse
entity Argentine Civil Wars
relation part of
type armed conflict
[{'concept': 'event'}, 'part of', 'Argentine Civil Wars'] [{'concept': 'armed conflict'}, 'part of', 'Argentine Civil Wars'] [{'concept': 'event'}, 'part of', 'Argentine Civil Wars'] [{'concept': 'armed conflict'}, 'part of', 'Argentine Civil Wars']
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { ?p property:part_of resource:Argentine_Civil_Wars . ?p rdf:type ontology:event } UNION { ?p property:part_of resource:Argentine_Civil_Wars . ?p rdf:type ontology:armed_conflict } }
[]
event armed conflict
SYSTEM
1 events and 2 armed conflicts
Q3042457 Q832683 Q21693680
(c(Q1190554),P361,Q2697981) (c(Q350604),P361,Q2697981) (c(Q1190554),P361,Q2697981) (c(Q350604),P361,Q2697981)
action count
action union
action filter_type
action find_reverse
entity Q2697981
relation P361
type Q1190554
action filter_type
action find_reverse
entity Q2697981
relation P361
type Q350604
[ANSWER]
[{'concept': 'Q1190554'}, 'P361', 'Q2697981'] [{'concept': 'Q350604'}, 'P361', 'Q2697981'] [{'concept': 'Q1190554'}, 'P361', 'Q2697981'] [{'concept': 'Q350604'}, 'P361', 'Q2697981']
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { ?p property:P361 resource:Q2697981 . ?p rdf:type ontology:Q1190554 } UNION { ?p property:P361 resource:Q2697981 . ?p rdf:type ontology:Q350604 } }
Platine War Battle of Pavón conflict between Unitarians and Federalists in the Argentine Civil Wars
1 events and 2 armed conflicts
action count
action union
action filter_type
action find_reverse
entity Argentine Civil Wars
relation part of
type event
action filter_type
action find_reverse
entity Argentine Civil Wars
relation part of
type armed conflict
[{'concept': 'event'}, 'part of', 'Argentine Civil Wars'] [{'concept': 'armed conflict'}, 'part of', 'Argentine Civil Wars'] [{'concept': 'event'}, 'part of', 'Argentine Civil Wars'] [{'concept': 'armed conflict'}, 'part of', 'Argentine Civil Wars']
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { ?p property:part_of resource:Argentine_Civil_Wars . ?p rdf:type ontology:event } UNION { ?p property:part_of resource:Argentine_Civil_Wars . ?p rdf:type ontology:armed_conflict } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5548042
P106
Q12737077
USER
What is the profession of José Vicente Reinafé ?
(Q5548042,P106,c(Q12737077))
action filter_type
action find
entity Q5548042
relation P106
type Q12737077
['Q5548042', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q5548042 property:P106 ?b }
José Vicente Reinafé
action filter_type
action find
entity José Vicente Reinafé
relation occupation
type occupation
['José Vicente Reinafé', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:José_Vicente_Reinafé property:occupation ?b }
[]
occupation
Q47064
SYSTEM
military personnel
Q47064
(Q5548042,P106,c(Q12737077))
action filter_type
action find
entity Q5548042
relation P106
type Q12737077
The profession of José Vicente Reinafé is of [ANSWER]
['Q5548042', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q5548042 property:P106 ?b }
military personnel
The profession of José Vicente Reinafé is of military personnel
military personnel
action filter_type
action find
entity José Vicente Reinafé
relation occupation
type occupation
['José Vicente Reinafé', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:José_Vicente_Reinafé property:occupation ?b }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P180
Q12737077 Q17638008 Q15709879
USER
Which occupations are depicted in lesser number of game equipment or artwork series than that occupation ?
(c(Q17638008)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q47064
relation P180
type Q17638008
type Q15709879
[[{'concept': 'Q17638008'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?w WHERE { { ?l property:P180 ?w . ?w rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q17638008 } UNION { ?w rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q15709879 . ?l property:P180 ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P180 resource:Q47064 . { VALUES ( ?p ) { ( ontology:Q17638008 ) ( ontology:Q15709879 ) } . ?k rdf:type ?p } } } . FILTER ( ?i < ?o ) }
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity military personnel
relation depicts
type game equipment
type artwork series
[[{'concept': 'game equipment'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?w WHERE { { ?l property:depicts ?w . ?w rdf:type ontology:occupation . ?l rdf:type ontology:game_equipment } UNION { ?w rdf:type ontology:occupation . ?l rdf:type ontology:artwork_series . ?l property:depicts ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:depicts resource:military_personnel . { VALUES ( ?p ) { ( ontology:game_equipment ) ( ontology:artwork_series ) } . ?k rdf:type ?p } } } . FILTER ( ?i < ?o ) }
[]
occupation game equipment artwork series
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q17638008)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q47064
relation P180
type Q17638008
type Q15709879
[ANSWERS] are depicted in lesser number of game equipment or artwork series than that occupation
[[{'concept': 'Q17638008'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?w WHERE { { ?l property:P180 ?w . ?w rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q17638008 } UNION { ?w rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q15709879 . ?l property:P180 ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P180 resource:Q47064 . { VALUES ( ?p ) { ( ontology:Q17638008 ) ( ontology:Q15709879 ) } . ?k rdf:type ?p } } } . FILTER ( ?i < ?o ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
Farmer, nurse and tailor are depicted in lesser number of game equipment or artwork series than that occupation
farmer nurse tailor
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity military personnel
relation depicts
type game equipment
type artwork series
[[{'concept': 'game equipment'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?w WHERE { { ?l property:depicts ?w . ?w rdf:type ontology:occupation . ?l rdf:type ontology:game_equipment } UNION { ?w rdf:type ontology:occupation . ?l rdf:type ontology:artwork_series . ?l property:depicts ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:depicts resource:military_personnel . { VALUES ( ?p ) { ( ontology:game_equipment ) ( ontology:artwork_series ) } . ?k rdf:type ?p } } } . FILTER ( ?i < ?o ) }
[]