Simple Question (Direct)
Simple Question
Q7224851
P734
Q82799
USER
Who is associated with Rod Graham ?
(Q7224851,P734,c(Q82799))
action filter_type
action find
entity Q7224851
relation P734
type Q82799
['Q7224851', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q7224851 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Rod Graham
action filter_type
action find
entity Rod Graham
relation family name
type name
['Rod Graham', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Rod_Graham property:family_name ?z . ?z rdf:type ontology:name }
[]
name
Q2702454
SYSTEM
Graham
Q2702454
(Q7224851,P734,c(Q82799))
action filter_type
action find
entity Q7224851
relation P734
type Q82799
He [ANSWER] is associated with Rod [ANSWER]
['Q7224851', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q7224851 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Graham
He Graham is associated with Rod Graham
Graham
action filter_type
action find
entity Rod Graham
relation family name
type name
['Rod Graham', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Rod_Graham property:family_name ?z . ?z rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7224851
P641
Q349
USER
What did Rod Graham participate in ?
(Q7224851,P641,c(Q349))
action filter_type
action find
entity Q7224851
relation P641
type Q349
['Q7224851', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q7224851 property:P641 ?f . ?f rdf:type ontology:Q349 }
Rod Graham
action filter_type
action find
entity Rod Graham
relation sport
type sport
['Rod Graham', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Rod_Graham property:sport ?f . ?f rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q7224851,P641,c(Q349))
action filter_type
action find
entity Q7224851
relation P641
type Q349
Rod Graham participated in [ANSWER]
['Q7224851', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q7224851 property:P641 ?f . ?f rdf:type ontology:Q349 }
ice hockey
Rod Graham participated in ice hockey
ice hockey
action filter_type
action find
entity Rod Graham
relation sport
type sport
['Rod Graham', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Rod_Graham property:sport ?f . ?f rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4733432
Q349
USER
And also tell me about Ally Scott?
(Q4733432,P641,c(Q349))
action filter_type
action find
entity Q4733432
relation P641
type Q349
['Q4733432', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q4733432 property:P641 ?z . ?z rdf:type ontology:Q349 }
Ally Scott
action filter_type
action find
entity Ally Scott
relation sport
type sport
['Ally Scott', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Ally_Scott property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4733432,P641,c(Q349))
action filter_type
action find
entity Q4733432
relation P641
type Q349
[ANSWER]
['Q4733432', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q4733432 property:P641 ?z . ?z rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Ally Scott
relation sport
type sport
['Ally Scott', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Ally_Scott property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4733432
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q4733432
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q4733432 property:P27 ?x }
Ally Scott
action filter_type
action find
entity Ally Scott
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ally_Scott property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q4733432
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q4733432 property:P27 ?x }
United Kingdom
United Kingdom is the country of citizenship of that person
United Kingdom
action filter_type
action find
entity Ally Scott
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ally_Scott property:country_of_citizenship ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4733432
P21
Q290
USER
Which sex does that person possess ?
(Q145,P21,c(Q290))
action filter_type
action find
entity Q4733432
relation P21
type Q290
['Q145', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q4733432 property:P21 ?v . ?v rdf:type ontology:Q290 }
Ally Scott
action filter_type
action find
entity Ally Scott
relation gender
type sex
['United Kingdom', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Ally_Scott property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q145,P21,c(Q290))
action filter_type
action find
entity Q4733432
relation P21
type Q290
That person possesses a [ANSWER]
['Q145', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q4733432 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Ally Scott
relation gender
type sex
['United Kingdom', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Ally_Scott property:gender ?v . ?v rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q3305213 Q838948
USER
How many names are expressed in around 20 paintings and works of art ?
(c(Q3305213)|c(Q838948),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
value 20
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?k ) WHERE { { ?q property:P180 ?y . ?y rdf:type ontology:Q82799 . ?q rdf:type ontology:Q3305213 } UNION { ?q property:P180 ?y . ?y rdf:type ontology:Q82799 . ?q rdf:type ontology:Q838948 } } GROUP BY ?y } . FILTER ( ?k = 20 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type work of art
value 20
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?k ) WHERE { { ?q property:depicts ?y . ?y rdf:type ontology:name . ?q rdf:type ontology:painting } UNION { ?q property:depicts ?y . ?y rdf:type ontology:name . ?q rdf:type ontology:work_of_art } } GROUP BY ?y } . FILTER ( ?k = 20 ) }
[]
name painting work of art
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q3305213)|c(Q838948),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
value 20
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?k ) WHERE { { ?q property:P180 ?y . ?y rdf:type ontology:Q82799 . ?q rdf:type ontology:Q3305213 } UNION { ?q property:P180 ?y . ?y rdf:type ontology:Q82799 . ?q rdf:type ontology:Q838948 } } GROUP BY ?y } . FILTER ( ?k = 20 ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
54
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type work of art
value 20
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?k ) WHERE { { ?q property:depicts ?y . ?y rdf:type ontology:name . ?q rdf:type ontology:painting } UNION { ?q property:depicts ?y . ?y rdf:type ontology:name . ?q rdf:type ontology:work_of_art } } GROUP BY ?y } . FILTER ( ?k = 20 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2702454
P407
Q34770
USER
Which language is Graham composed in ?
(Q2702454,P407,c(Q34770))
action filter_type
action find
entity Q2702454
relation P407
type Q34770
['Q2702454', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q2702454 property:P407 ?y . ?y rdf:type ontology:Q34770 }
Graham
action filter_type
action find
entity Graham
relation language of work or name
type language
['Graham', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Graham property:language_of_work_or_name ?y . ?y rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q2702454,P407,c(Q34770))
action filter_type
action find
entity Q2702454
relation P407
type Q34770
Graham is composed of [ANSWER]
['Q2702454', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q2702454 property:P407 ?y . ?y rdf:type ontology:Q34770 }
English
Graham is composed of English
English
action filter_type
action find
entity Graham
relation language of work or name
type language
['Graham', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Graham property:language_of_work_or_name ?y . ?y rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q56061 Q553036 Q15617994
USER
Which administrative territories are located in atmost 1 administrative territories and natural region of Germanys ?
(c(Q15617994),P706,c(Q56061)|c(Q553036))
action atmost
action union
action find_tuple_counts
relation P706
type Q15617994
type Q56061
action find_tuple_counts
relation P706
type Q15617994
type Q553036
value 1
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q56061'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?i <= 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?i ) WHERE { { ?d rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q56061 . ?d property:P706 ?l } UNION { ?d property:P706 ?l . ?l rdf:type ontology:Q553036 . ?d rdf:type ontology:Q15617994 } } GROUP BY ?d } }
action atmost
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'administrative territorial entity'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?i <= 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?i ) WHERE { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:administrative_territorial_entity . ?d property:located_on_terrain_feature ?l } UNION { ?d property:located_on_terrain_feature ?l . ?l rdf:type ontology:natural_region_of_Germany . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?d } }
[]
administrative territorial entity natural region of Germany designation for an administrative territorial entity
Q148 Q145 Q805
SYSTEM
People's Republic of China, United Kingdom, Yemen
Q805 Q1070686 Q695445 Q2712111 Q489215 Q5101419 Q682072 Q6685870 Q4692591 Q525879 Q24846 Q267993 Q3172 Q922342 Q637400 Q21042 Q632868 Q148 Q784 Q21049 Q786 Q25129 Q7042 Q312335 Q21160 Q525945 Q5382040 Q252320 Q3003231 Q505665 Q1462 Q15744129 Q4692611 Q521132 Q790 Q508054 Q1721440 Q5517964 Q496389 Q555609 Q267005 Q128230 Q27332 Q1619957 Q1093572 Q6350324 Q204529 Q244 Q4789577 Q501683 Q582690 Q216422 Q5000224 Q20789 Q16642582 Q33 Q921 Q633162 Q3146 Q520347 Q851 Q845396 Q15213143 Q598754 Q252772 Q21074475 Q104192 Q81306 Q771971 Q1778088 Q3942 Q145 Q333149 Q27 Q494305 Q565749 Q4770750 Q20836 Q20837 Q769680 Q5420482 Q19906291 Q192129 Q502662 Q47821 Q20019215 Q503693 Q4692647 Q3038 Q3068 Q331886 Q15244035 Q6472577 Q25130 Q588957 Q25135 Q229 Q3218 Q4769813 Q112019 Q704288 Q21008 Q7916724 Q660806 Q25125 Q29931 Q28091 Q754 Q507258 Q25082 Q5275507 Q28013 Q558787 Q14892 Q180271 Q262684 Q6353095 Q628095 Q3923 Q27649869 Q5283827 Q3193 Q522992 Q15744111 Q23968 Q760 Q6835962 Q489865 Q518171 Q2119591 Q46870 Q7561974 Q72432 Q504134 Q625747 Q2585085 Q20754 Q8147649 Q153969 Q481758 Q8043694 Q55416 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q56061)|c(Q553036))
action atmost
action union
action find_tuple_counts
relation P706
type Q15617994
type Q56061
action find_tuple_counts
relation P706
type Q15617994
type Q553036
value 1
[ANSWERS] are located in atmost 1 administrative territories and natural region of Germanys
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q56061'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?i <= 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?i ) WHERE { { ?d rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q56061 . ?d property:P706 ?l } UNION { ?d property:P706 ?l . ?l rdf:type ontology:Q553036 . ?d rdf:type ontology:Q15617994 } } GROUP BY ?d } }
Yemen Leivathos Langen Zagori Oberhof Chionata Rankwitz Loucha Agioi Pantes Haundorf Juist Muhr am See Fehmarn Sithonia Hohenwarte Nebel Sasbach People's Republic of China Dominica Norddorf auf Amrum Dominican Republic Langeoog Amberg Spalt List auf Sylt Pfofeld Epanochori, Cephalonia Pleinfeld Croisset Bergen Sardinia Oberscheuren Agios Dimitrios, Cephalonia Hilpoltstein Haiti Neu Wulmstorf Kaimig Galaro Lipari Magdala Moneglia Ventotene Kampen Hippelsbach Trøllanes Kalamaki, Zakynthos Zingst Barbados Arginia Rosengarten Neuenhagen bei Berlin Samsø Burnt River, Ontario Wenningstedt-Braderup Hydra Finland Brunei Drestedt Pellworm Röttenbach, Roth Saudi Arabia Pyramiden Davgata Undeloh Eichstätt Nenndorf Kleinmachnow Forbach Avlida Kochenbach Aschaffenburg United Kingdom Abstatt Ireland Kelheim Erden Ansons Bay Hallig Hooge Fanø Bornholm Exo Chora Western New Guinea Ustica Bad Salzungen Malcesine Natal Riedenburg Agios Nikolaos, Cephalonia Helgoland Loire-Atlantique Absberg Makryotika Lagopodo Spiekeroog Allersberg Wangerooge Cyprus Insel Hiddensee Ano Gerakari Sirmione Duchy of Holstein Sylt Vasilikades Karlshagen Baltrum Langeneß Wittdün auf Amrum Trinidad and Tobago Kipfenberg Borkum Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Kalipado Nürburg Bayreuth Teglkås Divarata Ostseebad Insel Poel Braunlage Niederscheuren Norderney Saint Lucia Michata Isola delle Femmine Ellhofen Pylaros Bardolino Sonning Eye Procida Kirchlinteln Rangsdorf Wintersberg Gröde Ba District Lindau Pantelleria Xenopoulo Chioggia Unterschwaningen Elatia Wenzendorf Artemisia Arkadioi
People's Republic of China, United Kingdom and Yemen are located in atmost 1 administrative territories and natural region of Germanys
People's Republic of China United Kingdom Yemen
action atmost
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'administrative territorial entity'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?i <= 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?i ) WHERE { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:administrative_territorial_entity . ?d property:located_on_terrain_feature ?l } UNION { ?d property:located_on_terrain_feature ?l . ?l rdf:type ontology:natural_region_of_Germany . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q889
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with greater number of administrative territories than Afghanistan ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q889
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?p ) WHERE { ?a rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 . ?z property:P530 ?a } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q889 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?u ) }
Afghanistan
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Afghanistan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?p ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?a } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Afghanistan property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?u ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
34
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q711 Q252 Q403 Q159 Q43 Q155 Q796 Q794 Q884 Q30 Q929 Q38 Q230 Q27 Q184 Q225 Q222 Q347 Q17 Q114 Q212 Q213 Q79 Q858 Q948 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q889
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?p ) WHERE { ?a rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 . ?z property:P530 ?a } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q889 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?u ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Mongolia Indonesia Serbia Russia Turkey Brazil Iraq Iran South Korea United States of America Central African Republic Italy Georgia Ireland Belarus Bosnia and Herzegovina Albania Liechtenstein Japan Kenya Ukraine Czech Republic Egypt Syria Tunisia Cape Verde Zambia
34
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Afghanistan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?p ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?a } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Afghanistan property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?u ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q805
P27 P21
Q502895
USER
Which people are civilians of Yemen and have the gender as male ?
AND((c(Q502895),P27,Q805), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q805
relation P27
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q805'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P27 resource:Q805 . ?z property:P21 resource:Q6581097 }
male Yemen
action filter_type
action intersection
action find_reverse
entity Yemen
relation country of citizenship
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Yemen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:country_of_citizenship resource:Yemen . ?z property:gender resource:male }
[]
common name
Q1573947 Q16300330 Q20047019 Q16231840 Q12000123 Q4670385 Q2753071 Q5644670 Q4116301 Q4670479
SYSTEM
Some of them are Hamoud Muhammed Ou'bad, Awsam Al Sayed, Ahmed Ali Salem Bahaj, Akram Al-Noor, Shaher Abdulhak, Abu Talib Yahya, Tameem Al-Kubati, Hamid al-Ahmar, Abd Al-Rahman Ali Al-Jifri, Abubakar Al-Mass
Q1393511 Q9298556 Q21620698 Q8049884 Q317752 Q22054939 Q6159492 Q19271880 Q21268639 Q6399320 Q6127531 Q2784436 Q6286454 Q2824669 Q12223818 Q6822196 Q4831458 Q4702769 Q19429056 Q12000123 Q11281342 Q4665246 Q4665243 Q4665240 Q4665793 Q57480 Q4778008 Q12251720 Q6930660 Q2303129 Q19006319 Q4119190 Q3869986 Q5247450 Q2555542 Q19673630 Q5434768 Q12224213 Q4681541 Q4678423 Q4120565 Q16145882 Q5434993 Q22132930 Q6967263 Q19664123 Q4701607 Q10951483 Q4665019 Q15991776 Q2558262 Q27144139 Q4725106 Q12251691 Q16127098 Q307211 Q400701 Q4164516 Q4115045 Q1951898 Q6967154 Q878766 Q4665499 Q15197815 Q362268 Q8046919 Q2266637 Q24175557 Q5636754 Q22683205 Q4670479 Q979788 Q16231840 Q4539761 Q20022485 Q26457464 Q12242130 Q19880569 Q6959960 Q3272068 Q12223068 Q7404040 Q2745413 Q2108172 Q2622743 Q15991195 Q6943646 Q5441619 Q5439160 Q16012991 Q21181140 Q924397 Q19880571 Q1355898 Q4695925 Q7146118 Q4119526 Q983232 Q4116063 Q307338 Q19958122 Q4702922 Q4116383 Q4120134 Q4665826 Q12242349 Q3318989 Q2836307 Q4116301 Q1322893 Q2404104 Q19664325 Q4664724 Q4122043 Q4746300 Q16123079 Q4059062 Q4666208 Q4664583 Q19429078 Q659976 Q7294790 Q1573947 Q307637 Q57905 Q20047030 Q12222671 Q58297 Q4116394 Q6399485 Q13229378 Q7409367 Q19726748 Q68773 Q4664730 Q106206 Q19962678 Q3378641 Q475105 Q323363 Q307252 Q8049879 Q2214390 Q5644466 Q3883825 Q6892951 Q4670385 Q20385886 Q5437744 Q16300330 Q2068670 Q12214917 Q483672 Q3379561 Q12221481 Q1977067 Q12223209 Q4119927 Q19661386 Q1472976 Q16119688 Q711230 Q7267019 Q4695292 Q20047019 Q2753071 Q8067549 Q26205352 Q4058917 Q3698951 Q16214585 Q3064458 Q5644670 Q26218178 Q16221552 Q12177931
AND((c(Q502895),P27,Q805), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q805
relation P27
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are civilians of Yemen and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q805'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P27 resource:Q805 . ?z property:P21 resource:Q6581097 }
Faisal Bin Shamlan Harbi al-Himyari Ahmed Abdulhakim Al-Sarori Yasser Basuhai Abdullah as-Sallal Aidarus al-Zoubaidi Jarallah Omar Sami Hasan Al Nash Adam Saif Khaled Baleid Jamal Awadh Nasser Hasan al-Lawzi Joseph Rabban Adnan Farhan Abd Al Latif Abdel Malak al-Mekhlafi Ahmed Fathey Ayman Al Hagri Al-Mahdi Ali Nasser bin Ali al-Ansi Shaher Abdulhak Ali al-Muqri AbdulWahab Raweh Abdul-Wasa Al-Saqqaf Abdul-Wali al-Shameri Abdulaziz Al-Saqqaf Abdrabbuh Mansour Hadi Anwar Al-Aug Yahya Mohamed Abdullah Saleh Muaadh Abdulkhalek Suraqah al-Bariqi Mohammed Ali al-Houthi Mohammad Abdul-Wali Najib Al-Haddad Jamal al-Sharaabi Ali Salim al-Beidh Mahmoud al-Subaihi Faraj Said Bin Ghanem عبد الوهاب أحمد الآنسي Adel Al-Salimi Habib Umar bin Hafiz Habib Ali al-Jufri Yahya Al-Mutawakel Fares Mana'a Muhammad Ali Qasim Nasr Taha Mustafa Abdulwasea Al-Matari Akram Al-Selwi Muhammad al-Shurafi Abdo Al-Edresi Farea Al-Muslim Abdul-Malik al-Houthi Abdul Rab Qassim al-Shadadi Ali Omar Yahya al-Hajuri Mutahhir Ali al-Iryani Abdul Fattah Ismail Ahmad Muhammad Numan Abdul Majeed al-Zindani Ahmed Saleh Mohammed bin Awad bin Laden Nasir al-Wuhayshi Dhu Nuwas Abdul Latif Dayfallah Hassan Muhammad Makki Ali Muhammad Mujawar Yahya Hussain Al-Aarashi Hassan ibn Yahya Nayif Salih Salim AL-QAYSI Habib Abdulrab Sarori Khalid Saleh Abubakar Al-Mass Ali Mohsen Al-Ahmar Akram Al-Noor Yahia Badreddin al-Houthi Ehab Fuad Ahmed Nagi Mohammed Rageh Morshed Ali Alarchany Abdul Al-Ghadi Najeeb Qahtan Al-Sha'abi Sharaf Mahfood Abdel-Aziz bin Habtour Salem Ali Qatan Al-Hadi ila'l-Haqq Yahya Ali Khousrof Abdul Aziz Abdul Ghani Abdulwahab Alamrani Mutaher al-Masri Fekri Al-Hubaishi Fazal Pookoya Thangal Muhammad Ali Haitham Yaser Ali Al-Gabr Ali Nasir Muhammad Ali Al-Ghadi Naseem Hamed Ahmed Mohammed Patrick Bingham-Hall Ali Al-Nono Yisrael Yeshayahu Ala Al-Sasi Abdul Qadir Bajamal Waleed Al-Hubaishi Al-Mu'ayyad Yahya Akram Al-Worafi Waddah al-Yaman Abdulelah Sharyan Marwan Al-Ghafuri Mohammad Ahmed Abdullah Saleh Al Hanashi Ali Mohsen Abd Al-Rahman Ali Al-Jifri Haidar Abu Bakr al-Attas Ahmed A AL-Samawi Mohammed Ahmed Ali Boqshan Abdel-Malik Mansour Nabil Mohammed Al-Garbi Amin Al-Sanini Badruddin al-Hautsi Ayoob Tarish Abdulsalam Al Gadabi Abd al-Rahman Fakhri Saleh Ali al-Sammad Ramzi bin al-Shibh Rashad Mohammed Saeed Ismael Hamoud Muhammed Ou'bad Abdullah ibn Husayn al-Ahmar Mohammed Basindawa Ali Nasser Hadi Abdul Rahman al-Baidhani Abu Bakr al-Qirbi Salem Saeed Khalid Bahah Abdul Nasser Al-Gifri Sami Juaim Hussein Khairan Muqbil bin Haadi al-Waadi'ee Abdel-Wahhab Tawaf Tarek Al-Wazir Asim Thahit Abdullah al Khalaqi Nashwan Al-Harazi Sadiq al-Ahmar Abraha Abdul Karim Abdullah al-Arashi Yasser Al-Baadani Salim Rubai Ali Hameed Al-Qushaibi Abu'l-Fath an-Nasir ad-Dailami Mohammed Ali al-Ahwal Abu Talib Yahya Ahmed Obaid Bin-Dagher Fathi Jabir Awsam Al Sayed Hussein Badreddin al-Houthi Zain bin Smith Ali Abdullah Saleh Mohammed Al-Yafaee Tariq al-Fadhli Shalom Sharabi Abdul Qader Qahtan Yasin Said Numan Mohammed Al-Sarori Shukr Kuhayl I Ahmad Awad Bin Mubarak Muhammad al-Badr Qasim al-Raymi Ahmad Daifallah Al-Azeib Ahmed Ali Salem Bahaj Tameem Al-Kubati Zayd Mutee' Dammaj Dawood Abdulmalek Yahya Al‐Hidabi Mohsin Ahmad al-Aini Ali Mohammed Zayd Ali Raymi Fahd al-Quso Hamid al-Ahmar Maged Gamani Mohamed Saad Nasser al-Bahri
Hamoud Muhammed Ou'bad, Awsam Al Sayed, Ahmed Ali Salem Bahaj, Akram Al-Noor, Shaher Abdulhak, Abu Talib Yahya, Tameem Al-Kubati, Hamid al-Ahmar, Abd Al-Rahman Ali Al-Jifri and Abubakar Al-Mass are civilians of Yemen and have the gender as male
Hamoud Muhammed Ou'bad Awsam Al Sayed Ahmed Ali Salem Bahaj Akram Al-Noor Shaher Abdulhak Abu Talib Yahya Tameem Al-Kubati Hamid al-Ahmar Abd Al-Rahman Ali Al-Jifri Abubakar Al-Mass
action filter_type
action intersection
action find_reverse
entity Yemen
relation country of citizenship
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Yemen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:country_of_citizenship resource:Yemen . ?z property:gender resource:male }
[]