Simple Question (Direct)
Simple Question
Q256604
P641
Q349
USER
Which sport was Matej Delač a part of ?
(Q256604,P641,c(Q349))
action filter_type
action find
entity Q256604
relation P641
type Q349
['Q256604', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q256604 property:P641 ?b . ?b rdf:type ontology:Q349 }
Matej Delač
action filter_type
action find
entity Matej Delač
relation sport
type sport
['Matej Delač', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Matej_Delač property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q256604,P641,c(Q349))
action filter_type
action find
entity Q256604
relation P641
type Q349
[ANSWER]
['Q256604', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q256604 property:P641 ?b . ?b rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Matej Delač
relation sport
type sport
['Matej Delač', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Matej_Delač property:sport ?b . ?b rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q256604
P106
Q12737077
USER
What is the job of Matej Delač ?
(Q256604,P106,c(Q12737077))
action filter_type
action find
entity Q256604
relation P106
type Q12737077
['Q256604', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q256604 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Matej Delač
action filter_type
action find
entity Matej Delač
relation occupation
type occupation
['Matej Delač', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Matej_Delač property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q256604,P106,c(Q12737077))
action filter_type
action find
entity Q256604
relation P106
type Q12737077
[ANSWER]
['Q256604', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q256604 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football player
association football player
action filter_type
action find
entity Matej Delač
relation occupation
type occupation
['Matej Delač', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Matej_Delač property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17388374
Q12737077
USER
And how about Josef Genschieder?
(Q17388374,P106,c(Q12737077))
action filter_type
action find
entity Q17388374
relation P106
type Q12737077
['Q17388374', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q17388374 property:P106 ?z }
Josef Genschieder
action filter_type
action find
entity Josef Genschieder
relation occupation
type occupation
['Josef Genschieder', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Josef_Genschieder property:occupation ?z }
[]
occupation
Q2309784
SYSTEM
sport cyclist
Q2309784
(Q17388374,P106,c(Q12737077))
action filter_type
action find
entity Q17388374
relation P106
type Q12737077
[ANSWER]
['Q17388374', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q17388374 property:P106 ?z }
sport cyclist
sport cyclist
action filter_type
action find
entity Josef Genschieder
relation occupation
type occupation
['Josef Genschieder', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Josef_Genschieder property:occupation ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17388374
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q2309784,P27,c(Q1048835))
action filter_type
action find
entity Q17388374
relation P27
type Q1048835
['Q2309784', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q17388374 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
Josef Genschieder
action filter_type
action find
entity Josef Genschieder
relation country of citizenship
type political territorial entity
['sport cyclist', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Josef_Genschieder property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q2309784,P27,c(Q1048835))
action filter_type
action find
entity Q17388374
relation P27
type Q1048835
[ANSWER]
['Q2309784', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q17388374 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
Austria
Austria
action filter_type
action find
entity Josef Genschieder
relation country of citizenship
type political territorial entity
['sport cyclist', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Josef_Genschieder property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q40 Q508840
P127
Q3947
USER
How many houses are under posessision of Austria or Monarchy of Canada ?
(c(Q3947),P127,Q40) (c(Q3947),P127,Q508840)
action count
action union
action filter_type
action find_reverse
entity Q40
relation P127
type Q3947
action filter_type
action find_reverse
entity Q508840
relation P127
type Q3947
[{'concept': 'Q3947'}, 'P127', 'Q40'] [{'concept': 'Q3947'}, 'P127', 'Q508840']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { VALUES ( ?a ) { ( resource:Q40 ) ( resource:Q508840 ) } . ?f property:P127 ?a }
Austria Monarchy of Canada
action count
action union
action filter_type
action find_reverse
entity Austria
relation owned by
type house
action filter_type
action find_reverse
entity Monarchy of Canada
relation owned by
type house
[{'concept': 'house'}, 'owned by', 'Austria'] [{'concept': 'house'}, 'owned by', 'Monarchy of Canada']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { VALUES ( ?a ) { ( resource:Austria ) ( resource:Monarchy_of_Canada ) } . ?f property:owned_by ?a }
[]
house
SYSTEM
2
Q5664608 Q14544558
(c(Q3947),P127,Q40) (c(Q3947),P127,Q508840)
action count
action union
action filter_type
action find_reverse
entity Q40
relation P127
type Q3947
action filter_type
action find_reverse
entity Q508840
relation P127
type Q3947
[ANSWER]
[{'concept': 'Q3947'}, 'P127', 'Q40'] [{'concept': 'Q3947'}, 'P127', 'Q508840']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { VALUES ( ?a ) { ( resource:Q40 ) ( resource:Q508840 ) } . ?f property:P127 ?a }
Harrington Lake Friedrich-Wilhelm-Straße 14
2
action count
action union
action filter_type
action find_reverse
entity Austria
relation owned by
type house
action filter_type
action find_reverse
entity Monarchy of Canada
relation owned by
type house
[{'concept': 'house'}, 'owned by', 'Austria'] [{'concept': 'house'}, 'owned by', 'Monarchy of Canada']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { VALUES ( ?a ) { ( resource:Austria ) ( resource:Monarchy_of_Canada ) } . ?f property:owned_by ?a }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q347
P530
Q1048835 Q15617994
USER
Which administrative territories have tactful political relations with less number of political territories than Liechtenstein ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q347
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q347 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?z < ?j ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?z ) WHERE { ?n property:P530 ?d . ?n rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 } GROUP BY ?n } }
Liechtenstein
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Liechtenstein
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Liechtenstein property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z < ?j ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?z ) WHERE { ?n property:diplomatic_relation ?d . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?n } }
[]
political territorial entity designation for an administrative territorial entity
Q32 Q1011 Q805
SYSTEM
Luxembourg, Cape Verde, Yemen
Q702 Q805 Q262 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q236 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q347
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q347 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?z < ?j ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?z ) WHERE { ?n property:P530 ?d . ?n rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 } GROUP BY ?n } }
Federated States of Micronesia Yemen Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Montenegro Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Luxembourg Cape Verde Yemen
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Liechtenstein
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Liechtenstein property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z < ?j ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?z ) WHERE { ?n property:diplomatic_relation ?d . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?n } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q17
P530
Q1048835 Q15617994
USER
And how about Japan?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q17
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?f ) WHERE { ?v rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 . ?v property:P530 ?r } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Q17 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?f < ?c ) }
Japan
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Japan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?f ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity . ?v property:diplomatic_relation ?r } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Japan property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f < ?c ) }
[]
political territorial entity designation for an administrative territorial entity
Q32 Q1011 Q805
SYSTEM
Luxembourg, Cape Verde, Yemen
Q702 Q805 Q262 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q236 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q17
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?f ) WHERE { ?v rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 . ?v property:P530 ?r } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Q17 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?f < ?c ) }
Federated States of Micronesia Yemen Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Montenegro Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Luxembourg Cape Verde Yemen
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Japan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?f ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity . ?v property:diplomatic_relation ?r } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Japan property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f < ?c ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6655 Q1011
P530 P421
Q15617994
USER
Which administrative territories have diplomatic relations with Cape Verde and are UTC+01:00 a time zone for ?
AND((c(Q15617994),P530,Q1011), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q1011
relation P530
action find_reverse
entity Q6655
relation P421
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P530', 'Q1011'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?f WHERE { ?f property:P530 resource:Q1011 . ?f property:P421 resource:Q6655 . ?f rdf:type ontology:Q15617994 }
UTC+01:00 Cape Verde
action filter_type
action intersection
action find_reverse
entity Cape Verde
relation diplomatic relation
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Cape Verde'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?f WHERE { ?f property:diplomatic_relation resource:Cape_Verde . ?f property:located_in_time_zone resource:UTC+01:00 . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q916
SYSTEM
France, Angola
Q142 Q916
AND((c(Q15617994),P530,Q1011), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q1011
relation P530
action find_reverse
entity Q6655
relation P421
type Q15617994
[ANSWERS]
{'AND': [[{'concept': 'Q15617994'}, 'P530', 'Q1011'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?f WHERE { ?f property:P530 resource:Q1011 . ?f property:P421 resource:Q6655 . ?f rdf:type ontology:Q15617994 }
France Angola
France Angola
action filter_type
action intersection
action find_reverse
entity Cape Verde
relation diplomatic relation
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Cape Verde'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?f WHERE { ?f property:diplomatic_relation resource:Cape_Verde . ?f property:located_in_time_zone resource:UTC+01:00 . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]