Simple Question (Direct)
Simple Question
Q4746564
P641
Q349
USER
Which sport did Amir Hossein Yousefi participate in ?
(Q4746564,P641,c(Q349))
action filter_type
action find
entity Q4746564
relation P641
type Q349
['Q4746564', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q4746564 property:P641 ?u . ?u rdf:type ontology:Q349 }
Amir Hossein Yousefi
action filter_type
action find
entity Amir Hossein Yousefi
relation sport
type sport
['Amir Hossein Yousefi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Amir_Hossein_Yousefi property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4746564,P641,c(Q349))
action filter_type
action find
entity Q4746564
relation P641
type Q349
Amir Hossein Yousefi participated in [ANSWER]
['Q4746564', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q4746564 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
Amir Hossein Yousefi participated in association football
association football
action filter_type
action find
entity Amir Hossein Yousefi
relation sport
type sport
['Amir Hossein Yousefi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Amir_Hossein_Yousefi property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4746564
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q4746564
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q4746564 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Amir Hossein Yousefi
action filter_type
action find
entity Amir Hossein Yousefi
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Amir_Hossein_Yousefi property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q4746564
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q4746564 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Amir Hossein Yousefi
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Amir_Hossein_Yousefi property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4746564
P19
Q56061
USER
Where was that person born ?
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q4746564
relation P19
type Q56061
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q4746564 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Amir Hossein Yousefi
action filter_type
action find
entity Amir Hossein Yousefi
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Amir_Hossein_Yousefi property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2633218
SYSTEM
Kiakola
Q2633218
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q4746564
relation P19
type Q56061
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q4746564 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Kiakola
That person was born in Kiakola
Kiakola
action filter_type
action find
entity Amir Hossein Yousefi
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Amir_Hossein_Yousefi property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2633218 Q10510824
P19
Q502895
USER
Does Gunnar Helander have place of birth as that administrative territory ?
(Q10510824,P19,Q2633218)
action is_in
entity Q10510824
action find
entity Q2633218
relation P19
['Q10510824', 'P19', 'Q2633218']
ASK WHERE { resource:Q2633218 property:P19 resource:Q10510824 }
Kiakola Gunnar Helander
action is_in
entity Gunnar Helander
action find
entity Kiakola
relation place of birth
['Gunnar Helander', 'place of birth', 'Kiakola']
ASK WHERE { resource:Kiakola property:place_of_birth resource:Gunnar_Helander }
[]
common name
SYSTEM
NO
(Q10510824,P19,Q2633218)
action is_in
entity Q10510824
action find
entity Q2633218
relation P19
[ANSWER]
['Q10510824', 'P19', 'Q2633218']
ASK WHERE { resource:Q2633218 property:P19 resource:Q10510824 }
No
action is_in
entity Gunnar Helander
action find
entity Kiakola
relation place of birth
['Gunnar Helander', 'place of birth', 'Kiakola']
ASK WHERE { resource:Kiakola property:place_of_birth resource:Gunnar_Helander }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4746564 Q794 Q5758015
P27
Q15617994
USER
Is Amir Hossein Yousefi a native of Iran and Higher Boscaswell ?
(Q4746564,P27,Q794) (Q4746564,P27,Q5758015)
action is_in
entity Q4746564
action intersection
action find_reverse
entity Q794
relation P27
action find_reverse
entity Q5758015
relation P27
['Q4746564', 'P27', 'Q794'] ['Q4746564', 'P27', 'Q5758015']
ASK WHERE { resource:Q4746564 property:P27 resource:Q794 . resource:Q4746564 property:P27 resource:Q5758015 }
Amir Hossein Yousefi Iran Higher Boscaswell
action is_in
entity Amir Hossein Yousefi
action intersection
action find_reverse
entity Iran
relation country of citizenship
action find_reverse
entity Higher Boscaswell
relation country of citizenship
['Amir Hossein Yousefi', 'country of citizenship', 'Iran'] ['Amir Hossein Yousefi', 'country of citizenship', 'Higher Boscaswell']
ASK WHERE { resource:Amir_Hossein_Yousefi property:country_of_citizenship resource:Iran . resource:Amir_Hossein_Yousefi property:country_of_citizenship resource:Higher_Boscaswell }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q4746564,P27,Q794) (Q4746564,P27,Q5758015)
action is_in
entity Q4746564
action intersection
action find_reverse
entity Q794
relation P27
action find_reverse
entity Q5758015
relation P27
[ANSWER]
['Q4746564', 'P27', 'Q794'] ['Q4746564', 'P27', 'Q5758015']
ASK WHERE { resource:Q4746564 property:P27 resource:Q794 . resource:Q4746564 property:P27 resource:Q5758015 }
YES and NO respectively
action is_in
entity Amir Hossein Yousefi
action intersection
action find_reverse
entity Iran
relation country of citizenship
action find_reverse
entity Higher Boscaswell
relation country of citizenship
['Amir Hossein Yousefi', 'country of citizenship', 'Iran'] ['Amir Hossein Yousefi', 'country of citizenship', 'Higher Boscaswell']
ASK WHERE { resource:Amir_Hossein_Yousefi property:country_of_citizenship resource:Iran . resource:Amir_Hossein_Yousefi property:country_of_citizenship resource:Higher_Boscaswell }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1025554 Q5758015
P17
Q15617994
USER
Which administrative territories are Higher Boscaswell or Cloone situated in ?
OR((Q5758015,P17,c(Q15617994)), (Q1025554,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5758015
relation P17
action find
entity Q1025554
relation P17
type Q15617994
{'OR': [['Q5758015', 'P17', {'concept': 'Q15617994'}], ['Q1025554', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q5758015 property:P17 ?f } UNION { resource:Q1025554 property:P17 ?f } } . ?f rdf:type ontology:Q15617994 }
Cloone Higher Boscaswell
action filter_type
action union
action find
entity Higher Boscaswell
relation country
action find
entity Cloone
relation country
type designation for an administrative territorial entity
{'OR': [['Higher Boscaswell', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cloone', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Higher_Boscaswell property:country ?f } UNION { resource:Cloone property:country ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q27
SYSTEM
United Kingdom, Ireland
Q145 Q27
OR((Q5758015,P17,c(Q15617994)), (Q1025554,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5758015
relation P17
action find
entity Q1025554
relation P17
type Q15617994
Higher Boscaswell or Cloone are situated in [ANSWERS]
{'OR': [['Q5758015', 'P17', {'concept': 'Q15617994'}], ['Q1025554', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q5758015 property:P17 ?f } UNION { resource:Q1025554 property:P17 ?f } } . ?f rdf:type ontology:Q15617994 }
United Kingdom Ireland
Higher Boscaswell or Cloone are situated in United Kingdom and Ireland
United Kingdom Ireland
action filter_type
action union
action find
entity Higher Boscaswell
relation country
action find
entity Cloone
relation country
type designation for an administrative territorial entity
{'OR': [['Higher Boscaswell', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cloone', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Higher_Boscaswell property:country ?f } UNION { resource:Cloone property:country ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q225
P122
Q12737077 Q22676587 Q15617994
USER
How many administrative territories have around the same number of occupations or monarchic systems as the type of government as Bosnia and Herzegovina ?
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q225
relation P122
type Q12737077
type Q22676587
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q225 property:P122 ?x . { { ?x rdf:type ontology:Q22676587 } UNION { ?x rdf:type ontology:Q12737077 } } } } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?o ) WHERE { { ?a property:P122 ?z . ?a rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q22676587 } UNION { ?a property:P122 ?z . ?z rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q15617994 } } GROUP BY ?a } }
Bosnia and Herzegovina
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Bosnia and Herzegovina
relation basic form of government
type occupation
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Bosnia_and_Herzegovina property:basic_form_of_government ?x . { { ?x rdf:type ontology:monarchic_system } UNION { ?x rdf:type ontology:occupation } } } } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?o ) WHERE { { ?a property:basic_form_of_government ?z . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:monarchic_system } UNION { ?a property:basic_form_of_government ?z . ?z rdf:type ontology:occupation . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?a } }
[]
occupation monarchic system designation for an administrative territorial entity
SYSTEM
92
Q702 Q804 Q154547 Q801 Q805 Q419 Q668 Q414 Q142 Q165116 Q145 Q265 Q1130767 Q711 Q717 Q837 Q208500 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q794 Q889 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q32 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q423 Q953 Q29999 Q153091 Q280312 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q347 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q199688 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q225
relation P122
type Q12737077
type Q22676587
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q225 property:P122 ?x . { { ?x rdf:type ontology:Q22676587 } UNION { ?x rdf:type ontology:Q12737077 } } } } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?o ) WHERE { { ?a property:P122 ?z . ?a rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q22676587 } UNION { ?a property:P122 ?z . ?z rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q15617994 } } GROUP BY ?a } }
Federated States of Micronesia Panama duchy Israel Yemen Peru India Argentina France grand duchy United Kingdom Uzbekistan Bear Creek Village Mongolia Venezuela Nepal principality Armenia South Africa Portugal Russia Turkey Brazil Iraq Iran Afghanistan South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Luxembourg Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy North Korea Zambia Kingdom of the Netherlands Duchy of Prussia Principality of Lüneburg Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Liechtenstein Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay Almohad Tunisia Nicaragua Cape Verde Lesotho Sudan
92
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Bosnia and Herzegovina
relation basic form of government
type occupation
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Bosnia_and_Herzegovina property:basic_form_of_government ?x . { { ?x rdf:type ontology:monarchic_system } UNION { ?x rdf:type ontology:occupation } } } } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?o ) WHERE { { ?a property:basic_form_of_government ?z . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:monarchic_system } UNION { ?a property:basic_form_of_government ?z . ?z rdf:type ontology:occupation . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?a } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q158290
P122
Q12737077 Q22676587 Q15617994
USER
And also tell me about Duchy of Lucca?
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q158290
relation P122
type Q12737077
type Q22676587
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?k WHERE { VALUES ( ?f ) { ( ontology:Q12737077 ) ( ontology:Q22676587 ) } . ?h rdf:type ?f } GROUP BY ?k } . FILTER ( ?r = ?d ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q158290 property:P122 ?u . { { ?u rdf:type ontology:Q12737077 } UNION { ?u rdf:type ontology:Q22676587 } } } } }
Duchy of Lucca
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Duchy of Lucca
relation basic form of government
type occupation
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?k WHERE { VALUES ( ?f ) { ( ontology:occupation ) ( ontology:monarchic_system ) } . ?h rdf:type ?f } GROUP BY ?k } . FILTER ( ?r = ?d ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Duchy_of_Lucca property:basic_form_of_government ?u . { { ?u rdf:type ontology:occupation } UNION { ?u rdf:type ontology:monarchic_system } } } } }
[]
occupation monarchic system designation for an administrative territorial entity
SYSTEM
92
Q702 Q804 Q154547 Q801 Q805 Q419 Q668 Q414 Q142 Q165116 Q145 Q265 Q1130767 Q711 Q717 Q837 Q208500 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q794 Q889 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q32 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q423 Q953 Q29999 Q153091 Q280312 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q347 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q199688 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q158290
relation P122
type Q12737077
type Q22676587
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?k WHERE { VALUES ( ?f ) { ( ontology:Q12737077 ) ( ontology:Q22676587 ) } . ?h rdf:type ?f } GROUP BY ?k } . FILTER ( ?r = ?d ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q158290 property:P122 ?u . { { ?u rdf:type ontology:Q12737077 } UNION { ?u rdf:type ontology:Q22676587 } } } } }
Federated States of Micronesia Panama duchy Israel Yemen Peru India Argentina France grand duchy United Kingdom Uzbekistan Bear Creek Village Mongolia Venezuela Nepal principality Armenia South Africa Portugal Russia Turkey Brazil Iraq Iran Afghanistan South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Luxembourg Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy North Korea Zambia Kingdom of the Netherlands Duchy of Prussia Principality of Lüneburg Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Liechtenstein Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay Almohad Tunisia Nicaragua Cape Verde Lesotho Sudan
92
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Duchy of Lucca
relation basic form of government
type occupation
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?k WHERE { VALUES ( ?f ) { ( ontology:occupation ) ( ontology:monarchic_system ) } . ?h rdf:type ?f } GROUP BY ?k } . FILTER ( ?r = ?d ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Duchy_of_Lucca property:basic_form_of_government ?u . { { ?u rdf:type ontology:occupation } UNION { ?u rdf:type ontology:monarchic_system } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27
P921
Q234460
USER
Which text has Ireland as its main topic ?
(c(Q234460),P921,Q27)
action filter_type
action find_reverse
entity Q27
relation P921
type Q234460
[{'concept': 'Q234460'}, 'P921', 'Q27']
SELECT DISTINCT ?r WHERE { ?r property:P921 resource:Q27 . ?r rdf:type ontology:Q234460 }
Ireland
action filter_type
action find_reverse
entity Ireland
relation main subject
type text
[{'concept': 'text'}, 'main subject', 'Ireland']
SELECT DISTINCT ?r WHERE { ?r property:main_subject resource:Ireland . ?r rdf:type ontology:text }
[]
text
Q1672825
SYSTEM
Irish Journal
Q1672825
(c(Q234460),P921,Q27)
action filter_type
action find_reverse
entity Q27
relation P921
type Q234460
Ireland [ANSWER] has Ireland as its main topic
[{'concept': 'Q234460'}, 'P921', 'Q27']
SELECT DISTINCT ?r WHERE { ?r property:P921 resource:Q27 . ?r rdf:type ontology:Q234460 }
Irish Journal
Ireland Irish Journal has Ireland as its main topic
Irish Journal
action filter_type
action find_reverse
entity Ireland
relation main subject
type text
[{'concept': 'text'}, 'main subject', 'Ireland']
SELECT DISTINCT ?r WHERE { ?r property:main_subject resource:Ireland . ?r rdf:type ontology:text }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27
P551
Q502895
USER
Which people have residence at that administrative territory ?
(c(Q502895),P551,Q1672825)
action filter_type
action find_reverse
entity Q27
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1672825']
SELECT DISTINCT ?p WHERE { ?p property:P551 resource:Q27 . ?p rdf:type ontology:Q502895 }
Ireland
action filter_type
action find_reverse
entity Ireland
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Irish Journal']
SELECT DISTINCT ?p WHERE { ?p property:residence resource:Ireland . ?p rdf:type ontology:common_name }
[]
common name
Q189144 Q16205055 Q285609
SYSTEM
Walter Raleigh, Michael Semple, Michael Everson
Q5362128 Q16205055 Q285609 Q189144
(c(Q502895),P551,Q1672825)
action filter_type
action find_reverse
entity Q27
relation P551
type Q502895
[ANSWERS] have residence at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q1672825']
SELECT DISTINCT ?p WHERE { ?p property:P551 resource:Q27 . ?p rdf:type ontology:Q502895 }
Eliza Fenwick Michael Semple Michael Everson Walter Raleigh
Walter Raleigh, Michael Semple and Michael Everson have residence at that administrative territory
Walter Raleigh Michael Semple Michael Everson
action filter_type
action find_reverse
entity Ireland
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Irish Journal']
SELECT DISTINCT ?p WHERE { ?p property:residence resource:Ireland . ?p rdf:type ontology:common_name }
[]