Simple Question (Direct)
Simple Question
Q5489954
P54
Q43229
USER
Which organization is Frank Thorpe a member of ?
(Q5489954,P54,c(Q43229))
action filter_type
action find
entity Q5489954
relation P54
type Q43229
['Q5489954', 'P54', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q43229 . resource:Q5489954 property:P54 ?r }
Frank Thorpe
action filter_type
action find
entity Frank Thorpe
relation member of sports team
type organization
['Frank Thorpe', 'member of sports team', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:organization . resource:Frank_Thorpe property:member_of_sports_team ?r }
[]
organization
Q18656
SYSTEM
Manchester United F.C.
Q18656
(Q5489954,P54,c(Q43229))
action filter_type
action find
entity Q5489954
relation P54
type Q43229
[ANSWER] is Frank Thorpe a member of
['Q5489954', 'P54', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q43229 . resource:Q5489954 property:P54 ?r }
Manchester United F.C.
Manchester United F.C. is Frank Thorpe a member of
Manchester United F.C.
action filter_type
action find
entity Frank Thorpe
relation member of sports team
type organization
['Frank Thorpe', 'member of sports team', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:organization . resource:Frank_Thorpe property:member_of_sports_team ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5489954
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q18656,P27,c(Q15617994))
action filter_type
action find
entity Q5489954
relation P27
type Q15617994
['Q18656', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q5489954 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Frank Thorpe
action filter_type
action find
entity Frank Thorpe
relation country of citizenship
type designation for an administrative territorial entity
['Manchester United F.C.', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Frank_Thorpe property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q18656,P27,c(Q15617994))
action filter_type
action find
entity Q5489954
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q18656', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q5489954 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
United Kingdom
That person belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity Frank Thorpe
relation country of citizenship
type designation for an administrative territorial entity
['Manchester United F.C.', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Frank_Thorpe property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q145 Q2451102
P530
Q1048835
USER
Does São Pedro hold diplomatic relationship with that administrative territory ?
(Q145,P530,Q2451102)
action is_in
entity Q2451102
action find
entity Q145
relation P530
['Q145', 'P530', 'Q2451102']
ASK WHERE { resource:Q145 property:P530 resource:Q2451102 }
United Kingdom São Pedro
action is_in
entity São Pedro
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'São Pedro']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:São_Pedro }
[]
political territorial entity
SYSTEM
NO
(Q145,P530,Q2451102)
action is_in
entity Q2451102
action find
entity Q145
relation P530
[ANSWER]
['Q145', 'P530', 'Q2451102']
ASK WHERE { resource:Q145 property:P530 resource:Q2451102 }
No
action is_in
entity São Pedro
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'São Pedro']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:São_Pedro }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3061374
P101
Q3249551 Q43229 Q43229
USER
How many organizations have field of work as more number of processes or organizations than Evellin, goldsmith ?
(c(Q43229),P101,c(Q3249551)|c(Q43229))
action count
action greater
action union
action find_tuple_counts
relation P101
type Q43229
type Q3249551
action find_tuple_counts
relation P101
type Q43229
type Q43229
action count
action filter_multi_types
action find
entity Q3061374
relation P101
type Q3249551
type Q43229
[{'concept': 'Q43229'}, 'P101', [{'concept': 'Q3249551'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?l WHERE { { ?l property:P101 ?m . ?l rdf:type ontology:Q43229 . ?m rdf:type ontology:Q3249551 } UNION { ?l property:P101 ?m . ?m rdf:type ontology:Q43229 . ?l rdf:type ontology:Q43229 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q3249551 ) ( ontology:Q43229 ) } } . resource:Q3061374 property:P101 ?w } } . FILTER ( ?x > ?s ) }
Evellin, goldsmith
action count
action greater
action union
action find_tuple_counts
relation field of work
type organization
type process
action find_tuple_counts
relation field of work
type organization
type organization
action count
action filter_multi_types
action find
entity Evellin, goldsmith
relation field of work
type process
type organization
[{'concept': 'organization'}, 'field of work', [{'concept': 'process'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?l WHERE { { ?l property:field_of_work ?m . ?l rdf:type ontology:organization . ?m rdf:type ontology:process } UNION { ?l property:field_of_work ?m . ?m rdf:type ontology:organization . ?l rdf:type ontology:organization } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:process ) ( ontology:organization ) } } . resource:Evellin,_goldsmith property:field_of_work ?w } } . FILTER ( ?x > ?s ) }
[]
process organization organization
SYSTEM
5
Q1075994 Q574985 Q3191943 Q26448444 Q24336846
(c(Q43229),P101,c(Q3249551)|c(Q43229))
action count
action greater
action union
action find_tuple_counts
relation P101
type Q43229
type Q3249551
action find_tuple_counts
relation P101
type Q43229
type Q43229
action count
action filter_multi_types
action find
entity Q3061374
relation P101
type Q3249551
type Q43229
[ANSWER]
[{'concept': 'Q43229'}, 'P101', [{'concept': 'Q3249551'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?l WHERE { { ?l property:P101 ?m . ?l rdf:type ontology:Q43229 . ?m rdf:type ontology:Q3249551 } UNION { ?l property:P101 ?m . ?m rdf:type ontology:Q43229 . ?l rdf:type ontology:Q43229 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q3249551 ) ( ontology:Q43229 ) } } . resource:Q3061374 property:P101 ?w } } . FILTER ( ?x > ?s ) }
Special Broadcasting Service Macchiaioli Kaigetsudō school MORElab Nevercrew
5
action count
action greater
action union
action find_tuple_counts
relation field of work
type organization
type process
action find_tuple_counts
relation field of work
type organization
type organization
action count
action filter_multi_types
action find
entity Evellin, goldsmith
relation field of work
type process
type organization
[{'concept': 'organization'}, 'field of work', [{'concept': 'process'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?l WHERE { { ?l property:field_of_work ?m . ?l rdf:type ontology:organization . ?m rdf:type ontology:process } UNION { ?l property:field_of_work ?m . ?m rdf:type ontology:organization . ?l rdf:type ontology:organization } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:process ) ( ontology:organization ) } } . resource:Evellin,_goldsmith property:field_of_work ?w } } . FILTER ( ?x > ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18656
P108
Q502895
USER
What are the name of people who works for Manchester United F.C. ?
(c(Q502895),P108,Q18656)
action filter_type
action find_reverse
entity Q18656
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q18656']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P108 resource:Q18656 }
Manchester United F.C.
action filter_type
action find_reverse
entity Manchester United F.C.
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Manchester United F.C.']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:employer resource:Manchester_United_F.C. }
[]
common name
Q44980 Q79983 Q2062526
SYSTEM
Alex Ferguson, José Mourinho, Ricky Sbragia
Q2062526 Q1677196 Q79983 Q207431 Q44980 Q7823639
(c(Q502895),P108,Q18656)
action filter_type
action find_reverse
entity Q18656
relation P108
type Q502895
The name of people works for Manchester United F.C. are Ferguson [ANSWERS]
[{'concept': 'Q502895'}, 'P108', 'Q18656']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P108 resource:Q18656 }
Ricky Sbragia Jack Robson José Mourinho Louis van Gaal Alex Ferguson Tony Walmsley
The name of people works for Manchester United F.C. are Ferguson Alex Ferguson, José Mourinho and Ricky Sbragia
Alex Ferguson José Mourinho Ricky Sbragia
action filter_type
action find_reverse
entity Manchester United F.C.
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Manchester United F.C.']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:employer resource:Manchester_United_F.C. }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18656
P112
Q4830453
USER
What is the name of the founder of that organization ?
(Q44980,P112,c(Q4830453)) (Q79983,P112,c(Q4830453)) (Q2062526,P112,c(Q4830453))
action filter_type
action find
entity Q18656
relation P112
type Q4830453
['Q44980', 'P112', {'concept': 'Q4830453'}] ['Q79983', 'P112', {'concept': 'Q4830453'}] ['Q2062526', 'P112', {'concept': 'Q4830453'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q4830453 . resource:Q18656 property:P112 ?j }
Manchester United F.C.
action filter_type
action find
entity Manchester United F.C.
relation founder
type business enterprise
['Alex Ferguson', 'founder', {'concept': 'business enterprise'}] ['José Mourinho', 'founder', {'concept': 'business enterprise'}] ['Ricky Sbragia', 'founder', {'concept': 'business enterprise'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:business_enterprise . resource:Manchester_United_F.C. property:founder ?j }
[]
business enterprise
Q1779703
SYSTEM
Lancashire and Yorkshire Railway
Q1779703
(Q44980,P112,c(Q4830453)) (Q79983,P112,c(Q4830453)) (Q2062526,P112,c(Q4830453))
action filter_type
action find
entity Q18656
relation P112
type Q4830453
The name of the founder of that organization is the [ANSWER]
['Q44980', 'P112', {'concept': 'Q4830453'}] ['Q79983', 'P112', {'concept': 'Q4830453'}] ['Q2062526', 'P112', {'concept': 'Q4830453'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q4830453 . resource:Q18656 property:P112 ?j }
Lancashire and Yorkshire Railway
The name of the founder of that organization is the Lancashire and Yorkshire Railway
Lancashire and Yorkshire Railway
action filter_type
action find
entity Manchester United F.C.
relation founder
type business enterprise
['Alex Ferguson', 'founder', {'concept': 'business enterprise'}] ['José Mourinho', 'founder', {'concept': 'business enterprise'}] ['Ricky Sbragia', 'founder', {'concept': 'business enterprise'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:business_enterprise . resource:Manchester_United_F.C. property:founder ?j }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q43
P1001
Q15617994 Q1292279 Q192350
USER
How many administrative territories belong to jurisdiction of less number of political borders and ministries than Turkey ?
(c(Q1292279)|c(Q192350),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action count
action filter_multi_types
action find_reverse
entity Q43
relation P1001
type Q1292279
type Q192350
[[{'concept': 'Q1292279'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P1001 resource:Q43 . { { ?h rdf:type ontology:Q1292279 } UNION { ?h rdf:type ontology:Q192350 } } } } . FILTER ( ?p < ?b ) . { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:P1001 ?w . ?w rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1292279 } UNION { ?s property:P1001 ?w . ?w rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q192350 } } GROUP BY ?w } }
Turkey
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action count
action filter_multi_types
action find_reverse
entity Turkey
relation applies to jurisdiction
type political border
type ministry
[[{'concept': 'political border'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:applies_to_jurisdiction resource:Turkey . { { ?h rdf:type ontology:political_border } UNION { ?h rdf:type ontology:ministry } } } } . FILTER ( ?p < ?b ) . { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:applies_to_jurisdiction ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_border } UNION { ?s property:applies_to_jurisdiction ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:ministry } } GROUP BY ?w } }
[]
designation for an administrative territorial entity political border ministry
SYSTEM
250
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q163012 Q414 Q22273061 Q55 Q2871 Q262 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q1979 Q45 Q41 Q155 Q792 Q790 Q4628 Q796 Q954 Q889 Q884 Q958 Q881 Q7688 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q33 Q921 Q4712 Q924 Q928 Q155019 Q39 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q20 Q1045 Q3403547 Q1042 Q1041 Q27 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q1292279)|c(Q192350),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action count
action filter_multi_types
action find_reverse
entity Q43
relation P1001
type Q1292279
type Q192350
[ANSWER]
[[{'concept': 'Q1292279'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P1001 resource:Q43 . { { ?h rdf:type ontology:Q1292279 } UNION { ?h rdf:type ontology:Q192350 } } } } . FILTER ( ?p < ?b ) . { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:P1001 ?w . ?w rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1292279 } UNION { ?s property:P1001 ?w . ?w rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q192350 } } GROUP BY ?w } }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru Pankow Argentina Duchy of Nemours Netherlands Hagen Algeria Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Prince Edward Island Portugal Greece Brazil El Salvador Haiti Faroe Islands Iraq Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Romania Finland Brunei Duchy of Burgundy Tanzania Philippines Duchy of Lorraine Switzerland Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta Limburg San Marino Marzahn-Hellersdorf Norway Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
250
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action count
action filter_multi_types
action find_reverse
entity Turkey
relation applies to jurisdiction
type political border
type ministry
[[{'concept': 'political border'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:applies_to_jurisdiction resource:Turkey . { { ?h rdf:type ontology:political_border } UNION { ?h rdf:type ontology:ministry } } } } . FILTER ( ?p < ?b ) . { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:applies_to_jurisdiction ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_border } UNION { ?s property:applies_to_jurisdiction ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:ministry } } GROUP BY ?w } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1044
P1001
Q15617994 Q1292279 Q192350
USER
And how about Sierra Leone?
(c(Q1292279)|c(Q192350),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action count
action filter_multi_types
action find_reverse
entity Q1044
relation P1001
type Q1292279
type Q192350
[[{'concept': 'Q1292279'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1292279 ) ( ontology:Q192350 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:P1001 resource:Q1044 . { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1292279 ) ( ontology:Q192350 ) } } } } . FILTER ( ?d < ?x ) }
Sierra Leone
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action count
action filter_multi_types
action find_reverse
entity Sierra Leone
relation applies to jurisdiction
type political border
type ministry
[[{'concept': 'political border'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:political_border ) ( ontology:ministry ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:applies_to_jurisdiction resource:Sierra_Leone . { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:political_border ) ( ontology:ministry ) } } } } . FILTER ( ?d < ?x ) }
[]
designation for an administrative territorial entity political border ministry
SYSTEM
91
Q701 Q705 Q707 Q706679 Q2765 Q163012 Q22273061 Q55 Q2871 Q24764 Q2742 Q443815 Q50198 Q187035 Q22274206 Q1462 Q6465 Q1979 Q4628 Q7688 Q3097 Q158893 Q2942 Q11340 Q11343 Q1142326 Q1974 Q2899 Q2758 Q1952 Q921 Q4712 Q155019 Q3389 Q163966 Q769680 Q3068 Q1013 Q11323 Q1948 Q1093 Q238 Q119284 Q3403547 Q27 Q2667658 Q2009 Q2007 Q1101 Q2003 Q1904 Q3462133 Q223 Q1989 Q2838 Q694 Q752 Q22274534 Q11337 Q11331 Q12642 Q154547 Q1216 Q12753 Q2805 Q2107 Q1951 Q1438 Q34020 Q2380910 Q11301 Q2904 Q158095 Q775 Q776 Q770 Q773 Q772 Q158083 Q1243 Q72449 Q12549 Q22273285 Q129003 Q33788 Q1267638 Q329609 Q2938 Q2023 Q1231 Q1237
(c(Q1292279)|c(Q192350),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action count
action filter_multi_types
action find_reverse
entity Q1044
relation P1001
type Q1292279
type Q192350
[ANSWER]
[[{'concept': 'Q1292279'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1292279 ) ( ontology:Q192350 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:P1001 resource:Q1044 . { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1292279 ) ( ontology:Q192350 ) } } } } . FILTER ( ?d < ?x ) }
North Holland Zeeland Flevoland Duchy of Bar Gelsenkirchen Pankow Duchy of Nemours Netherlands Hagen municipality of the Philippines Münster Altomünster province of Thailand Principality of Albania Duchy of Mercoeur Sardinia department of France Prince Edward Island Faroe Islands raion Remscheid Friedrichshain-Kreuzberg Solingen Sprockhövel Wetter (Ruhr) Seine British Columbia Mülheim an der Ruhr Mönchengladbach Nova Scotia Brunei Duchy of Burgundy Duchy of Lorraine Finistère Mitte Bornholm Loire-Atlantique Lesotho Breckerfeld Manitoba Limburg San Marino Marzahn-Hellersdorf principality of Phalsbourg and Lixheim Ireland Shushary, Saint Petersburg Yukon Northwest Territories North Brabant Newfoundland and Labrador Ontario Saxe-Coburg and Gotha Greenland Saskatchewan Oberhausen South Holland Groningen Duchy of Elbeuf Herdecke Gevelsberg Morbihan duchy Piedmont Seine-et-Marne Krefeld Wuppertal Alberta Campania Niue Duchy of Zaslawye Ennepetal Herne Charlottenburg-Wilmersdorf Gelderland Utrecht Friesland Overijssel Drenthe Spandau Veneto Roccarainola Ille-et-Vilaine Duchy of Guise French Southern and Antarctic Lands New Caledonia Beloostrov Lichtenberg Leverkusen Nunavut Kosovo Region Trentino-South Tyrol
91
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action count
action filter_multi_types
action find_reverse
entity Sierra Leone
relation applies to jurisdiction
type political border
type ministry
[[{'concept': 'political border'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:political_border ) ( ontology:ministry ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:applies_to_jurisdiction resource:Sierra_Leone . { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:political_border ) ( ontology:ministry ) } } } } . FILTER ( ?d < ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q79983
P21
Q290
USER
Which sex does José Mourinho have ?
(Q79983,P21,c(Q290))
action filter_type
action find
entity Q79983
relation P21
type Q290
['Q79983', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q79983 property:P21 ?j }
José Mourinho
action filter_type
action find
entity José Mourinho
relation gender
type sex
['José Mourinho', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:José_Mourinho property:gender ?j }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q79983,P21,c(Q290))
action filter_type
action find
entity Q79983
relation P21
type Q290
José Mourinho has a [ANSWER]
['Q79983', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q79983 property:P21 ?j }
male
José Mourinho has a male
male
action filter_type
action find
entity José Mourinho
relation gender
type sex
['José Mourinho', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:José_Mourinho property:gender ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q112760
Q290
USER
And how about Emanuel Czuber?
(Q112760,P21,c(Q290))
action filter_type
action find
entity Q112760
relation P21
type Q290
['Q112760', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q112760 property:P21 ?y . ?y rdf:type ontology:Q290 }
Emanuel Czuber
action filter_type
action find
entity Emanuel Czuber
relation gender
type sex
['Emanuel Czuber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Emanuel_Czuber property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q112760,P21,c(Q290))
action filter_type
action find
entity Q112760
relation P21
type Q290
[ANSWER]
['Q112760', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q112760 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Emanuel Czuber
relation gender
type sex
['Emanuel Czuber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Emanuel_Czuber property:gender ?y . ?y rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q19646191
P21
Q502895
USER
Does Lee Shi Tian have that sex as the sex ?
(Q19646191,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q19646191
relation P21
['Q19646191', 'P21', 'Q6581097']
ASK WHERE { resource:Q19646191 property:P21 resource:Q6581097 }
male Lee Shi Tian
action is_in
entity male
action find
entity Lee Shi Tian
relation gender
['Lee Shi Tian', 'gender', 'male']
ASK WHERE { resource:Lee_Shi_Tian property:gender resource:male }
[]
common name
SYSTEM
YES
(Q19646191,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q19646191
relation P21
[ANSWER]
['Q19646191', 'P21', 'Q6581097']
ASK WHERE { resource:Q19646191 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Lee Shi Tian
relation gender
['Lee Shi Tian', 'gender', 'male']
ASK WHERE { resource:Lee_Shi_Tian property:gender resource:male }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6116349 Q2062526
P108
Q43229
USER
Which organizations do Ricky Sbragia or Jackie Fullerton work for ?
OR((Q2062526,P108,c(Q43229)), (Q6116349,P108,c(Q43229)))
action filter_type
action union
action find
entity Q2062526
relation P108
action find
entity Q6116349
relation P108
type Q43229
{'OR': [['Q2062526', 'P108', {'concept': 'Q43229'}], ['Q6116349', 'P108', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q2062526 property:P108 ?h } UNION { resource:Q6116349 property:P108 ?h } } . ?h rdf:type ontology:Q43229 }
Jackie Fullerton Ricky Sbragia
action filter_type
action union
action find
entity Ricky Sbragia
relation employer
action find
entity Jackie Fullerton
relation employer
type organization
{'OR': [['Ricky Sbragia', 'employer', {'concept': 'organization'}], ['Jackie Fullerton', 'employer', {'concept': 'organization'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Ricky_Sbragia property:employer ?h } UNION { resource:Jackie_Fullerton property:employer ?h } } . ?h rdf:type ontology:organization }
[]
organization
Q9531 Q18656 Q478320
SYSTEM
BBC, Manchester United F.C., Scottish Football Association
Q9531 Q18656 Q478320
OR((Q2062526,P108,c(Q43229)), (Q6116349,P108,c(Q43229)))
action filter_type
action union
action find
entity Q2062526
relation P108
action find
entity Q6116349
relation P108
type Q43229
Ricky Sbragia or Jackie Fullerton work for [ANSWERS]
{'OR': [['Q2062526', 'P108', {'concept': 'Q43229'}], ['Q6116349', 'P108', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q2062526 property:P108 ?h } UNION { resource:Q6116349 property:P108 ?h } } . ?h rdf:type ontology:Q43229 }
BBC Manchester United F.C. Scottish Football Association
Ricky Sbragia or Jackie Fullerton work for BBC, Manchester United F.C. and Scottish Football Association
BBC Manchester United F.C. Scottish Football Association
action filter_type
action union
action find
entity Ricky Sbragia
relation employer
action find
entity Jackie Fullerton
relation employer
type organization
{'OR': [['Ricky Sbragia', 'employer', {'concept': 'organization'}], ['Jackie Fullerton', 'employer', {'concept': 'organization'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Ricky_Sbragia property:employer ?h } UNION { resource:Jackie_Fullerton property:employer ?h } } . ?h rdf:type ontology:organization }
[]