Simple Question (Direct)
Simple Question
Q7562082
P21
Q290
USER
Which sex does Sonny Parker possess ?
(Q7562082,P21,c(Q290))
action filter_type
action find
entity Q7562082
relation P21
type Q290
['Q7562082', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q7562082 property:P21 ?a . ?a rdf:type ontology:Q290 }
Sonny Parker
action filter_type
action find
entity Sonny Parker
relation gender
type sex
['Sonny Parker', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Sonny_Parker property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7562082,P21,c(Q290))
action filter_type
action find
entity Q7562082
relation P21
type Q290
Sonny Parker possesses [ANSWER]
['Q7562082', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q7562082 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Sonny Parker possesses male
male
action filter_type
action find
entity Sonny Parker
relation gender
type sex
['Sonny Parker', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Sonny_Parker property:gender ?a . ?a rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7562082
P27
Q15617994
USER
How many administrative territories are the native countriesof Sonny Parker ?
(Q7562082,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7562082
relation P27
type Q15617994
['Q7562082', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q7562082 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Sonny Parker
action count
action filter_type
action find
entity Sonny Parker
relation country of citizenship
type designation for an administrative territorial entity
['Sonny Parker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Sonny_Parker property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q7562082,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7562082
relation P27
type Q15617994
[ANSWER]
['Q7562082', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q7562082 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Sonny Parker
relation country of citizenship
type designation for an administrative territorial entity
['Sonny Parker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Sonny_Parker property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q6944472
P27
Q15617994
USER
And what about Muztar Khairabadi?
(Q6944472,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6944472
relation P27
type Q15617994
['Q6944472', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Q6944472 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Muztar Khairabadi
action count
action filter_type
action find
entity Muztar Khairabadi
relation country of citizenship
type designation for an administrative territorial entity
['Muztar Khairabadi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Muztar_Khairabadi property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q668
(Q6944472,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6944472
relation P27
type Q15617994
[ANSWER]
['Q6944472', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Q6944472 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
India
1
action count
action filter_type
action find
entity Muztar Khairabadi
relation country of citizenship
type designation for an administrative territorial entity
['Muztar Khairabadi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Muztar_Khairabadi property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q12636302
Q15617994
USER
And what about Mario Maloča?
(Q12636302,P27,c(Q15617994))
action count
action filter_type
action find
entity Q12636302
relation P27
type Q15617994
['Q12636302', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Q12636302 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Mario Maloča
action count
action filter_type
action find
entity Mario Maloča
relation country of citizenship
type designation for an administrative territorial entity
['Mario Maloča', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Mario_Maloča property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q12636302,P27,c(Q15617994))
action count
action filter_type
action find
entity Q12636302
relation P27
type Q15617994
[ANSWER]
['Q12636302', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Q12636302 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Mario Maloča
relation country of citizenship
type designation for an administrative territorial entity
['Mario Maloča', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Mario_Maloča property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12636302
P106
Q12737077
USER
What is the profession of that person ?
action filter_type
action find
entity Q12636302
relation P106
type Q12737077
SELECT DISTINCT ?r WHERE { resource:Q12636302 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Mario Maloča
action filter_type
action find
entity Mario Maloča
relation occupation
type occupation
SELECT DISTINCT ?r WHERE { resource:Mario_Maloča property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
action filter_type
action find
entity Q12636302
relation P106
type Q12737077
The profession of that person is a [ANSWER]
SELECT DISTINCT ?r WHERE { resource:Q12636302 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
basketball player
The profession of that person is a basketball player
basketball player
action filter_type
action find
entity Mario Maloča
relation occupation
type occupation
SELECT DISTINCT ?r WHERE { resource:Mario_Maloča property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3665646
P101
Q502895
USER
Who works in the domain of that occupation ?
(c(Q502895),P101,Q3665646)
action filter_type
action find_reverse
entity Q3665646
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q3665646']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P101 resource:Q3665646 }
basketball player
action filter_type
action find_reverse
entity basketball player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'basketball player']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:field_of_work resource:basketball_player }
[]
common name
Q934632
SYSTEM
Cincy Powell
Q934632
(c(Q502895),P101,Q3665646)
action filter_type
action find_reverse
entity Q3665646
relation P101
type Q502895
[ANSWER] works in the domain of that occupation
[{'concept': 'Q502895'}, 'P101', 'Q3665646']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P101 resource:Q3665646 }
Cincy Powell
Cincy Powell works in the domain of that occupation
Cincy Powell
action filter_type
action find_reverse
entity basketball player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'basketball player']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:field_of_work resource:basketball_player }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q639669
P180
Q12737077 Q11060274 Q3305213
USER
How many occupations are depicted in around the same number of prints and paintings as musician ?
(c(Q11060274)|c(Q3305213),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q639669
relation P180
type Q11060274
type Q3305213
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?w WHERE { { ?q property:P180 ?w . ?q rdf:type ontology:Q3305213 . ?w rdf:type ontology:Q12737077 } UNION { ?q property:P180 ?w . ?w rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q11060274 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:P180 resource:Q639669 . { VALUES ( ?l ) { ( ontology:Q11060274 ) ( ontology:Q3305213 ) } . ?c rdf:type ?l } } } . FILTER ( ?s = ?r ) }
musician
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity musician
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?w WHERE { { ?q property:depicts ?w . ?q rdf:type ontology:painting . ?w rdf:type ontology:occupation } UNION { ?q property:depicts ?w . ?w rdf:type ontology:occupation . ?q rdf:type ontology:print } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:depicts resource:musician . { VALUES ( ?l ) { ( ontology:print ) ( ontology:painting ) } . ?c rdf:type ?l } } } . FILTER ( ?s = ?r ) }
[]
occupation print painting
SYSTEM
6
Q131512 Q19723482 Q12059906 Q838811 Q639669 Q15296811
(c(Q11060274)|c(Q3305213),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q639669
relation P180
type Q11060274
type Q3305213
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?w WHERE { { ?q property:P180 ?w . ?q rdf:type ontology:Q3305213 . ?w rdf:type ontology:Q12737077 } UNION { ?q property:P180 ?w . ?w rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q11060274 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:P180 resource:Q639669 . { VALUES ( ?l ) { ( ontology:Q11060274 ) ( ontology:Q3305213 ) } . ?c rdf:type ?l } } } . FILTER ( ?s = ?r ) }
farmer mandolinist herder peasant musician draughtsperson
6
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity musician
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?w WHERE { { ?q property:depicts ?w . ?q rdf:type ontology:painting . ?w rdf:type ontology:occupation } UNION { ?q property:depicts ?w . ?w rdf:type ontology:occupation . ?q rdf:type ontology:print } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:depicts resource:musician . { VALUES ( ?l ) { ( ontology:print ) ( ontology:painting ) } . ?c rdf:type ?l } } } . FILTER ( ?s = ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q11642
P180
Q12737077 Q11060274 Q3305213
USER
And how about pottery?
(c(Q11060274)|c(Q3305213),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q11642
relation P180
type Q11060274
type Q3305213
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?s WHERE { { ?n property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q11060274 } UNION { ?n property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q3305213 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P180 resource:Q11642 . { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:Q11060274 ) ( ontology:Q3305213 ) } } } } . FILTER ( ?q = ?l ) }
pottery
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity pottery
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?s WHERE { { ?n property:depicts ?s . ?s rdf:type ontology:occupation . ?n rdf:type ontology:print } UNION { ?n property:depicts ?s . ?s rdf:type ontology:occupation . ?n rdf:type ontology:painting } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:depicts resource:pottery . { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:print ) ( ontology:painting ) } } } } . FILTER ( ?q = ?l ) }
[]
occupation print painting
SYSTEM
185
Q19754019 Q11957145 Q1934482 Q19937286 Q177220 Q1569439 Q16735601 Q37226 Q27621374 Q152355 Q1218776 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q47064 Q185196 Q328325 Q11900058 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q12902372 Q170790 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q2309900 Q805221 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 Q622630 Q3330547 Q3214532 Q15954519 Q2981922 Q29182 Q326358 Q5575361 Q1161133 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q116 Q152002 Q1511216 Q16533 Q2412523 Q211423 Q965417 Q845929 Q774306 Q2276446 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q1627992 Q2309784 Q253567 Q3439798 Q1437754 Q5832280 Q1430627 Q154549 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q373017 Q2180295 Q1294787 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q11060274)|c(Q3305213),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q11642
relation P180
type Q11060274
type Q3305213
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?s WHERE { { ?n property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q11060274 } UNION { ?n property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q3305213 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P180 resource:Q11642 . { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:Q11060274 ) ( ontology:Q3305213 ) } } } } . FILTER ( ?q = ?l ) }
fiddler acrobat milkmaid worker singer sheep shearer florist teacher bear hunter cobbler arriero 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 deacon wet nurse sailor clown spinner butcher military personnel midwife stonemason explorer civil servant sower abbé architect street musician nurse parson flautist mathematician mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic helmsman ballet dancer 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 odalisque chronicler plowman alchemist American pioneer bishop joiner goatherd pedicure member of parliament bartender clogmaker peddler reaper condottiero canon discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian monarch pastor courtier judge matador goldsmith waterseller pretender surgeon domestic worker cook Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker lady's maid sport cyclist apprentice King of France woodcutter lacemaker Snake charming carpenter officer baker knife grinder police officer guard Maid of honour kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric basketry mail carrier artisan bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
185
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity pottery
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?s WHERE { { ?n property:depicts ?s . ?s rdf:type ontology:occupation . ?n rdf:type ontology:print } UNION { ?n property:depicts ?s . ?s rdf:type ontology:occupation . ?n rdf:type ontology:painting } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:depicts resource:pottery . { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:print ) ( ontology:painting ) } } } } . FILTER ( ?q = ?l ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2927009 Q6944472
P27
Q15617994
USER
Which administrative territories are the native countriesof Muztar Khairabadi or Bruno Van Grootenbrulle ?
OR((Q6944472,P27,c(Q15617994)), (Q2927009,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6944472
relation P27
action find
entity Q2927009
relation P27
type Q15617994
{'OR': [['Q6944472', 'P27', {'concept': 'Q15617994'}], ['Q2927009', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { { resource:Q2927009 property:P27 ?d } UNION { resource:Q6944472 property:P27 ?d } } }
Bruno Van Grootenbrulle Muztar Khairabadi
action filter_type
action union
action find
entity Muztar Khairabadi
relation country of citizenship
action find
entity Bruno Van Grootenbrulle
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Muztar Khairabadi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bruno Van Grootenbrulle', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Bruno_Van_Grootenbrulle property:country_of_citizenship ?d } UNION { resource:Muztar_Khairabadi property:country_of_citizenship ?d } } }
[]
designation for an administrative territorial entity
Q31 Q668
SYSTEM
Belgium, India
Q31 Q668
OR((Q6944472,P27,c(Q15617994)), (Q2927009,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6944472
relation P27
action find
entity Q2927009
relation P27
type Q15617994
[ANSWERS] are the native countriesof Muztar Khairabadi or Bruno Van Grootenbrulle
{'OR': [['Q6944472', 'P27', {'concept': 'Q15617994'}], ['Q2927009', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { { resource:Q2927009 property:P27 ?d } UNION { resource:Q6944472 property:P27 ?d } } }
Belgium India
Belgium and India are the native countriesof Muztar Khairabadi or Bruno Van Grootenbrulle
Belgium India
action filter_type
action union
action find
entity Muztar Khairabadi
relation country of citizenship
action find
entity Bruno Van Grootenbrulle
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Muztar Khairabadi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bruno Van Grootenbrulle', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Bruno_Van_Grootenbrulle property:country_of_citizenship ?d } UNION { resource:Muztar_Khairabadi property:country_of_citizenship ?d } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q13805 Q668
P47 P530
Q1048835
USER
Which political territories holds diplomatic relationship with India or are bordered by Malla ?
OR((Q668,P530,c(Q1048835)), (Q13805,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q668
relation P530
action find
entity Q13805
relation P47
type Q1048835
{'OR': [['Q668', 'P530', {'concept': 'Q1048835'}], ['Q13805', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q13805 property:P47 ?a } UNION { resource:Q668 property:P530 ?a } } . ?a rdf:type ontology:Q1048835 }
Malla India
action filter_type
action union
action find
entity India
relation diplomatic relation
action find
entity Malla
relation shares border with
type political territorial entity
{'OR': [['India', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Malla', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Malla property:shares_border_with ?a } UNION { resource:India property:diplomatic_relation ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q13834 Q183 Q13839 Q408 Q13853 Q13850 Q13855 Q13799
SYSTEM
Santa Eugènia de Berga, Germany, Seva, Australia, Tona, Taradell, Vic, Montanyola
Q13834 Q183 Q13839 Q408 Q13853 Q13850 Q13855 Q13799
OR((Q668,P530,c(Q1048835)), (Q13805,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q668
relation P530
action find
entity Q13805
relation P47
type Q1048835
[ANSWERS] hold diplomatic relationship with India or are bordered by Malla
{'OR': [['Q668', 'P530', {'concept': 'Q1048835'}], ['Q13805', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q13805 property:P47 ?a } UNION { resource:Q668 property:P530 ?a } } . ?a rdf:type ontology:Q1048835 }
Santa Eugènia de Berga Germany Seva Australia Tona Taradell Vic Montanyola
Santa Eugènia de Berga, Germany, Seva, Australia, Tona, Taradell, Vic and Montanyola hold diplomatic relationship with India or are bordered by Malla
Santa Eugènia de Berga Germany Seva Australia Tona Taradell Vic Montanyola
action filter_type
action union
action find
entity India
relation diplomatic relation
action find
entity Malla
relation shares border with
type political territorial entity
{'OR': [['India', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Malla', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Malla property:shares_border_with ?a } UNION { resource:India property:diplomatic_relation ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]