Simple Question (Direct)
Simple Question
Q3190545
P19
Q515
USER
Which city was Justinien-Victor Somis born at ?
(Q3190545,P19,c(Q515))
action filter_type
action find
entity Q3190545
relation P19
type Q515
['Q3190545', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { resource:Q3190545 property:P19 ?v . ?v rdf:type ontology:Q515 }
Justinien-Victor Somis
action filter_type
action find
entity Justinien-Victor Somis
relation place of birth
type city
['Justinien-Victor Somis', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { resource:Justinien-Victor_Somis property:place_of_birth ?v . ?v rdf:type ontology:city }
[]
city
Q23482
SYSTEM
Marseille
Q23482
(Q3190545,P19,c(Q515))
action filter_type
action find
entity Q3190545
relation P19
type Q515
Justinien-Victor Somis was born à [ANSWER]
['Q3190545', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { resource:Q3190545 property:P19 ?v . ?v rdf:type ontology:Q515 }
Marseille
Justinien-Victor Somis was born à Marseille
Marseille
action filter_type
action find
entity Justinien-Victor Somis
relation place of birth
type city
['Justinien-Victor Somis', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { resource:Justinien-Victor_Somis property:place_of_birth ?v . ?v rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3190545
P106
Q12737077
USER
What are the job of that person ?
(Q23482,P106,c(Q12737077))
action filter_type
action find
entity Q3190545
relation P106
type Q12737077
['Q23482', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q3190545 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Justinien-Victor Somis
action filter_type
action find
entity Justinien-Victor Somis
relation occupation
type occupation
['Marseille', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Justinien-Victor_Somis property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q82955 Q189290
SYSTEM
politician, officer
Q82955 Q189290
(Q23482,P106,c(Q12737077))
action filter_type
action find
entity Q3190545
relation P106
type Q12737077
The job of that person are a [ANSWERS]
['Q23482', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q3190545 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
politician officer
The job of that person are a politician and officer
politician officer
action filter_type
action find
entity Justinien-Victor Somis
relation occupation
type occupation
['Marseille', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Justinien-Victor_Somis property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q386724 Q340169
USER
Which occupations are depicted in approximately 2 works and medias ?
(c(Q386724)|c(Q340169),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
[[{'concept': 'Q386724'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?y = 2 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?b WHERE { { ?e property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q340169 } UNION { ?e property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q386724 } } GROUP BY ?b } }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'work'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?y = 2 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?b WHERE { { ?e property:depicts ?b . ?b rdf:type ontology:occupation . ?e rdf:type ontology:media } UNION { ?e property:depicts ?b . ?b rdf:type ontology:occupation . ?e rdf:type ontology:work } } GROUP BY ?b } }
[]
occupation work media
Q4991371 Q54128 Q2730732
SYSTEM
soldier, domestic worker, equestrian
Q4991371 Q54128 Q2730732 Q639669
(c(Q386724)|c(Q340169),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
The [ANSWERS] are depicted in approximately 2 works and medias
[[{'concept': 'Q386724'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?y = 2 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?b WHERE { { ?e property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q340169 } UNION { ?e property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q386724 } } GROUP BY ?b } }
soldier domestic worker equestrian musician
The soldier, domestic worker and equestrian are depicted in approximately 2 works and medias
soldier domestic worker equestrian
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'work'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?y = 2 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?b WHERE { { ?e property:depicts ?b . ?b rdf:type ontology:occupation . ?e rdf:type ontology:media } UNION { ?e property:depicts ?b . ?b rdf:type ontology:occupation . ?e rdf:type ontology:work } } GROUP BY ?b } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q17638008 Q3516658
USER
Which occupations are depicted in min number of game equipment or heraldic symbols ?
(c(Q17638008)|c(Q3516658),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
[[{'concept': 'Q17638008'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?h WHERE { VALUES ( ?v ) { ( ontology:Q17638008 ) ( ontology:Q3516658 ) } . ?o rdf:type ?v } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?m WHERE { { ?j property:P180 ?m . ?m rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q3516658 } UNION { ?m rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q17638008 . ?j property:P180 ?m } } GROUP BY ?m } . FILTER ( ?i = ?p ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
[[{'concept': 'game equipment'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?h WHERE { VALUES ( ?v ) { ( ontology:game_equipment ) ( ontology:heraldic_symbol ) } . ?o rdf:type ?v } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?m WHERE { { ?j property:depicts ?m . ?m rdf:type ontology:occupation . ?j rdf:type ontology:heraldic_symbol } UNION { ?m rdf:type ontology:occupation . ?j rdf:type ontology:game_equipment . ?j property:depicts ?m } } GROUP BY ?m } . FILTER ( ?i = ?p ) }
[]
occupation game equipment heraldic symbol
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 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 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 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 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 Q838811 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 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q17638008)|c(Q3516658),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
[ANSWERS] are depicted in min number of game equipment or heraldic symbols
[[{'concept': 'Q17638008'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?h WHERE { VALUES ( ?v ) { ( ontology:Q17638008 ) ( ontology:Q3516658 ) } . ?o rdf:type ?v } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?m WHERE { { ?j property:P180 ?m . ?m rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q3516658 } UNION { ?m rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q17638008 . ?j property:P180 ?m } } GROUP BY ?m } . FILTER ( ?i = ?p ) }
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 model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel 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 ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter herder 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 odalisque 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 peasant 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 physician sea captain Roman emperor quarryman cook street artist waiting staff
Farmer, nurse and tailor are depicted in min number of game equipment or heraldic symbols
farmer nurse tailor
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
[[{'concept': 'game equipment'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?h WHERE { VALUES ( ?v ) { ( ontology:game_equipment ) ( ontology:heraldic_symbol ) } . ?o rdf:type ?v } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?m WHERE { { ?j property:depicts ?m . ?m rdf:type ontology:occupation . ?j rdf:type ontology:heraldic_symbol } UNION { ?m rdf:type ontology:occupation . ?j rdf:type ontology:game_equipment . ?j property:depicts ?m } } GROUP BY ?m } . FILTER ( ?i = ?p ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q131512 Q186360 Q242468
P417
Q502895
USER
Who are the patron saints of farmer, nurse and tailor ?
(Q131512,P417,c(Q502895)) (Q186360,P417,c(Q502895)) (Q242468,P417,c(Q502895))
action union
action filter_type
action find
entity Q131512
relation P417
type Q502895
action filter_type
action find
entity Q186360
relation P417
type Q502895
action filter_type
action find
entity Q242468
relation P417
type Q502895
['Q131512', 'P417', {'concept': 'Q502895'}] ['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { resource:Q131512 property:P417 ?p . ?p rdf:type ontology:Q502895 } UNION { resource:Q186360 property:P417 ?p . ?p rdf:type ontology:Q502895 } }
farmer nurse tailor
action union
action filter_type
action find
entity farmer
relation patron saint
type common name
action filter_type
action find
entity nurse
relation patron saint
type common name
action filter_type
action find
entity tailor
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}] ['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { resource:farmer property:patron_saint ?p . ?p rdf:type ontology:common_name } UNION { resource:nurse property:patron_saint ?p . ?p rdf:type ontology:common_name } }
[]
common name
Q166876 Q229190 Q44265
SYSTEM
Isidore of Seville, Catherine of Siena, Benedict of Nursia
Q119289 Q166876 Q151967 Q44265 Q43982 Q332656 Q200895 Q229190 Q137947 Q179718 Q179718 Q43982
(Q131512,P417,c(Q502895)) (Q186360,P417,c(Q502895)) (Q242468,P417,c(Q502895))
action union
action filter_type
action find
entity Q131512
relation P417
type Q502895
action filter_type
action find
entity Q186360
relation P417
type Q502895
action filter_type
action find
entity Q242468
relation P417
type Q502895
The patron saints of farmer , nurse and tailor are Saint [ANSWERS]
['Q131512', 'P417', {'concept': 'Q502895'}] ['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { resource:Q131512 property:P417 ?p . ?p rdf:type ontology:Q502895 } UNION { resource:Q186360 property:P417 ?p . ?p rdf:type ontology:Q502895 } }
Leonard of Port Maurice Isidore of Seville Saint Blaise Benedict of Nursia Bartholomew the Apostle Camillus de Lellis Agatha of Sicily Catherine of Siena Alexius of Rome Catherine of Alexandria Catherine of Alexandria Bartholomew the Apostle
The patron saints of farmer , nurse and tailor are Saint Isidore of Seville, Catherine of Siena and Benedict of Nursia
Isidore of Seville Catherine of Siena Benedict of Nursia
action union
action filter_type
action find
entity farmer
relation patron saint
type common name
action filter_type
action find
entity nurse
relation patron saint
type common name
action filter_type
action find
entity tailor
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}] ['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { resource:farmer property:patron_saint ?p . ?p rdf:type ontology:common_name } UNION { resource:nurse property:patron_saint ?p . ?p rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q166876 Q229190 Q44265
P417
Q12737077
USER
Which occupations have adopted Isidore of Seville, Catherine of Siena and Benedict of Nursia as patron saint ?
(c(Q12737077),P417,Q166876) (c(Q12737077),P417,Q229190) (c(Q12737077),P417,Q44265)
action union
action filter_type
action find_reverse
entity Q166876
relation P417
type Q12737077
action filter_type
action find_reverse
entity Q229190
relation P417
type Q12737077
action filter_type
action find_reverse
entity Q44265
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q166876'] [{'concept': 'Q12737077'}, 'P417', 'Q229190'] [{'concept': 'Q12737077'}, 'P417', 'Q44265']
SELECT DISTINCT ?k WHERE { { ?k property:P417 resource:Q166876 . ?k rdf:type ontology:Q12737077 } UNION { ?k property:P417 resource:Q229190 . ?k rdf:type ontology:Q12737077 } }
Isidore of Seville Catherine of Siena Benedict of Nursia
action union
action filter_type
action find_reverse
entity Isidore of Seville
relation patron saint
type occupation
action filter_type
action find_reverse
entity Catherine of Siena
relation patron saint
type occupation
action filter_type
action find_reverse
entity Benedict of Nursia
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'occupation'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'occupation'}, 'patron saint', 'Benedict of Nursia']
SELECT DISTINCT ?k WHERE { { ?k property:patron_saint resource:Isidore_of_Seville . ?k rdf:type ontology:occupation } UNION { ?k property:patron_saint resource:Catherine_of_Siena . ?k rdf:type ontology:occupation } }
[]
occupation
Q131512 Q186360 Q131512
SYSTEM
farmer for 1st, 3rd, nurse for 2nd
Q131512 Q82594 Q107711 Q186360 Q131512 Q42973
(c(Q12737077),P417,Q166876) (c(Q12737077),P417,Q229190) (c(Q12737077),P417,Q44265)
action union
action filter_type
action find_reverse
entity Q166876
relation P417
type Q12737077
action filter_type
action find_reverse
entity Q229190
relation P417
type Q12737077
action filter_type
action find_reverse
entity Q44265
relation P417
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', 'Q166876'] [{'concept': 'Q12737077'}, 'P417', 'Q229190'] [{'concept': 'Q12737077'}, 'P417', 'Q44265']
SELECT DISTINCT ?k WHERE { { ?k property:P417 resource:Q166876 . ?k rdf:type ontology:Q12737077 } UNION { ?k property:P417 resource:Q229190 . ?k rdf:type ontology:Q12737077 } }
farmer computer scientist firefighter nurse farmer architect
The farmer, nurse and farmer have adopted Isidore of Seville, Catherine of Siena and Benedict of Nursia as patron saint
farmer nurse farmer
action union
action filter_type
action find_reverse
entity Isidore of Seville
relation patron saint
type occupation
action filter_type
action find_reverse
entity Catherine of Siena
relation patron saint
type occupation
action filter_type
action find_reverse
entity Benedict of Nursia
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'occupation'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'occupation'}, 'patron saint', 'Benedict of Nursia']
SELECT DISTINCT ?k WHERE { { ?k property:patron_saint resource:Isidore_of_Seville . ?k rdf:type ontology:occupation } UNION { ?k property:patron_saint resource:Catherine_of_Siena . ?k rdf:type ontology:occupation } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q166876
P7
Q502895
USER
Which people have that one as their brother ?
(c(Q502895),P7,Q166876)
action filter_type
action find_reverse
entity Q166876
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q166876']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P7 resource:Q166876 }
Isidore of Seville
action filter_type
action find_reverse
entity Isidore of Seville
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Isidore of Seville']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:brother resource:Isidore_of_Seville }
[]
common name
Clarification for simple ques.
Q166876
SYSTEM
Did you mean Isidore of Seville ?
Q131512 Q186360 Q131512
(c(Q502895),P7,Q131512) (c(Q502895),P7,Q186360) (c(Q502895),P7,Q131512)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q131512'] [{'concept': 'Q502895'}, 'P7', 'Q186360'] [{'concept': 'Q502895'}, 'P7', 'Q131512']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P7 resource:Q166876 }
farmer nurse farmer
Did you mean Isidore of Seville ?
Isidore of Seville
[{'concept': 'common name'}, 'brother', 'farmer'] [{'concept': 'common name'}, 'brother', 'nurse'] [{'concept': 'common name'}, 'brother', 'farmer']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:brother resource:Isidore_of_Seville }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P7,Q166876)
[{'concept': 'Q502895'}, 'P7', 'Q166876']
[{'concept': 'common name'}, 'brother', 'Isidore of Seville']
[]
Q577125 Q2626436 Q2616176
SYSTEM
Leander of Seville, Saint Florentina, Fulgentius of Cartagena
Q577125 Q2626436 Q2616176
(c(Q502895),P7,Q166876)
action filter_type
action find_reverse
entity Q166876
relation P7
type Q502895
[ANSWERS] have that one as their brother
[{'concept': 'Q502895'}, 'P7', 'Q166876']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P7 resource:Q166876 }
Leander of Seville Saint Florentina Fulgentius of Cartagena
Leander of Seville, Saint Florentina and Fulgentius of Cartagena have that one as their brother
Leander of Seville Saint Florentina Fulgentius of Cartagena
action filter_type
action find_reverse
entity Isidore of Seville
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Isidore of Seville']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:brother resource:Isidore_of_Seville }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q244945 Q131512
P425 P366
Q58778
USER
Which systems are associated with the field of occupation farmer and are the main uses of intercropping ?
AND((Q131512,P425,c(Q58778)), (Q244945,P366,c(Q58778)))
action filter_type
action intersection
action find
entity Q131512
relation P425
action find
entity Q244945
relation P366
type Q58778
{'AND': [['Q131512', 'P425', {'concept': 'Q58778'}], ['Q244945', 'P366', {'concept': 'Q58778'}]]}
SELECT DISTINCT ?i WHERE { resource:Q131512 property:P425 ?i . resource:Q244945 property:P366 ?i . ?i rdf:type ontology:Q58778 }
intercropping farmer
action filter_type
action intersection
action find
entity farmer
relation field of this occupation
action find
entity intercropping
relation use
type system
{'AND': [['farmer', 'field of this occupation', {'concept': 'system'}], ['intercropping', 'use', {'concept': 'system'}]]}
SELECT DISTINCT ?i WHERE { resource:farmer property:field_of_this_occupation ?i . resource:intercropping property:use ?i . ?i rdf:type ontology:system }
[]
system
Q11451
SYSTEM
agriculture
Q11451
AND((Q131512,P425,c(Q58778)), (Q244945,P366,c(Q58778)))
action filter_type
action intersection
action find
entity Q131512
relation P425
action find
entity Q244945
relation P366
type Q58778
Is [ANSWER] is associated with the field of occupation farmer and is the main uses of intercropping
{'AND': [['Q131512', 'P425', {'concept': 'Q58778'}], ['Q244945', 'P366', {'concept': 'Q58778'}]]}
SELECT DISTINCT ?i WHERE { resource:Q131512 property:P425 ?i . resource:Q244945 property:P366 ?i . ?i rdf:type ontology:Q58778 }
agriculture
Is agriculture is associated with the field of occupation farmer and is the main uses of intercropping
agriculture
action filter_type
action intersection
action find
entity farmer
relation field of this occupation
action find
entity intercropping
relation use
type system
{'AND': [['farmer', 'field of this occupation', {'concept': 'system'}], ['intercropping', 'use', {'concept': 'system'}]]}
SELECT DISTINCT ?i WHERE { resource:farmer property:field_of_this_occupation ?i . resource:intercropping property:use ?i . ?i rdf:type ontology:system }
[]