Simple Question (Direct)
Simple Question
Q3380215
P26
Q502895
USER
Which person is married to Philippe Lellouche ?
(Q3380215,P26,c(Q502895))
action filter_type
action find
entity Q3380215
relation P26
type Q502895
['Q3380215', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3380215 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Philippe Lellouche
action filter_type
action find
entity Philippe Lellouche
relation spouse
type common name
['Philippe Lellouche', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Philippe_Lellouche property:spouse ?n . ?n rdf:type ontology:common_name }
[]
common name
Q447419
SYSTEM
Vanessa Demouy
Q447419
(Q3380215,P26,c(Q502895))
action filter_type
action find
entity Q3380215
relation P26
type Q502895
[ANSWER] is married to Philippe Lellouche
['Q3380215', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3380215 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Vanessa Demouy
Vanessa Demouy is married to Philippe Lellouche
Vanessa Demouy
action filter_type
action find
entity Philippe Lellouche
relation spouse
type common name
['Philippe Lellouche', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Philippe_Lellouche property:spouse ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q447419
P106
Q12737077
USER
What are the job of that person ?
(Q447419,P106,c(Q12737077))
action filter_type
action find
entity Q447419
relation P106
type Q12737077
['Q447419', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q447419 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Vanessa Demouy
action filter_type
action find
entity Vanessa Demouy
relation occupation
type occupation
['Vanessa Demouy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Vanessa_Demouy property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q4610556 Q33999
SYSTEM
model, actor
Q4610556 Q33999
(Q447419,P106,c(Q12737077))
action filter_type
action find
entity Q447419
relation P106
type Q12737077
The job of that person are the [ANSWERS]
['Q447419', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q447419 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
model actor
The job of that person are the model and actor
model actor
action filter_type
action find
entity Vanessa Demouy
relation occupation
type occupation
['Vanessa Demouy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Vanessa_Demouy property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33999
P425
Q1914636
USER
Which activity is associated with the field of occupation actor ?
(Q33999,P425,c(Q1914636))
action filter_type
action find
entity Q33999
relation P425
type Q1914636
['Q33999', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?x WHERE { resource:Q33999 property:P425 ?x . ?x rdf:type ontology:Q1914636 }
actor
action filter_type
action find
entity actor
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?x WHERE { resource:actor property:field_of_this_occupation ?x . ?x rdf:type ontology:activity }
[]
activity
Q222749
SYSTEM
acting
Q222749
(Q33999,P425,c(Q1914636))
action filter_type
action find
entity Q33999
relation P425
type Q1914636
Is [ANSWER] is associated with the field of occupation actor
['Q33999', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?x WHERE { resource:Q33999 property:P425 ?x . ?x rdf:type ontology:Q1914636 }
acting
Is acting is associated with the field of occupation actor
acting
action filter_type
action find
entity actor
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?x WHERE { resource:actor property:field_of_this_occupation ?x . ?x rdf:type ontology:activity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q12902372
P180
Q12737077 Q2342494 Q838948
USER
Which occupations are depicted in less number of collectables or works of art than flautist ?
(c(Q2342494)|c(Q838948),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q12902372
relation P180
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:P180 ?v . ?v rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q838948 } UNION { ?j property:P180 ?v . ?v rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q2342494 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:P180 resource:Q12902372 . { VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?o rdf:type ?c } } } . FILTER ( ?s < ?y ) }
flautist
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity flautist
relation depicts
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:depicts ?v . ?v rdf:type ontology:occupation . ?j rdf:type ontology:work_of_art } UNION { ?j property:depicts ?v . ?v rdf:type ontology:occupation . ?j rdf:type ontology:collectable } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:depicts resource:flautist . { VALUES ( ?c ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?o rdf:type ?c } } } . FILTER ( ?s < ?y ) }
[]
occupation collectable work of art
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 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q589897 Q4594605 Q54128 Q242468 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 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(Q2342494)|c(Q838948),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q12902372
relation P180
type Q2342494
type Q838948
[ANSWERS] are depicted in less number of collectables or works of art than flautist
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:P180 ?v . ?v rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q838948 } UNION { ?j property:P180 ?v . ?v rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q2342494 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:P180 resource:Q12902372 . { VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?o rdf:type ?c } } } . FILTER ( ?s < ?y ) }
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 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 mathematician tax collector mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king 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 priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner 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 mahout magistrate domestic worker tailor housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop 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 less number of collectables or works of art than flautist
farmer nurse tailor
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity flautist
relation depicts
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:depicts ?v . ?v rdf:type ontology:occupation . ?j rdf:type ontology:work_of_art } UNION { ?j property:depicts ?v . ?v rdf:type ontology:occupation . ?j rdf:type ontology:collectable } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:depicts resource:flautist . { VALUES ( ?c ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?o rdf:type ?c } } } . FILTER ( ?s < ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q156839
P180
Q12737077 Q2342494 Q838948
USER
And what about cook?
(c(Q2342494)|c(Q838948),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q156839
relation P180
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q2342494 } UNION { ?o property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q838948 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P180 resource:Q156839 . { { ?a rdf:type ontology:Q2342494 } UNION { ?a rdf:type ontology:Q838948 } } } } . FILTER ( ?c < ?b ) }
cook
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity cook
relation depicts
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:depicts ?f . ?f rdf:type ontology:occupation . ?o rdf:type ontology:collectable } UNION { ?o property:depicts ?f . ?f rdf:type ontology:occupation . ?o rdf:type ontology:work_of_art } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:depicts resource:cook . { { ?a rdf:type ontology:collectable } UNION { ?a rdf:type ontology:work_of_art } } } } . FILTER ( ?c < ?b ) }
[]
occupation collectable work of art
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q16735601 Q37226 Q1401609 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q161944 Q472898 Q45199 Q7358 Q19968805 Q4504549 Q842782 Q185196 Q486748 Q328325 Q483501 Q215536 Q212238 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q327321 Q549322 Q327029 Q733786 Q2309900 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q548320 Q550594 Q3074722 Q19862215 Q537575 Q20826540 Q715301 Q11338576 Q14009165 Q15954519 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q15725121 Q185992 Q133485 Q674067 Q901 Q589897 Q4594605 Q242468 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q11063 Q774306 Q2276446 Q207651 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q7622988 Q157195
(c(Q2342494)|c(Q838948),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q156839
relation P180
type Q2342494
type Q838948
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q2342494 } UNION { ?o property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q838948 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P180 resource:Q156839 . { { ?a rdf:type ontology:Q2342494 } UNION { ?a rdf:type ontology:Q838948 } } } } . FILTER ( ?c < ?b ) }
fiddler acrobat milkmaid worker standard-bearer sheep shearer florist teacher vaquero cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model deacon wet nurse sailor clown spinner religious servant detective midwife pianist stonemason artist merchant civil servant abbé architect street musician nurse parson mandolinist mathematician tax collector mayor bell-ringer miner beekeeper washerwoman cellist bricklayer torero mechanic monk helmsman harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja friar fishmonger recorder player laborer gravedigger erudite comics artist boxer trapper alchemist tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player bassoonist mufti rabbi mime artist scientist mahout magistrate tailor housekeeper theologian courier monarch porter pastor courtier judge abbot matador goldsmith astronomer surgeon domestic worker cook executioner embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher baker knife grinder police officer guard Maid of honour kazasker madam archbishop boatman salesperson cricketer aviator milkmaid nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer sea captain street artist waiting staff
nurse tailor librarian
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity cook
relation depicts
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:depicts ?f . ?f rdf:type ontology:occupation . ?o rdf:type ontology:collectable } UNION { ?o property:depicts ?f . ?f rdf:type ontology:occupation . ?o rdf:type ontology:work_of_art } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:depicts resource:cook . { { ?a rdf:type ontology:collectable } UNION { ?a rdf:type ontology:work_of_art } } } } . FILTER ( ?c < ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3380215
P161
Q838948
USER
How many works of art have Philippe Lellouche as actor ?
(c(Q838948),P161,Q3380215)
action count
action filter_type
action find_reverse
entity Q3380215
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3380215']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P161 resource:Q3380215 . ?p rdf:type ontology:Q838948 }
Philippe Lellouche
action count
action filter_type
action find_reverse
entity Philippe Lellouche
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Philippe Lellouche']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:cast_member resource:Philippe_Lellouche . ?p rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
6
Q16653874 Q2935508 Q3242541 Q1748143 Q16681381 Q2668305
(c(Q838948),P161,Q3380215)
action count
action filter_type
action find_reverse
entity Q3380215
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q3380215']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P161 resource:Q3380215 . ?p rdf:type ontology:Q838948 }
Le Jeu de la vérité Camping 2 Lise and Andre Michel Vaillant The Missionaries Narco
6
action count
action filter_type
action find_reverse
entity Philippe Lellouche
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Philippe Lellouche']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:cast_member resource:Philippe_Lellouche . ?p rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q78880
P161
Q838948
USER
And also tell me about Mady Christians?
(c(Q838948),P161,Q78880)
action count
action filter_type
action find_reverse
entity Q78880
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q78880']
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:P161 resource:Q78880 . ?j rdf:type ontology:Q838948 }
Mady Christians
action count
action filter_type
action find_reverse
entity Mady Christians
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Mady Christians']
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:cast_member resource:Mady_Christians . ?j rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
31
Q21869384 Q1150623 Q7759016 Q14949855 Q3069614 Q1848202 Q1594303 Q19796697 Q3523416 Q787658 Q7740608 Q21869626 Q21869661 Q2249260 Q21869650 Q21869655 Q22977738 Q21646395 Q1199572 Q21869881 Q21077013 Q16903607 Q22976180 Q21870005 Q22000515 Q17478812 Q17027559 Q914133 Q22968851 Q21869442 Q3731068
(c(Q838948),P161,Q78880)
action count
action filter_type
action find_reverse
entity Q78880
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q78880']
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:P161 resource:Q78880 . ?j rdf:type ontology:Q838948 }
Grand Hotel Come and Get It The Queen of Moulin Rouge The Burning Heart Ferragus Tender Comrade Heidi The Buddenbrooks The Woman I Love Address Unknown The House of Dora Green Miss Chauffeur Nanette Makes Everything Seventh Heaven My Heart Incognito My Sister and I A Woman with Style The Fate of Renate Langen Der schwarze Husar The Duel Man Against Man Debit and Credit Out of the Mist The Woman They Talk About It Illuminates, My Dear Lieutenant, Were You Once a Hussar? A Wicked Woman Letter from an Unknown Woman Today's Children In the Valleys of the Southern Rhine All My Sons
31
action count
action filter_type
action find_reverse
entity Mady Christians
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Mady Christians']
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:cast_member resource:Mady_Christians . ?j rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q895526 Q192350 Q1914636
USER
Which activities are parts of min number of authority organs or ministries ?
(c(Q1914636),P361,c(Q895526)|c(Q192350))
action argmin
action union
action find_tuple_counts
relation P361
type Q1914636
type Q895526
action find_tuple_counts
relation P361
type Q1914636
type Q192350
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q895526'}, {'concept': 'Q192350'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?n ) { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?k ) WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:Q895526 ) ( ontology:Q192350 ) } } GROUP BY ?h } } . FILTER ( ?f = ?n ) . { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?f ) WHERE { { ?a property:P361 ?v . ?a rdf:type ontology:Q1914636 . ?v rdf:type ontology:Q895526 } UNION { ?a rdf:type ontology:Q1914636 . ?v rdf:type ontology:Q192350 . ?a property:P361 ?v } } GROUP BY ?a } }
action argmin
action union
action find_tuple_counts
relation part of
type activity
type authority organ
action find_tuple_counts
relation part of
type activity
type ministry
[{'concept': 'activity'}, 'part of', [{'concept': 'authority organ'}, {'concept': 'ministry'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?n ) { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?k ) WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:authority_organ ) ( ontology:ministry ) } } GROUP BY ?h } } . FILTER ( ?f = ?n ) . { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?f ) WHERE { { ?a property:part_of ?v . ?a rdf:type ontology:activity . ?v rdf:type ontology:authority_organ } UNION { ?a rdf:type ontology:activity . ?v rdf:type ontology:ministry . ?a property:part_of ?v } } GROUP BY ?a } }
[]
authority organ ministry activity
Q20706262 Q244939 Q15871713
SYSTEM
Breakthrough Listen, 228 Incident, 2014 pro-Russian unrest in Ukraine
Q1069 Q5972092 Q17014350 Q4652509 Q11625220 Q14623204 Q7202 Q7205 Q3519248 Q8074593 Q3189909 Q471906 Q5322511 Q1642790 Q205260 Q159964 Q5172476 Q2301555 Q309162 Q8427 Q10979515 Q190149 Q3720660 Q19969854 Q1546627 Q1786253 Q297251 Q1246516 Q214932 Q26997005 Q29198 Q600236 Q3009579 Q517003 Q83371 Q204938 Q1330176 Q11410 Q7784619 Q244955 Q472238 Q1153786 Q189250 Q1273108 Q1924397 Q897511 Q1023769 Q16861871 Q306103 Q1787378 Q7041997 Q1185297 Q338754 Q25931035 Q1110896 Q10494362 Q2914732 Q13507753 Q26132809 Q210005 Q2313702 Q991265 Q514 Q4621731 Q1719546 Q4116434 Q13605743 Q331803 Q288166 Q242864 Q2021311 Q20706262 Q244939 Q4763557 Q1298668 Q9166713 Q2956237 Q641169 Q1052820 Q392409 Q43114 Q190993 Q862072 Q306228 Q500096 Q11467 Q80993 Q306096 Q2465832 Q23038331 Q8789 Q5775114 Q3500162 Q1860969 Q1319035 Q22905659 Q645920 Q219067 Q3438698 Q298455 Q19723898 Q7141 Q332736 Q953652 Q131683 Q14215960 Q215501 Q4307822 Q31728 Q321984 Q331835 Q11774442 Q1203526 Q15871713
(c(Q1914636),P361,c(Q895526)|c(Q192350))
action argmin
action union
action find_tuple_counts
relation P361
type Q1914636
type Q895526
action find_tuple_counts
relation P361
type Q1914636
type Q192350
[ANSWERS] are parts of min number of authority organs or ministries
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q895526'}, {'concept': 'Q192350'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?n ) { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?k ) WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:Q895526 ) ( ontology:Q192350 ) } } GROUP BY ?h } } . FILTER ( ?f = ?n ) . { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?f ) WHERE { { ?a property:P361 ?v . ?a rdf:type ontology:Q1914636 . ?v rdf:type ontology:Q895526 } UNION { ?a rdf:type ontology:Q1914636 . ?v rdf:type ontology:Q192350 . ?a property:P361 ?v } } GROUP BY ?a } }
geology IMRC transgender activism AM1* resuscitation secondary education molecular biology paleontology teuthology Zoti Jum quantum cryptography EAOP circuit technology Zinswucher typography Corporate media open-loop controller extreme sport turkology general economics photogrammetry 2012–2013 Egyptian protests Project Aristo Strategy (game theory) power plant technology Ölpolitur Feminist art flight simulator Renaissance art 2011 Egyptian revolution operation Cytology Soviet manned lunar programs seismology Zinkätzung judicial activism game Thinktank, Birmingham Science Museum Zwischengesang 2010–2012 Algerian protests DIN 488 Zeltmission E-Commerce measurement technology cryptanalysis CIVITAS job training mining method parts cleaning Nixon White House tapes Dementi control Bernie or Bust Colonial Service Faunistics military deception Via Catalana Twinkl Create 2011 Yemeni revolution Sprengtechnik keratometry anatomy 2011 London anti-cuts protest recreational diving Medical privacy 2013 Egyptian coup d'état sales assistant Riksgropen Bahraini uprising Dutch Senior Civil Service Breakthrough Listen 228 Incident Anglican ministry research project tertiary education lyric singing Voice projection Suijutsu free-diving aikido malacology conchology Abbergen psychophysics metallurgy software engineering Dismantling production branch of science 2016 Chicago protest cryptography history of Australia Bijeljina massacre Mars to Stay adult education Prostitution in ancient Greece Protestation at Speyer physical exercise Sijekovac killings Österleden Europeana Food and Drink cell biology Absolve domine Hello! Project embryology freighter travel pedology Muraqqa public administration Abkreuzung suction Prostitution in ancient Rome pilot experiment 2014 pro-Russian unrest in Ukraine
Breakthrough Listen, 228 Incident and 2014 pro-Russian unrest in Ukraine are parts of min number of authority organs or ministries
Breakthrough Listen 228 Incident 2014 pro-Russian unrest in Ukraine
action argmin
action union
action find_tuple_counts
relation part of
type activity
type authority organ
action find_tuple_counts
relation part of
type activity
type ministry
[{'concept': 'activity'}, 'part of', [{'concept': 'authority organ'}, {'concept': 'ministry'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?n ) { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?k ) WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:authority_organ ) ( ontology:ministry ) } } GROUP BY ?h } } . FILTER ( ?f = ?n ) . { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?f ) WHERE { { ?a property:part_of ?v . ?a rdf:type ontology:activity . ?v rdf:type ontology:authority_organ } UNION { ?a rdf:type ontology:activity . ?v rdf:type ontology:ministry . ?a property:part_of ?v } } GROUP BY ?a } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q7784619
P361
Q83620 Q163740 Q1914636
USER
Which activities are parts of less number of thoroughfares and nonprofit organizations than Thinktank, Birmingham Science Museum ?
(c(Q1914636),P361,c(Q83620)|c(Q163740))
action less
action union
action find_tuple_counts
relation P361
type Q1914636
type Q83620
action find_tuple_counts
relation P361
type Q1914636
type Q163740
action count
action filter_multi_types
action find
entity Q7784619
relation P361
type Q83620
type Q163740
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q83620'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?a ) WHERE { { ?f property:P361 ?y . ?f rdf:type ontology:Q1914636 . ?y rdf:type ontology:Q163740 } UNION { ?f property:P361 ?y . ?f rdf:type ontology:Q1914636 . ?y rdf:type ontology:Q83620 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q7784619 property:P361 ?i . { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:Q83620 ) ( ontology:Q163740 ) } } } } . FILTER ( ?a < ?w ) }
Thinktank, Birmingham Science Museum
action less
action union
action find_tuple_counts
relation part of
type activity
type thoroughfare
action find_tuple_counts
relation part of
type activity
type nonprofit organization
action count
action filter_multi_types
action find
entity Thinktank, Birmingham Science Museum
relation part of
type thoroughfare
type nonprofit organization
[{'concept': 'activity'}, 'part of', [{'concept': 'thoroughfare'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?a ) WHERE { { ?f property:part_of ?y . ?f rdf:type ontology:activity . ?y rdf:type ontology:nonprofit_organization } UNION { ?f property:part_of ?y . ?f rdf:type ontology:activity . ?y rdf:type ontology:thoroughfare } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Thinktank,_Birmingham_Science_Museum property:part_of ?i . { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:thoroughfare ) ( ontology:nonprofit_organization ) } } } } . FILTER ( ?a < ?w ) }
[]
thoroughfare nonprofit organization activity
Q20706262 Q244939 Q15871713
SYSTEM
Breakthrough Listen, 228 Incident, 2014 pro-Russian unrest in Ukraine
Q1069 Q5972092 Q17014350 Q4652509 Q11625220 Q14623204 Q7202 Q7205 Q3519248 Q8074593 Q3189909 Q471906 Q5322511 Q1642790 Q205260 Q159964 Q5172476 Q2301555 Q309162 Q8427 Q10979515 Q190149 Q3720660 Q19969854 Q1546627 Q1786253 Q297251 Q1246516 Q214932 Q26997005 Q29198 Q600236 Q3009579 Q517003 Q83371 Q204938 Q1330176 Q11410 Q244955 Q472238 Q1153786 Q189250 Q1273108 Q1924397 Q897511 Q1023769 Q16861871 Q306103 Q1787378 Q7041997 Q1185297 Q338754 Q25931035 Q1110896 Q11448899 Q10494362 Q2914732 Q13507753 Q26132809 Q210005 Q2313702 Q991265 Q514 Q4621731 Q1719546 Q4116434 Q13605743 Q331803 Q288166 Q242864 Q2021311 Q20706262 Q244939 Q4763557 Q1298668 Q9166713 Q2956237 Q641169 Q1052820 Q392409 Q43114 Q190993 Q862072 Q306228 Q500096 Q11467 Q80993 Q18156118 Q306096 Q2465832 Q23038331 Q8789 Q5775114 Q3500162 Q1860969 Q1319035 Q22905659 Q645920 Q219067 Q3438698 Q19723898 Q7141 Q332736 Q953652 Q131683 Q14215960 Q215501 Q4307822 Q31728 Q321984 Q331835 Q11774442 Q1203526 Q15871713
(c(Q1914636),P361,c(Q83620)|c(Q163740))
action less
action union
action find_tuple_counts
relation P361
type Q1914636
type Q83620
action find_tuple_counts
relation P361
type Q1914636
type Q163740
action count
action filter_multi_types
action find
entity Q7784619
relation P361
type Q83620
type Q163740
[ANSWERS] are parts of less number of thoroughfares and nonprofit organizations than Thinktank, Birmingham Science Museum
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q83620'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?a ) WHERE { { ?f property:P361 ?y . ?f rdf:type ontology:Q1914636 . ?y rdf:type ontology:Q163740 } UNION { ?f property:P361 ?y . ?f rdf:type ontology:Q1914636 . ?y rdf:type ontology:Q83620 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q7784619 property:P361 ?i . { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:Q83620 ) ( ontology:Q163740 ) } } } } . FILTER ( ?a < ?w ) }
geology IMRC transgender activism AM1* resuscitation secondary education molecular biology paleontology teuthology Zoti Jum quantum cryptography EAOP circuit technology Zinswucher typography Corporate media open-loop controller extreme sport turkology general economics photogrammetry 2012–2013 Egyptian protests Project Aristo Strategy (game theory) power plant technology Ölpolitur Feminist art flight simulator Renaissance art 2011 Egyptian revolution operation Cytology Soviet manned lunar programs seismology Zinkätzung judicial activism game Zwischengesang 2010–2012 Algerian protests DIN 488 Zeltmission E-Commerce measurement technology cryptanalysis CIVITAS job training mining method parts cleaning Nixon White House tapes Dementi control Bernie or Bust Colonial Service Academic Frontier Promotion Project Faunistics military deception Via Catalana Twinkl Create 2011 Yemeni revolution Sprengtechnik keratometry anatomy 2011 London anti-cuts protest recreational diving Medical privacy 2013 Egyptian coup d'état sales assistant Riksgropen Bahraini uprising Dutch Senior Civil Service Breakthrough Listen 228 Incident Anglican ministry research project tertiary education lyric singing Voice projection Suijutsu free-diving aikido malacology conchology Abbergen psychophysics metallurgy software engineering Hong Kong Civil Service Dismantling production branch of science 2016 Chicago protest cryptography history of Australia Bijeljina massacre Mars to Stay adult education Prostitution in ancient Greece Protestation at Speyer physical exercise Sijekovac killings Europeana Food and Drink cell biology Absolve domine Hello! Project embryology freighter travel pedology Muraqqa public administration Abkreuzung suction Prostitution in ancient Rome pilot experiment 2014 pro-Russian unrest in Ukraine
Breakthrough Listen, 228 Incident and 2014 pro-Russian unrest in Ukraine are parts of less number of thoroughfares and nonprofit organizations than Thinktank, Birmingham Science Museum
Breakthrough Listen 228 Incident 2014 pro-Russian unrest in Ukraine
action less
action union
action find_tuple_counts
relation part of
type activity
type thoroughfare
action find_tuple_counts
relation part of
type activity
type nonprofit organization
action count
action filter_multi_types
action find
entity Thinktank, Birmingham Science Museum
relation part of
type thoroughfare
type nonprofit organization
[{'concept': 'activity'}, 'part of', [{'concept': 'thoroughfare'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?a ) WHERE { { ?f property:part_of ?y . ?f rdf:type ontology:activity . ?y rdf:type ontology:nonprofit_organization } UNION { ?f property:part_of ?y . ?f rdf:type ontology:activity . ?y rdf:type ontology:thoroughfare } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Thinktank,_Birmingham_Science_Museum property:part_of ?i . { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:thoroughfare ) ( ontology:nonprofit_organization ) } } } } . FILTER ( ?a < ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q3380215
P106
Q151885 Q28640
USER
How many concepts or professions are the professions of Philippe Lellouche ?
(Q3380215,P106,c(Q151885)) (Q3380215,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q3380215
relation P106
type Q151885
action filter_type
action find
entity Q3380215
relation P106
type Q28640
['Q3380215', 'P106', {'concept': 'Q151885'}] ['Q3380215', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:Q151885 ) ( ontology:Q28640 ) } }
Philippe Lellouche
action count
action union
action filter_type
action find
entity Philippe Lellouche
relation occupation
type concept
action filter_type
action find
entity Philippe Lellouche
relation occupation
type profession
['Philippe Lellouche', 'occupation', {'concept': 'concept'}] ['Philippe Lellouche', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:concept ) ( ontology:profession ) } }
[]
concept profession
SYSTEM
3
Q2526255 Q214917 Q28389
(Q3380215,P106,c(Q151885)) (Q3380215,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q3380215
relation P106
type Q151885
action filter_type
action find
entity Q3380215
relation P106
type Q28640
[ANSWER]
['Q3380215', 'P106', {'concept': 'Q151885'}] ['Q3380215', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:Q151885 ) ( ontology:Q28640 ) } }
film director playwright screenwriter
3
action count
action union
action filter_type
action find
entity Philippe Lellouche
relation occupation
type concept
action filter_type
action find
entity Philippe Lellouche
relation occupation
type profession
['Philippe Lellouche', 'occupation', {'concept': 'concept'}] ['Philippe Lellouche', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:concept ) ( ontology:profession ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q242468
P19
Q502895
USER
Who was born at tailor ?
(c(Q502895),P19,Q242468)
action filter_type
action find_reverse
entity Q242468
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q242468']
SELECT DISTINCT ?s WHERE { ?s property:P19 resource:Q242468 . ?s rdf:type ontology:Q502895 }
tailor
action filter_type
action find_reverse
entity tailor
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'tailor']
SELECT DISTINCT ?s WHERE { ?s property:place_of_birth resource:tailor . ?s rdf:type ontology:common_name }
[]
common name
Q3469382
SYSTEM
Sakina M'sa
Q3469382
(c(Q502895),P19,Q242468)
action filter_type
action find_reverse
entity Q242468
relation P19
type Q502895
As [ANSWER] was born at tailor
[{'concept': 'Q502895'}, 'P19', 'Q242468']
SELECT DISTINCT ?s WHERE { ?s property:P19 resource:Q242468 . ?s rdf:type ontology:Q502895 }
Sakina M'sa
As Sakina M'sa was born at tailor
Sakina M'sa
action filter_type
action find_reverse
entity tailor
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'tailor']
SELECT DISTINCT ?s WHERE { ?s property:place_of_birth resource:tailor . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q242468
P417
Q502895
USER
Which people are the patron saint of that occupation ?
(Q3469382,P417,c(Q502895))
action filter_type
action find
entity Q242468
relation P417
type Q502895
['Q3469382', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q242468 property:P417 ?e . ?e rdf:type ontology:Q502895 }
tailor
action filter_type
action find
entity tailor
relation patron saint
type common name
["Sakina M'sa", 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:tailor property:patron_saint ?e . ?e rdf:type ontology:common_name }
[]
common name
Q179718 Q43982
SYSTEM
Catherine of Alexandria, Bartholomew the Apostle
Q179718 Q43982
(Q3469382,P417,c(Q502895))
action filter_type
action find
entity Q242468
relation P417
type Q502895
[ANSWERS] are the patron saint of that occupation
['Q3469382', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q242468 property:P417 ?e . ?e rdf:type ontology:Q502895 }
Catherine of Alexandria Bartholomew the Apostle
Catherine of Alexandria and Bartholomew the Apostle are the patron saint of that occupation
Catherine of Alexandria Bartholomew the Apostle
action filter_type
action find
entity tailor
relation patron saint
type common name
["Sakina M'sa", 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:tailor property:patron_saint ?e . ?e rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q43982
P112
Q1530022
USER
Which religious organization was started by that person ?
(c(Q1530022),P112,Q43982)
action filter_type
action find_reverse
entity Q43982
relation P112
type Q1530022
[{'concept': 'Q1530022'}, 'P112', 'Q43982']
SELECT DISTINCT ?n WHERE { ?n property:P112 resource:Q43982 . ?n rdf:type ontology:Q1530022 }
Bartholomew the Apostle
action filter_type
action find_reverse
entity Bartholomew the Apostle
relation founder
type religious organization
[{'concept': 'religious organization'}, 'founder', 'Bartholomew the Apostle']
SELECT DISTINCT ?n WHERE { ?n property:founder resource:Bartholomew_the_Apostle . ?n rdf:type ontology:religious_organization }
[]
religious organization
Clarification for simple ques.
Q179718
SYSTEM
Did you mean Catherine of Alexandria ?
Q179718 Q43982
(c(Q1530022),P112,Q179718) (c(Q1530022),P112,Q43982)
[ANSWER]
[{'concept': 'Q1530022'}, 'P112', 'Q179718'] [{'concept': 'Q1530022'}, 'P112', 'Q43982']
SELECT DISTINCT ?n WHERE { ?n property:P112 resource:Q43982 . ?n rdf:type ontology:Q1530022 }
Catherine of Alexandria Bartholomew the Apostle
Did you mean Catherine of Alexandria ?
Catherine of Alexandria
[{'concept': 'religious organization'}, 'founder', 'Catherine of Alexandria'] [{'concept': 'religious organization'}, 'founder', 'Bartholomew the Apostle']
SELECT DISTINCT ?n WHERE { ?n property:founder resource:Bartholomew_the_Apostle . ?n rdf:type ontology:religious_organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Bartholomew the Apostle. Could you tell me the answer for that?
(c(Q1530022),P112,Q43982)
Q43982
[{'concept': 'Q1530022'}, 'P112', 'Q43982']
[{'concept': 'religious organization'}, 'founder', 'Bartholomew the Apostle']
[]
Q203179
SYSTEM
Assyrian Church of the East
Q203179
(c(Q1530022),P112,Q43982)
action filter_type
action find_reverse
entity Q43982
relation P112
type Q1530022
[ANSWER] was started by that person
[{'concept': 'Q1530022'}, 'P112', 'Q43982']
SELECT DISTINCT ?n WHERE { ?n property:P112 resource:Q43982 . ?n rdf:type ontology:Q1530022 }
Assyrian Church of the East
Assyrian Church of the East was started by that person
Assyrian Church of the East
action filter_type
action find_reverse
entity Bartholomew the Apostle
relation founder
type religious organization
[{'concept': 'religious organization'}, 'founder', 'Bartholomew the Apostle']
SELECT DISTINCT ?n WHERE { ?n property:founder resource:Bartholomew_the_Apostle . ?n rdf:type ontology:religious_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3028534 Q3380215
P27
Q15617994
USER
Which administrative territories are the native countriesof Philippe Lellouche or Hironori Miyata ?
OR((Q3380215,P27,c(Q15617994)), (Q3028534,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3380215
relation P27
action find
entity Q3028534
relation P27
type Q15617994
{'OR': [['Q3380215', 'P27', {'concept': 'Q15617994'}], ['Q3028534', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?q ) { ( resource:Q3380215 ) ( resource:Q3028534 ) } . ?q property:P27 ?x } . ?x rdf:type ontology:Q15617994 }
Hironori Miyata Philippe Lellouche
action filter_type
action union
action find
entity Philippe Lellouche
relation country of citizenship
action find
entity Hironori Miyata
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Philippe Lellouche', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hironori Miyata', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?q ) { ( resource:Philippe_Lellouche ) ( resource:Hironori_Miyata ) } . ?q property:country_of_citizenship ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q17
SYSTEM
France, Japan
Q142 Q17
OR((Q3380215,P27,c(Q15617994)), (Q3028534,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3380215
relation P27
action find
entity Q3028534
relation P27
type Q15617994
[ANSWERS] are the native countriesof Philippe Lellouche or Hironori Miyata
{'OR': [['Q3380215', 'P27', {'concept': 'Q15617994'}], ['Q3028534', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?q ) { ( resource:Q3380215 ) ( resource:Q3028534 ) } . ?q property:P27 ?x } . ?x rdf:type ontology:Q15617994 }
France Japan
France and Japan are the native countriesof Philippe Lellouche or Hironori Miyata
France Japan
action filter_type
action union
action find
entity Philippe Lellouche
relation country of citizenship
action find
entity Hironori Miyata
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Philippe Lellouche', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hironori Miyata', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?q ) { ( resource:Philippe_Lellouche ) ( resource:Hironori_Miyata ) } . ?q property:country_of_citizenship ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with exactly 3 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 3
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?n = 3 ) . { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { ?j property:P530 ?b . ?j rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?j } }
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?n = 3 ) . { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { ?j property:diplomatic_relation ?b . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q36 Q29 Q114
SYSTEM
Poland, Spain, Kenya
Q262 Q45 Q954 Q36 Q928 Q39 Q739 Q851 Q1049 Q228 Q224 Q974 Q298 Q115 Q114 Q212 Q211 Q215 Q810 Q29
(c(Q15617994),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 3
[ANSWERS] have diplomatic relations with exactly 3 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?n = 3 ) . { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { ?j property:P530 ?b . ?j rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?j } }
Algeria Portugal Zimbabwe Poland Philippines Switzerland Colombia Saudi Arabia Sudan Andorra Croatia Democratic Republic of the Congo Chile Ethiopia Kenya Ukraine Latvia Slovenia Jordan Spain
Poland, Spain and Kenya have diplomatic relations with exactly 3 administrative territories
Poland Spain Kenya
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?n = 3 ) . { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { ?j property:diplomatic_relation ?b . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6655 Q43982
P417 P421
Q15617994
USER
Which administrative territories have adopted Bartholomew the Apostle as patron saint and have UTC+01:00 as their time zone ?
AND((c(Q15617994),P417,Q43982), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q43982
relation P417
action find_reverse
entity Q6655
relation P421
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P417', 'Q43982'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?b WHERE { ?b property:P417 resource:Q43982 . ?b property:P421 resource:Q6655 . ?b rdf:type ontology:Q15617994 }
UTC+01:00 Bartholomew the Apostle
action filter_type
action intersection
action find_reverse
entity Bartholomew the Apostle
relation patron saint
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Bartholomew the Apostle'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?b WHERE { ?b property:patron_saint resource:Bartholomew_the_Apostle . ?b property:located_in_time_zone resource:UTC+01:00 . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q59225 Q157673 Q267134 Q94588 Q18380 Q10364 Q40127 Q182689 Q9467 Q17691
SYSTEM
Some of them are Campofilone, Bibbona, Borzonasca, Borgo Tossignano, Boves, Vische, Gerola Alta, Sillano, Meugliano, Vignale Monferrato
Q72728 Q40379 Q101187 Q182689 Q40127 Q9467 Q267134 Q40967 Q9508 Q10364 Q17409 Q10207 Q59225 Q17691 Q47125 Q10361 Q39985 Q40951 Q18380 Q157673 Q94588
AND((c(Q15617994),P417,Q43982), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q43982
relation P417
action find_reverse
entity Q6655
relation P421
type Q15617994
[ANSWERS] have adopted Bartholomew the Apostle as patron saint and have UTC+01:00 as their time zone
{'AND': [[{'concept': 'Q15617994'}, 'P417', 'Q43982'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?b WHERE { ?b property:P417 resource:Q43982 . ?b property:P421 resource:Q6655 . ?b rdf:type ontology:Q15617994 }
Tufino Siziano Lallio Sillano Gerola Alta Meugliano Borzonasca Civo Nomaglio Vische Morsasco Prarostino Campofilone Vignale Monferrato Avezzano Vinovo Brugherio Bema Boves Bibbona Borgo Tossignano
Campofilone, Bibbona, Borzonasca, Borgo Tossignano, Boves, Vische, Gerola Alta, Sillano, Meugliano and Vignale Monferrato have adopted Bartholomew the Apostle as patron saint and have UTC+01:00 as their time zone
Campofilone Bibbona Borzonasca Borgo Tossignano Boves Vische Gerola Alta Sillano Meugliano Vignale Monferrato
action filter_type
action intersection
action find_reverse
entity Bartholomew the Apostle
relation patron saint
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Bartholomew the Apostle'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?b WHERE { ?b property:patron_saint resource:Bartholomew_the_Apostle . ?b property:located_in_time_zone resource:UTC+01:00 . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]