Simple Question (Direct)
Simple Question
Q980295
P21
Q290
USER
Which sex does Pero Pejić belong to ?
(Q980295,P21,c(Q290))
action filter_type
action find
entity Q980295
relation P21
type Q290
['Q980295', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q980295 property:P21 ?x . ?x rdf:type ontology:Q290 }
Pero Pejić
action filter_type
action find
entity Pero Pejić
relation gender
type sex
['Pero Pejić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Pero_Pejić property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q980295,P21,c(Q290))
action filter_type
action find
entity Q980295
relation P21
type Q290
Pero Pejić belongs to [ANSWER]
['Q980295', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q980295 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
Pero Pejić belongs to male
male
action filter_type
action find
entity Pero Pejić
relation gender
type sex
['Pero Pejić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Pero_Pejić property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q980295
P106
Q12737077
USER
What is the job of Pero Pejić ?
(Q980295,P106,c(Q12737077))
action filter_type
action find
entity Q980295
relation P106
type Q12737077
['Q980295', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q980295 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Pero Pejić
action filter_type
action find
entity Pero Pejić
relation occupation
type occupation
['Pero Pejić', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Pero_Pejić property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q980295,P106,c(Q12737077))
action filter_type
action find
entity Q980295
relation P106
type Q12737077
The job of Pero Pejić is an [ANSWER]
['Q980295', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q980295 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
association football player
The job of Pero Pejić is an association football player
association football player
action filter_type
action find
entity Pero Pejić
relation occupation
type occupation
['Pero Pejić', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Pero_Pejić property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q980295
P27
Q15617994
USER
Which administrative territory is the native country of Pero Pejić ?
(Q980295,P27,c(Q15617994))
action filter_type
action find
entity Q980295
relation P27
type Q15617994
['Q980295', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q980295 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Pero Pejić
action filter_type
action find
entity Pero Pejić
relation country of citizenship
type designation for an administrative territorial entity
['Pero Pejić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Pero_Pejić property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q224
SYSTEM
Croatia
Q224
(Q980295,P27,c(Q15617994))
action filter_type
action find
entity Q980295
relation P27
type Q15617994
[ANSWER] is the native country of Pero Pejić
['Q980295', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q980295 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Croatia
Croatia is the native country of Pero Pejić
Croatia
action filter_type
action find
entity Pero Pejić
relation country of citizenship
type designation for an administrative territorial entity
['Pero Pejić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Pero_Pejić property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q980295
P641
Q349
USER
Which sport did that person participate in ?
(Q224,P641,c(Q349))
action filter_type
action find
entity Q980295
relation P641
type Q349
['Q224', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q980295 property:P641 ?s . ?s rdf:type ontology:Q349 }
Pero Pejić
action filter_type
action find
entity Pero Pejić
relation sport
type sport
['Croatia', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Pero_Pejić property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q224,P641,c(Q349))
action filter_type
action find
entity Q980295
relation P641
type Q349
That person participated in [ANSWER]
['Q224', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q980295 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Pero Pejić
relation sport
type sport
['Croatia', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Pero_Pejić property:sport ?s . ?s rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q16231819
P641
Q502895
USER
Is George Moleski known to play that sport ?
(Q16231819,P641,Q2736)
action is_in
entity Q2736
action find
entity Q16231819
relation P641
['Q16231819', 'P641', 'Q2736']
ASK WHERE { resource:Q16231819 property:P641 resource:Q2736 }
association football George Moleski
action is_in
entity association football
action find
entity George Moleski
relation sport
['George Moleski', 'sport', 'association football']
ASK WHERE { resource:George_Moleski property:sport resource:association_football }
[]
common name
SYSTEM
YES
(Q16231819,P641,Q2736)
action is_in
entity Q2736
action find
entity Q16231819
relation P641
[ANSWER]
['Q16231819', 'P641', 'Q2736']
ASK WHERE { resource:Q16231819 property:P641 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity George Moleski
relation sport
['George Moleski', 'sport', 'association football']
ASK WHERE { resource:George_Moleski property:sport resource:association_football }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q968630
P36
Q20667921 Q486972 Q15617994
USER
How many administrative territories have more number of french administrative divisions and human settlements as their administrative centre than Taro ?
(c(Q15617994),P36,c(Q20667921)|c(Q486972))
action count
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action count
action filter_multi_types
action find
entity Q968630
relation P36
type Q20667921
type Q486972
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?g ) WHERE { { ?u property:P36 ?a . ?a rdf:type ontology:Q486972 . ?u rdf:type ontology:Q15617994 } UNION { ?u property:P36 ?a . ?u rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q20667921 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q968630 property:P36 ?m . { { ?m rdf:type ontology:Q20667921 } UNION { ?m rdf:type ontology:Q486972 } } } } . FILTER ( ?g > ?k ) }
Taro
action count
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find
entity Taro
relation capital
type type of french administrative division
type human settlement
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?g ) WHERE { { ?u property:capital ?a . ?a rdf:type ontology:human_settlement . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:capital ?a . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Taro property:capital ?m . { { ?m rdf:type ontology:type_of_french_administrative_division } UNION { ?m rdf:type ontology:human_settlement } } } } . FILTER ( ?g > ?k ) }
[]
type of french administrative division human settlement designation for an administrative territorial entity
SYSTEM
100
Q12631 Q2991354 Q3368 Q1111401 Q2998020 Q3044731 Q12689 Q3377 Q3372 Q3093 Q3259 Q12594 Q16628524 Q12798 Q12792 Q12700 Q12703 Q12709 Q12569 Q12574 Q12642 Q3216 Q3194 Q541589 Q12804 Q12808 Q3326 Q3286 Q12589 Q3266 Q3105 Q33788 Q12740 Q12745 Q12779 Q12607 Q12576 Q2281221 Q12694 Q12515 Q12517 Q3364 Q3148 Q12675 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q12730 Q12736 Q662056 Q12657 Q12652 Q12556 Q12816 Q2528268 Q3353 Q3357 Q492437 Q492430 Q3278 Q3184 Q2900529 Q12772 Q1999970 Q155019 Q107426 Q12661 Q1270623 Q965 Q3125 Q3120 Q3110307 Q12722 Q12553 Q12620 Q12626 Q12543 Q12563 Q426025 Q3349 Q3083 Q3240 Q3249 Q3164 Q12761 Q12765 Q3334 Q12572 Q12578 Q12679 Q3846423 Q3113 Q12789 Q12758 Q12753 Q12751 Q12564
(c(Q15617994),P36,c(Q20667921)|c(Q486972))
action count
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action count
action filter_multi_types
action find
entity Q968630
relation P36
type Q20667921
type Q486972
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?g ) WHERE { { ?u property:P36 ?a . ?a rdf:type ontology:Q486972 . ?u rdf:type ontology:Q15617994 } UNION { ?u property:P36 ?a . ?u rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q20667921 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q968630 property:P36 ?m . { { ?m rdf:type ontology:Q20667921 } UNION { ?m rdf:type ontology:Q486972 } } } } . FILTER ( ?g > ?k ) }
Meuse Aquiles Serdán Municipality Essonne Kispest District Corse Guyane Pas-de-Calais Eure-et-Loir Eure Aisne Cantal Marne San Salvador el Verde municipality Vendée Vaucluse Hautes-Pyrénées Pyrénées-Atlantiques Pyrénées-Orientales Loire Loiret Morbihan Aveyron Aube Ems-Supérieur Vienne Haute-Vienne Corrèze Cher Manche Charente Vosges New Caledonia Sarthe Savoie Tarn-et-Garonne Haute-Marne Lot Principality of Orange Puy-de-Dôme Gard Gers Drôme Ardèche Oise Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Haute-Saône Saône-et-Loire Cushamen Department Nièvre Moselle Indre-et-Loire Yonne Mont-Blanc Creuse Dordogne Bouches-du-Weser Bouches-de-l'Elbe Charente-Maritime Ariège Bezirk Lothringen Tarn Upper Alsace Duchy of Lorraine Anjou Nord Meurthe Burkina Faso Hautes-Alpes Jura Golo Haut-Rhin Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Landes Duchy of Savoy Côtes-d'Armor Ain Bouches-du-Rhône Calvados Ardennes Seine-Saint-Denis Deux-Sèvres Haute-Corse Haute-Loire Lot-et-Garonne Orne Viesca Municipality Allier Var Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
100
action count
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find
entity Taro
relation capital
type type of french administrative division
type human settlement
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?g ) WHERE { { ?u property:capital ?a . ?a rdf:type ontology:human_settlement . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:capital ?a . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Taro property:capital ?m . { { ?m rdf:type ontology:type_of_french_administrative_division } UNION { ?m rdf:type ontology:human_settlement } } } } . FILTER ( ?g > ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q224
P706
Q151885
USER
Which concept has its location as Croatia ?
(c(Q151885),P706,Q224)
action filter_type
action find_reverse
entity Q224
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', 'Q224']
SELECT DISTINCT ?r WHERE { ?r property:P706 resource:Q224 . ?r rdf:type ontology:Q151885 }
Croatia
action filter_type
action find_reverse
entity Croatia
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Croatia']
SELECT DISTINCT ?r WHERE { ?r property:located_on_terrain_feature resource:Croatia . ?r rdf:type ontology:concept }
[]
concept
Q1483547
SYSTEM
Starčevo culture
Q1483547
(c(Q151885),P706,Q224)
action filter_type
action find_reverse
entity Q224
relation P706
type Q151885
[ANSWER] has its location as Croatia
[{'concept': 'Q151885'}, 'P706', 'Q224']
SELECT DISTINCT ?r WHERE { ?r property:P706 resource:Q224 . ?r rdf:type ontology:Q151885 }
Starčevo culture
Starčevo culture has its location as Croatia
Starčevo culture
action filter_type
action find_reverse
entity Croatia
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Croatia']
SELECT DISTINCT ?r WHERE { ?r property:located_on_terrain_feature resource:Croatia . ?r rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q224
P194
Q1752346
USER
Which assembly is the representative body for Croatia ?
(Q224,P194,c(Q1752346))
action filter_type
action find
entity Q224
relation P194
type Q1752346
['Q224', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?i WHERE { resource:Q224 property:P194 ?i . ?i rdf:type ontology:Q1752346 }
Croatia
action filter_type
action find
entity Croatia
relation legislative body
type assembly
['Croatia', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?i WHERE { resource:Croatia property:legislative_body ?i . ?i rdf:type ontology:assembly }
[]
assembly
Q371576
SYSTEM
Parliament of Croatia
Q371576
(Q224,P194,c(Q1752346))
action filter_type
action find
entity Q224
relation P194
type Q1752346
The [ANSWER] is the representative body for Croatia
['Q224', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?i WHERE { resource:Q224 property:P194 ?i . ?i rdf:type ontology:Q1752346 }
Parliament of Croatia
The Parliament of Croatia is the representative body for Croatia
Parliament of Croatia
action filter_type
action find
entity Croatia
relation legislative body
type assembly
['Croatia', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?i WHERE { resource:Croatia property:legislative_body ?i . ?i rdf:type ontology:assembly }
[]