Simple Question (Direct)
Simple Question
Q369771
P21
Q290
USER
Which sex does Muhamed Bešić possess ?
(Q369771,P21,c(Q290))
action filter_type
action find
entity Q369771
relation P21
type Q290
['Q369771', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q369771 property:P21 ?k . ?k rdf:type ontology:Q290 }
Muhamed Bešić
action filter_type
action find
entity Muhamed Bešić
relation gender
type sex
['Muhamed Bešić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Muhamed_Bešić property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q369771,P21,c(Q290))
action filter_type
action find
entity Q369771
relation P21
type Q290
Muhamed Bešić possesses un [ANSWER]
['Q369771', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q369771 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Muhamed Bešić possesses un male
male
action filter_type
action find
entity Muhamed Bešić
relation gender
type sex
['Muhamed Bešić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Muhamed_Bešić property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q369771
P27
Q1048835
USER
Which political territory is the native country of Muhamed Bešić ?
(Q369771,P27,c(Q1048835))
action filter_type
action find
entity Q369771
relation P27
type Q1048835
['Q369771', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q369771 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Muhamed Bešić
action filter_type
action find
entity Muhamed Bešić
relation country of citizenship
type political territorial entity
['Muhamed Bešić', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Muhamed_Bešić property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q369771,P27,c(Q1048835))
action filter_type
action find
entity Q369771
relation P27
type Q1048835
[ANSWER] is the native country of Muhamed Bešić
['Q369771', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q369771 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Germany
Germany is the native country of Muhamed Bešić
Germany
action filter_type
action find
entity Muhamed Bešić
relation country of citizenship
type political territorial entity
['Muhamed Bešić', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Muhamed_Bešić property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q369771
P1344
Q15275719
USER
Which recurring event did Muhamed Bešić participate in ?
(Q369771,P1344,c(Q15275719))
action filter_type
action find
entity Q369771
relation P1344
type Q15275719
['Q369771', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?g WHERE { resource:Q369771 property:P1344 ?g . ?g rdf:type ontology:Q15275719 }
Muhamed Bešić
action filter_type
action find
entity Muhamed Bešić
relation participant of
type recurring event
['Muhamed Bešić', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?g WHERE { resource:Muhamed_Bešić property:participant_of ?g . ?g rdf:type ontology:recurring_event }
[]
recurring event
Q79859
SYSTEM
2014 FIFA World Cup
Q79859
(Q369771,P1344,c(Q15275719))
action filter_type
action find
entity Q369771
relation P1344
type Q15275719
Muhamed Bešić participated in [ANSWER]
['Q369771', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?g WHERE { resource:Q369771 property:P1344 ?g . ?g rdf:type ontology:Q15275719 }
2014 FIFA World Cup
Muhamed Bešić participated in 2014 FIFA World Cup
2014 FIFA World Cup
action filter_type
action find
entity Muhamed Bešić
relation participant of
type recurring event
['Muhamed Bešić', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?g WHERE { resource:Muhamed_Bešić property:participant_of ?g . ?g rdf:type ontology:recurring_event }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1287088 Q369771
P19 P937
Q56061
USER
Which administrative territories were Muhamed Bešić born and did Hans Georg Wagner work ?
AND((Q369771,P19,c(Q56061)), (Q1287088,P937,c(Q56061)))
action filter_type
action intersection
action find
entity Q369771
relation P19
action find
entity Q1287088
relation P937
type Q56061
{'AND': [['Q369771', 'P19', {'concept': 'Q56061'}], ['Q1287088', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q1287088 property:P937 ?w . resource:Q369771 property:P19 ?w }
Hans Georg Wagner Muhamed Bešić
action filter_type
action intersection
action find
entity Muhamed Bešić
relation place of birth
action find
entity Hans Georg Wagner
relation work location
type administrative territorial entity
{'AND': [['Muhamed Bešić', 'place of birth', {'concept': 'administrative territorial entity'}], ['Hans Georg Wagner', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Hans_Georg_Wagner property:work_location ?w . resource:Muhamed_Bešić property:place_of_birth ?w }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
AND((Q369771,P19,c(Q56061)), (Q1287088,P937,c(Q56061)))
action filter_type
action intersection
action find
entity Q369771
relation P19
action find
entity Q1287088
relation P937
type Q56061
Muhamed Bešić were born work in [ANSWER]
{'AND': [['Q369771', 'P19', {'concept': 'Q56061'}], ['Q1287088', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q1287088 property:P937 ?w . resource:Q369771 property:P19 ?w }
Berlin
Muhamed Bešić were born work in Berlin
Berlin
action filter_type
action intersection
action find
entity Muhamed Bešić
relation place of birth
action find
entity Hans Georg Wagner
relation work location
type administrative territorial entity
{'AND': [['Muhamed Bešić', 'place of birth', {'concept': 'administrative territorial entity'}], ['Hans Georg Wagner', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Hans_Georg_Wagner property:work_location ?w . resource:Muhamed_Bešić property:place_of_birth ?w }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q64 Q1085 Q90
P190
Q56061
USER
Is that administrative territory twin city of Prague and Paris ?
(Q64,P190,Q1085) (Q64,P190,Q90)
action is_in
entity Q64
action intersection
action find_reverse
entity Q1085
relation P190
action find_reverse
entity Q90
relation P190
['Q64', 'P190', 'Q1085'] ['Q64', 'P190', 'Q90']
ASK WHERE { resource:Q64 property:P190 resource:Q1085 . resource:Q64 property:P190 resource:Q90 }
Berlin Prague Paris
action is_in
entity Berlin
action intersection
action find_reverse
entity Prague
relation sister city
action find_reverse
entity Paris
relation sister city
['Berlin', 'sister city', 'Prague'] ['Berlin', 'sister city', 'Paris']
ASK WHERE { resource:Berlin property:sister_city resource:Prague . resource:Berlin property:sister_city resource:Paris }
[]
administrative territorial entity
SYSTEM
YES
(Q64,P190,Q1085) (Q64,P190,Q90)
action is_in
entity Q64
action intersection
action find_reverse
entity Q1085
relation P190
action find_reverse
entity Q90
relation P190
[ANSWER]
['Q64', 'P190', 'Q1085'] ['Q64', 'P190', 'Q90']
ASK WHERE { resource:Q64 property:P190 resource:Q1085 . resource:Q64 property:P190 resource:Q90 }
Yes
action is_in
entity Berlin
action intersection
action find_reverse
entity Prague
relation sister city
action find_reverse
entity Paris
relation sister city
['Berlin', 'sister city', 'Prague'] ['Berlin', 'sister city', 'Paris']
ASK WHERE { resource:Berlin property:sister_city resource:Prague . resource:Berlin property:sister_city resource:Paris }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with atleast 43 political territories and administrative territories ?
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action atleast
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
value 43
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?a WHERE { { ?h property:P530 ?a . ?a rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } UNION { ?h property:P530 ?a . ?a rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } } GROUP BY ?a } . FILTER ( ?f >= 43 ) }
action atleast
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 43
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?a WHERE { { ?h property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } } GROUP BY ?a } . FILTER ( ?f >= 43 ) }
[]
political territorial entity political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action atleast
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
value 43
[ANSWERS] have diplomatic relationships with atleast 43 political territories and administrative territories
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?a WHERE { { ?h property:P530 ?a . ?a rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } UNION { ?h property:P530 ?a . ?a rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } } GROUP BY ?a } . FILTER ( ?f >= 43 ) }
Germany Australia
Germany and Australia have diplomatic relationships with atleast 43 political territories and administrative territories
Germany Australia
action atleast
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 43
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?a WHERE { { ?h property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } } GROUP BY ?a } . FILTER ( ?f >= 43 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q8975095 Q64
P19 P190
Q56061
USER
Which administrative territories are partner towns of Berlin and were Ju Ping born in ?
AND((Q64,P190,c(Q56061)), (Q8975095,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q64
relation P190
action find
entity Q8975095
relation P19
type Q56061
{'AND': [['Q64', 'P190', {'concept': 'Q56061'}], ['Q8975095', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { resource:Q64 property:P190 ?i . resource:Q8975095 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Ju Ping Berlin
action filter_type
action intersection
action find
entity Berlin
relation sister city
action find
entity Ju Ping
relation place of birth
type administrative territorial entity
{'AND': [['Berlin', 'sister city', {'concept': 'administrative territorial entity'}], ['Ju Ping', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:Berlin property:sister_city ?i . resource:Ju_Ping property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q956
SYSTEM
Beijing
Q956
AND((Q64,P190,c(Q56061)), (Q8975095,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q64
relation P190
action find
entity Q8975095
relation P19
type Q56061
[ANSWER] is partner towns of Berlin and were Ju Ping born in
{'AND': [['Q64', 'P190', {'concept': 'Q56061'}], ['Q8975095', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { resource:Q64 property:P190 ?i . resource:Q8975095 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Beijing
Beijing is partner towns of Berlin and were Ju Ping born in
Beijing
action filter_type
action intersection
action find
entity Berlin
relation sister city
action find
entity Ju Ping
relation place of birth
type administrative territorial entity
{'AND': [['Berlin', 'sister city', {'concept': 'administrative territorial entity'}], ['Ju Ping', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:Berlin property:sister_city ?i . resource:Ju_Ping property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24026926
P532
Q56061 Q2235308
USER
How many ship types are the registry port of more number of administrative territories than Mair ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026926
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ontology:Q56061 . ?x rdf:type ontology:Q2235308 . ?x property:P532 ?q } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Q24026926 property:P532 ?z . ?z rdf:type ontology:Q2235308 } } . FILTER ( ?d > ?r ) }
Mair
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Mair
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:ship_type . ?x property:port_of_registry ?q } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Mair property:port_of_registry ?z . ?z rdf:type ontology:ship_type } } . FILTER ( ?d > ?r ) }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026926
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ontology:Q56061 . ?x rdf:type ontology:Q2235308 . ?x property:P532 ?q } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Q24026926 property:P532 ?z . ?z rdf:type ontology:Q2235308 } } . FILTER ( ?d > ?r ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Mair
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:ship_type . ?x property:port_of_registry ?q } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Mair property:port_of_registry ?z . ?z rdf:type ontology:ship_type } } . FILTER ( ?d > ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q8673
P840
Q56061 Q2342494 Q15416
USER
Which administrative territories are approximately the same number of collectables or television programs set in as Lagos ?
(c(Q2342494)|c(Q15416),P840,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q8673
relation P840
type Q2342494
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:P840 ?j . ?j rdf:type ontology:Q56061 . ?p rdf:type ontology:Q2342494 } UNION { ?p property:P840 ?j . ?j rdf:type ontology:Q56061 . ?p rdf:type ontology:Q15416 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:P840 resource:Q8673 . { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } } } } . FILTER ( ?x = ?u ) }
Lagos
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Lagos
relation narrative location
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:narrative_location ?j . ?j rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:collectable } UNION { ?p property:narrative_location ?j . ?j rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:television_program } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:narrative_location resource:Lagos . { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:collectable ) ( ontology:television_program ) } } } } . FILTER ( ?x = ?u ) }
[]
administrative territorial entity collectable television program
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q3579 Q1715 Q704257 Q7436 Q34804 Q21075005 Q990616 Q1183 Q3711 Q33486 Q1874 Q331990 Q1826473 Q210292 Q28729 Q25286 Q25287 Q128499 Q2280 Q3805 Q501661 Q804569 Q49233 Q1255278 Q42096 Q18808 Q467664 Q23725 Q1050826 Q4093 Q3659 Q16563 Q23337 Q8692 Q2656 Q1289 Q10690 Q585 Q1425428 Q124739 Q3413045 Q79873 Q81788 Q43453 Q1754 Q1022 Q308891 Q2500974 Q7054337 Q101625 Q48320 Q80985 Q12892 Q215646 Q80734 Q7880 Q82858 Q1930 Q1435589 Q597 Q690 Q257536 Q334 Q22889 Q3437 Q75459 Q49272 Q12273 Q365 Q5836 Q12994 Q1635139 Q667268 Q25319 Q33935 Q54140 Q180294 Q8818 Q34739 Q215177 Q27168 Q16555 Q2048321 Q1335 Q594807 Q1891 Q39121 Q9427 Q48274 Q83317 Q12340599 Q262483 Q186237 Q5083 Q23154 Q2567585 Q37776 Q1489 Q209055 Q7094142 Q3561 Q11864 Q83387 Q406 Q462799 Q8673 Q2861 Q11703 Q2868 Q8678 Q490 Q6346 Q495 Q2044 Q48370 Q36036 Q3703 Q208287 Q2141 Q192517 Q54212 Q23436 Q43301 Q490584 Q3141 Q3630 Q1246235 Q17151 Q237 Q6046 Q25416 Q239 Q25410 Q16558 Q16559 Q5212975 Q16554 Q753121 Q16556 Q16557 Q8686 Q994 Q35178 Q113546 Q3037 Q52437 Q723329 Q490737 Q1563 Q900 Q131491 Q1741 Q14815 Q1748 Q169492 Q26881 Q13670 Q1911961 Q85 Q128321 Q42462 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q37320 Q25390 Q214178 Q735022 Q45301 Q25395 Q11592 Q78 Q34863 Q72 Q71 Q70 Q178168 Q37100 Q16869 Q2214 Q38022 Q174 Q172 Q270 Q2028 Q37066 Q486439 Q2073798 Q26887 Q184587 Q208472 Q79980 Q82490 Q79985 Q49241 Q49243 Q3766 Q472 Q41604 Q1070 Q3590079 Q837165 Q41819 Q1861 Q2177880 Q5092 Q1011683 Q41329 Q956 Q1555 Q1490 Q1491 Q1492 Q16562 Q6225 Q437 Q124539 Q2118905 Q134672 Q1479 Q387047 Q18419 Q1780 Q1781 Q2302168 Q690052 Q2090 Q2073211 Q1851 Q127856 Q2807 Q18705 Q3820 Q621549 Q49149 Q1353 Q1352 Q676689 Q271411 Q13496 Q27119 Q1524 Q220 Q340 Q125434 Q494728 Q25331 Q25231 Q25230 Q617 Q612 Q430464 Q21855637 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q2634 Q863058 Q1659757 Q268873 Q26 Q1726 Q530090 Q34404 Q8717 Q3825 Q64 Q159232 Q61 Q1757 Q18125 Q5818 Q1867 Q384 Q5813 Q12439 Q27393 Q12191 Q126148 Q202337 Q23556 Q837478 Q184345 Q13362 Q6537 Q6106 Q49111 Q499196 Q495373 Q10313 Q42810 Q49255 Q3640 Q647 Q641 Q727 Q649 Q41621 Q3012 Q2301524 Q852778 Q3483936 Q3358921 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q43919 Q1449 Q47048 Q1764 Q34932 Q12340625 Q2211 Q41262 Q2704 Q47716 Q1040 Q6441 Q165972 Q100 Q374748 Q485172 Q26793 Q10686 Q4190 Q897848 Q165413 Q350 Q62677 Q1574020 Q3992 Q1781238 Q3110 Q3114 Q743521 Q24826 Q1348 Q630533 Q1156 Q3619316 Q2751 Q41876 Q485186 Q42448 Q41970 Q34647 Q33986 Q1085
(c(Q2342494)|c(Q15416),P840,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q8673
relation P840
type Q2342494
type Q15416
[ANSWERS] are approximately the same number of collectables or television programs set in as Lagos
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:P840 ?j . ?j rdf:type ontology:Q56061 . ?p rdf:type ontology:Q2342494 } UNION { ?p property:P840 ?j . ?j rdf:type ontology:Q56061 . ?p rdf:type ontology:Q15416 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:P840 resource:Q8673 . { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } } } } . FILTER ( ?x = ?u ) }
Tripoli Hanover Albany Gatchina Albuquerque Serritslev Harwich Puerto Rico Belgrade Hartford Odessa Korean Demilitarized Zone Tversted Yozgat Kozhikode Uppsala Gothenburg Yalta Minsk Amman Schleswig Bala, Ontario Orlando Dragør Miryang Pyongyang Butte Byzantium Greater Los Angeles Area Glasgow N'Djamena Memphis Salt Lake City Bilbao Palermo Grenoble Cardiff Oslo Newcastle upon Tyne Tijuana Farsø Tombstone Giza Plzeň Stockholm Stuttgart special wards of Tokyo Richmond North Buxton, Ontario Marrakesh Kōbe Fes Antwerp Edo Campagna Toulouse Sigmaringen Ottawa Folsom Lisbon Delft Janesville Singapore Bath Perugia Delphi Chandler Gijón Cologne Toledo Bruges Hvalpsund Nevada City Aarhus Tel Aviv Salem Jaffa Valencia Dayton Skagen Randers Houston Varde Montevideo Søborg Bologna Leeds Timbuktu Nashua Mosul Vedersø Deadwood Joensuu Seattle Bristol Dybbøl Besançon Mexico City Torquay Onllwyn Algiers Junagadh Diyarbakır Istanbul Evanston Lagos Rostock United States Virgin Islands Lima Rio de Janeiro Milan Indianapolis Turin Florence Manchester Lviv Bamako Kauniainen Halifax Boulder Barnsley Edinburgh Fresno Flint Melbourne Jakarta Nørresundby Thessaloniki Vatican City Novara Stavanger Brussels Aalborg Fort Worth Austin Damsholte Denver Atacames Phoenix Dallas Shanghai Tbilisi Kuwait City Blackeberg Kathmandu Murano Ascot Bloomington Havana Kazan Brighton Vienna Weißenfels Copenhagen Neukölln Helsingør Syracuse Thorning Cairo Midland York Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Cleveland Leeuwarden Nablus Walnut Grove, Minnesota Trabzon Newark Sonoma Basel Oklahoma City Zürich Geneva Bern Mitrovica Auckland Constantinople Pskov St. Louis São Paulo Toronto Warsaw Verona Bismarck Cedar Rapids Welch Davenport Grand Rapids Bingöl Varanasi Lyme Regis Kodiak Lexington Riverside Damascus Sofia Amiens Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Ågerup Baltimore Rødbyhavn Linz Beijing Guatemala City Tokyo La Paz Barcelona El Paso Coventry Ljubljana Whitechapel Purley Exeter Bordeaux Malibu Brooklyn Bratislava Budapest Kjellerup Trebinje Nuremberg Talamone Arkhangelsk Beverly Hills Madrid Bajram Curri Beirut Inglewood Nantucket Delhi Chennai Gravesend Malindi Brindisi Kolding Athens Rome Montreal Port Elizabeth West Covina Odense Svalbard Guernsey Padua Dubai Dearborn Hvilsager Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Naples Summerside Gimli Newport Beach Northern Ireland Munich Jerichow New Orleans Seville Libreville Berlin Santa Cruz Washington, D.C. Helsinki Manchester Córdoba Taipei Skopje Canary Islands Detroit Herning Nantes Tangier Nauplion Atlanta Sabinov Viña del Mar Ferrara Vicenza Portland Cambridge Costa Mesa Visalia Donostia/San Sebastián Le Havre Tampa Ankara Rennes Venice Amsterdam Moscow Haifa Ulm Stege Whitby Sils Maria Overschild Jamestown Ramallah Southampton Olympia Łódź Bonn Salem Genoa Oulu Reykjavík Brisbane Vejlby Malmö Nottingham Pescara Charleston Karlsruhe Montpellier Fort Lauderdale Boston Jenin Ann Arbor Bergen Belfast Passau Brande Baikonur Cambridge Karakorum The Hamptons Liège Stureby San Salvador Canberra Scarborough Liverpool Kolkata Tire Mumbai Grenå Siena Reims Key West Sheffield Pyatigorsk Johannesburg Valparaíso Prague
Prague, Zürich and Moscow are approximately the same number of collectables or television programs set in as Lagos
Prague Zürich Moscow
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Lagos
relation narrative location
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:narrative_location ?j . ?j rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:collectable } UNION { ?p property:narrative_location ?j . ?j rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:television_program } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:narrative_location resource:Lagos . { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:collectable ) ( ontology:television_program ) } } } } . FILTER ( ?x = ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q594807
P840
Q56061 Q2342494 Q15416
USER
And how about Søborg?
(c(Q2342494)|c(Q15416),P840,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q594807
relation P840
type Q2342494
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?c ) WHERE { VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?b rdf:type ?v } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P840 resource:Q594807 . { { ?o rdf:type ontology:Q2342494 } UNION { ?o rdf:type ontology:Q15416 } } } } . FILTER ( ?c = ?j ) }
Søborg
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Søborg
relation narrative location
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?c ) WHERE { VALUES ( ?v ) { ( ontology:collectable ) ( ontology:television_program ) } . ?b rdf:type ?v } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:narrative_location resource:Søborg . { { ?o rdf:type ontology:collectable } UNION { ?o rdf:type ontology:television_program } } } } . FILTER ( ?c = ?j ) }
[]
administrative territorial entity collectable television program
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q3579 Q1715 Q704257 Q7436 Q34804 Q21075005 Q990616 Q1183 Q3711 Q33486 Q1874 Q331990 Q1826473 Q210292 Q28729 Q25286 Q25287 Q128499 Q2280 Q3805 Q501661 Q804569 Q49233 Q1255278 Q42096 Q18808 Q467664 Q23725 Q1050826 Q4093 Q3659 Q16563 Q23337 Q8692 Q2656 Q1289 Q10690 Q585 Q1425428 Q124739 Q3413045 Q79873 Q81788 Q43453 Q1754 Q1022 Q308891 Q2500974 Q7054337 Q101625 Q48320 Q80985 Q12892 Q215646 Q80734 Q7880 Q82858 Q1930 Q1435589 Q597 Q690 Q257536 Q334 Q22889 Q3437 Q75459 Q49272 Q12273 Q365 Q5836 Q12994 Q1635139 Q667268 Q25319 Q33935 Q54140 Q180294 Q8818 Q34739 Q215177 Q27168 Q16555 Q2048321 Q1335 Q594807 Q1891 Q39121 Q9427 Q48274 Q83317 Q12340599 Q262483 Q186237 Q5083 Q23154 Q2567585 Q37776 Q1489 Q209055 Q7094142 Q3561 Q11864 Q83387 Q406 Q462799 Q8673 Q2861 Q11703 Q2868 Q8678 Q490 Q6346 Q495 Q2044 Q48370 Q36036 Q3703 Q208287 Q2141 Q192517 Q54212 Q23436 Q43301 Q490584 Q3141 Q3630 Q1246235 Q17151 Q237 Q6046 Q25416 Q239 Q25410 Q16558 Q16559 Q5212975 Q16554 Q753121 Q16556 Q16557 Q8686 Q994 Q35178 Q113546 Q3037 Q52437 Q723329 Q490737 Q1563 Q900 Q131491 Q1741 Q14815 Q1748 Q169492 Q26881 Q13670 Q1911961 Q85 Q128321 Q42462 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q37320 Q25390 Q214178 Q735022 Q45301 Q25395 Q11592 Q78 Q34863 Q72 Q71 Q70 Q178168 Q37100 Q16869 Q2214 Q38022 Q174 Q172 Q270 Q2028 Q37066 Q486439 Q2073798 Q26887 Q184587 Q208472 Q79980 Q82490 Q79985 Q49241 Q49243 Q3766 Q472 Q41604 Q1070 Q3590079 Q837165 Q41819 Q1861 Q2177880 Q5092 Q1011683 Q41329 Q956 Q1555 Q1490 Q1491 Q1492 Q16562 Q6225 Q437 Q124539 Q2118905 Q134672 Q1479 Q387047 Q18419 Q1780 Q1781 Q2302168 Q690052 Q2090 Q2073211 Q1851 Q127856 Q2807 Q18705 Q3820 Q621549 Q49149 Q1353 Q1352 Q676689 Q271411 Q13496 Q27119 Q1524 Q220 Q340 Q125434 Q494728 Q25331 Q25231 Q25230 Q617 Q612 Q430464 Q21855637 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q2634 Q863058 Q1659757 Q268873 Q26 Q1726 Q530090 Q34404 Q8717 Q3825 Q64 Q159232 Q61 Q1757 Q18125 Q5818 Q1867 Q384 Q5813 Q12439 Q27393 Q12191 Q126148 Q202337 Q23556 Q837478 Q184345 Q13362 Q6537 Q6106 Q49111 Q499196 Q495373 Q10313 Q42810 Q49255 Q3640 Q647 Q641 Q727 Q649 Q41621 Q3012 Q2301524 Q852778 Q3483936 Q3358921 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q43919 Q1449 Q47048 Q1764 Q34932 Q12340625 Q2211 Q41262 Q2704 Q47716 Q1040 Q6441 Q165972 Q100 Q374748 Q485172 Q26793 Q10686 Q4190 Q897848 Q165413 Q350 Q62677 Q1574020 Q3992 Q1781238 Q3110 Q3114 Q743521 Q24826 Q1348 Q630533 Q1156 Q3619316 Q2751 Q41876 Q485186 Q42448 Q41970 Q34647 Q33986 Q1085
(c(Q2342494)|c(Q15416),P840,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q594807
relation P840
type Q2342494
type Q15416
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?c ) WHERE { VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?b rdf:type ?v } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P840 resource:Q594807 . { { ?o rdf:type ontology:Q2342494 } UNION { ?o rdf:type ontology:Q15416 } } } } . FILTER ( ?c = ?j ) }
Tripoli Hanover Albany Gatchina Albuquerque Serritslev Harwich Puerto Rico Belgrade Hartford Odessa Korean Demilitarized Zone Tversted Yozgat Kozhikode Uppsala Gothenburg Yalta Minsk Amman Schleswig Bala, Ontario Orlando Dragør Miryang Pyongyang Butte Byzantium Greater Los Angeles Area Glasgow N'Djamena Memphis Salt Lake City Bilbao Palermo Grenoble Cardiff Oslo Newcastle upon Tyne Tijuana Farsø Tombstone Giza Plzeň Stockholm Stuttgart special wards of Tokyo Richmond North Buxton, Ontario Marrakesh Kōbe Fes Antwerp Edo Campagna Toulouse Sigmaringen Ottawa Folsom Lisbon Delft Janesville Singapore Bath Perugia Delphi Chandler Gijón Cologne Toledo Bruges Hvalpsund Nevada City Aarhus Tel Aviv Salem Jaffa Valencia Dayton Skagen Randers Houston Varde Montevideo Søborg Bologna Leeds Timbuktu Nashua Mosul Vedersø Deadwood Joensuu Seattle Bristol Dybbøl Besançon Mexico City Torquay Onllwyn Algiers Junagadh Diyarbakır Istanbul Evanston Lagos Rostock United States Virgin Islands Lima Rio de Janeiro Milan Indianapolis Turin Florence Manchester Lviv Bamako Kauniainen Halifax Boulder Barnsley Edinburgh Fresno Flint Melbourne Jakarta Nørresundby Thessaloniki Vatican City Novara Stavanger Brussels Aalborg Fort Worth Austin Damsholte Denver Atacames Phoenix Dallas Shanghai Tbilisi Kuwait City Blackeberg Kathmandu Murano Ascot Bloomington Havana Kazan Brighton Vienna Weißenfels Copenhagen Neukölln Helsingør Syracuse Thorning Cairo Midland York Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Cleveland Leeuwarden Nablus Walnut Grove, Minnesota Trabzon Newark Sonoma Basel Oklahoma City Zürich Geneva Bern Mitrovica Auckland Constantinople Pskov St. Louis São Paulo Toronto Warsaw Verona Bismarck Cedar Rapids Welch Davenport Grand Rapids Bingöl Varanasi Lyme Regis Kodiak Lexington Riverside Damascus Sofia Amiens Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Ågerup Baltimore Rødbyhavn Linz Beijing Guatemala City Tokyo La Paz Barcelona El Paso Coventry Ljubljana Whitechapel Purley Exeter Bordeaux Malibu Brooklyn Bratislava Budapest Kjellerup Trebinje Nuremberg Talamone Arkhangelsk Beverly Hills Madrid Bajram Curri Beirut Inglewood Nantucket Delhi Chennai Gravesend Malindi Brindisi Kolding Athens Rome Montreal Port Elizabeth West Covina Odense Svalbard Guernsey Padua Dubai Dearborn Hvilsager Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Naples Summerside Gimli Newport Beach Northern Ireland Munich Jerichow New Orleans Seville Libreville Berlin Santa Cruz Washington, D.C. Helsinki Manchester Córdoba Taipei Skopje Canary Islands Detroit Herning Nantes Tangier Nauplion Atlanta Sabinov Viña del Mar Ferrara Vicenza Portland Cambridge Costa Mesa Visalia Donostia/San Sebastián Le Havre Tampa Ankara Rennes Venice Amsterdam Moscow Haifa Ulm Stege Whitby Sils Maria Overschild Jamestown Ramallah Southampton Olympia Łódź Bonn Salem Genoa Oulu Reykjavík Brisbane Vejlby Malmö Nottingham Pescara Charleston Karlsruhe Montpellier Fort Lauderdale Boston Jenin Ann Arbor Bergen Belfast Passau Brande Baikonur Cambridge Karakorum The Hamptons Liège Stureby San Salvador Canberra Scarborough Liverpool Kolkata Tire Mumbai Grenå Siena Reims Key West Sheffield Pyatigorsk Johannesburg Valparaíso Prague
Prague Zürich Moscow
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Søborg
relation narrative location
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?c ) WHERE { VALUES ( ?v ) { ( ontology:collectable ) ( ontology:television_program ) } . ?b rdf:type ?v } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:narrative_location resource:Søborg . { { ?o rdf:type ontology:collectable } UNION { ?o rdf:type ontology:television_program } } } } . FILTER ( ?c = ?j ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q649
P27 P551
Q502895
USER
Which people lives in Moscow and are a citizen of France ?
AND((c(Q502895),P551,Q649), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q649
relation P551
action find_reverse
entity Q142
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P551', 'Q649'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?r WHERE { ?r property:P551 resource:Q649 . ?r property:P27 resource:Q142 . ?r rdf:type ontology:Q502895 }
France Moscow
action filter_type
action intersection
action find_reverse
entity Moscow
relation residence
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'residence', 'Moscow'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?r WHERE { ?r property:residence resource:Moscow . ?r property:country_of_citizenship resource:France . ?r rdf:type ontology:common_name }
[]
common name
Q16292954 Q710013 Q122998
SYSTEM
Jan Krauze, Ladislas Starevich, Pauline Viardot
Q16292954 Q710013 Q122998
AND((c(Q502895),P551,Q649), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q649
relation P551
action find_reverse
entity Q142
relation P27
type Q502895
[ANSWERS] live in Moscow and are a citizen of France
{'AND': [[{'concept': 'Q502895'}, 'P551', 'Q649'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?r WHERE { ?r property:P551 resource:Q649 . ?r property:P27 resource:Q142 . ?r rdf:type ontology:Q502895 }
Jan Krauze Ladislas Starevich Pauline Viardot
Jan Krauze, Ladislas Starevich and Pauline Viardot live in Moscow and are a citizen of France
Jan Krauze Ladislas Starevich Pauline Viardot
action filter_type
action intersection
action find_reverse
entity Moscow
relation residence
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'residence', 'Moscow'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?r WHERE { ?r property:residence resource:Moscow . ?r property:country_of_citizenship resource:France . ?r rdf:type ontology:common_name }
[]