Simple Question (Direct)
Simple Question
Q16026782
P39
Q12737077
USER
What was the position for which Victor Foucqueteau was appointed ?
(Q16026782,P39,c(Q12737077))
action filter_type
action find
entity Q16026782
relation P39
type Q12737077
['Q16026782', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q16026782 property:P39 ?s }
Victor Foucqueteau
action filter_type
action find
entity Victor Foucqueteau
relation position held
type occupation
['Victor Foucqueteau', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Victor_Foucqueteau property:position_held ?s }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q16026782,P39,c(Q12737077))
action filter_type
action find
entity Q16026782
relation P39
type Q12737077
Member of the French National Assembly
['Q16026782', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q16026782 property:P39 ?s }
member of the French National Assembly
Member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Victor Foucqueteau
relation position held
type occupation
['Victor Foucqueteau', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Victor_Foucqueteau property:position_held ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16026782
P20
Q15617994
USER
Where did that person die ?
(Q3044918,P20,c(Q15617994))
action filter_type
action find
entity Q16026782
relation P20
type Q15617994
['Q3044918', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q16026782 property:P20 ?o }
Victor Foucqueteau
action filter_type
action find
entity Victor Foucqueteau
relation place of death
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Victor_Foucqueteau property:place_of_death ?o }
[]
designation for an administrative territorial entity
Q12556
SYSTEM
Indre-et-Loire
Q12556
(Q3044918,P20,c(Q15617994))
action filter_type
action find
entity Q16026782
relation P20
type Q15617994
That person died in [ANSWER]
['Q3044918', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q16026782 property:P20 ?o }
Indre-et-Loire
That person died in Indre-et-Loire
Indre-et-Loire
action filter_type
action find
entity Victor Foucqueteau
relation place of death
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Victor_Foucqueteau property:place_of_death ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q811430 Q1190554
USER
How many administrative territories are atleast 763 constructions and events located in ?
(c(Q811430)|c(Q1190554),P17,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q811430
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1190554
value 763
[[{'concept': 'Q811430'}, {'concept': 'Q1190554'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?x ) WHERE { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1190554 ) ( ontology:Q811430 ) } } GROUP BY ?c } . FILTER ( ?x >= 763 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type construction
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type event
value 763
[[{'concept': 'construction'}, {'concept': 'event'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?x ) WHERE { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:event ) ( ontology:construction ) } } GROUP BY ?c } . FILTER ( ?x >= 763 ) }
[]
designation for an administrative territorial entity construction event
SYSTEM
2
Q145 Q30
(c(Q811430)|c(Q1190554),P17,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q811430
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1190554
value 763
[ANSWER]
[[{'concept': 'Q811430'}, {'concept': 'Q1190554'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?x ) WHERE { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1190554 ) ( ontology:Q811430 ) } } GROUP BY ?c } . FILTER ( ?x >= 763 ) }
United Kingdom United States of America
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type construction
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type event
value 763
[[{'concept': 'construction'}, {'concept': 'event'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?x ) WHERE { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:event ) ( ontology:construction ) } } GROUP BY ?c } . FILTER ( ?x >= 763 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with approximately 38 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 38
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?b ) WHERE { ?f property:P530 ?v . ?f rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?b = 38 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 38
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?b ) WHERE { ?f property:diplomatic_relation ?v . ?f rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?b = 38 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 38
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?b ) WHERE { ?f property:P530 ?v . ?f rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?b = 38 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 38
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?b ) WHERE { ?f property:diplomatic_relation ?v . ?f rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?b = 38 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with atleast 14 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 14
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?s ) WHERE { ?j property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?s >= 14 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 14
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?s ) WHERE { ?j property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?s >= 14 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
13
Q801 Q805 Q142 Q159 Q155 Q30 Q929 Q38 Q230 Q184 Q114 Q858 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 14
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?s ) WHERE { ?j property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?s >= 14 ) }
Israel Yemen France Russia Brazil United States of America Central African Republic Italy Georgia Belarus Kenya Syria Zambia
13
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 14
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?s ) WHERE { ?j property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?s >= 14 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12556
P138
Q355304
USER
Which watercourses are namesakes of Indre-et-Loire ?
(Q12556,P138,c(Q355304))
action filter_type
action find
entity Q12556
relation P138
type Q355304
['Q12556', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?s WHERE { resource:Q12556 property:P138 ?s . ?s rdf:type ontology:Q355304 }
Indre-et-Loire
action filter_type
action find
entity Indre-et-Loire
relation named after
type watercourse
['Indre-et-Loire', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?s WHERE { resource:Indre-et-Loire property:named_after ?s . ?s rdf:type ontology:watercourse }
[]
watercourse
Q217347 Q1469
SYSTEM
Indre River, Loire
Q217347 Q1469
(Q12556,P138,c(Q355304))
action filter_type
action find
entity Q12556
relation P138
type Q355304
[ANSWERS] are namesakes of Indre-et-Loire
['Q12556', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?s WHERE { resource:Q12556 property:P138 ?s . ?s rdf:type ontology:Q355304 }
Indre River Loire
Indre River and Loire are namesakes of Indre-et-Loire
Indre River Loire
action filter_type
action find
entity Indre-et-Loire
relation named after
type watercourse
['Indre-et-Loire', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?s WHERE { resource:Indre-et-Loire property:named_after ?s . ?s rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1469
P376
Q16889133
USER
Which class is known to be the location of Loire ?
(Q1469,P376,c(Q16889133))
action filter_type
action find
entity Q1469
relation P376
type Q16889133
['Q1469', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?v WHERE { resource:Q1469 property:P376 ?v . ?v rdf:type ontology:Q16889133 }
Loire
action filter_type
action find
entity Loire
relation located on astronomical body
type class
['Loire', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?v WHERE { resource:Loire property:located_on_astronomical_body ?v . ?v rdf:type ontology:class }
[]
class
Q2
SYSTEM
Earth
Q2
(Q1469,P376,c(Q16889133))
action filter_type
action find
entity Q1469
relation P376
type Q16889133
[ANSWER] is known to be the location of Loire
['Q1469', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?v WHERE { resource:Q1469 property:P376 ?v . ?v rdf:type ontology:Q16889133 }
Earth
Earth is known to be the location of Loire
Earth
action filter_type
action find
entity Loire
relation located on astronomical body
type class
['Loire', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?v WHERE { resource:Loire property:located_on_astronomical_body ?v . ?v rdf:type ontology:class }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12556
P36
Q20667921
USER
Which french administrative division is called the capital of Indre-et-Loire ?
(Q12556,P36,c(Q20667921))
action filter_type
action find
entity Q12556
relation P36
type Q20667921
['Q12556', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q12556 property:P36 ?i . ?i rdf:type ontology:Q20667921 }
Indre-et-Loire
action filter_type
action find
entity Indre-et-Loire
relation capital
type type of french administrative division
['Indre-et-Loire', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Indre-et-Loire property:capital ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q288
SYSTEM
Tours
Q288
(Q12556,P36,c(Q20667921))
action filter_type
action find
entity Q12556
relation P36
type Q20667921
[ANSWER] is called the capital of Indre-et-Loire
['Q12556', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q12556 property:P36 ?i . ?i rdf:type ontology:Q20667921 }
Tours
Tours is called the capital of Indre-et-Loire
Tours
action filter_type
action find
entity Indre-et-Loire
relation capital
type type of french administrative division
['Indre-et-Loire', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Indre-et-Loire property:capital ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q12556 Q707090
P36
Q20667921
USER
How many french administrative divisions are the capitals of Indre-et-Loire or Charolais ?
(Q12556,P36,c(Q20667921)) (Q707090,P36,c(Q20667921))
action count
action union
action filter_type
action find
entity Q12556
relation P36
type Q20667921
action filter_type
action find
entity Q707090
relation P36
type Q20667921
['Q12556', 'P36', {'concept': 'Q20667921'}] ['Q707090', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { resource:Q12556 property:P36 ?v . ?v rdf:type ontology:Q20667921 } UNION { resource:Q707090 property:P36 ?v . ?v rdf:type ontology:Q20667921 } }
Indre-et-Loire Charolais
action count
action union
action filter_type
action find
entity Indre-et-Loire
relation capital
type type of french administrative division
action filter_type
action find
entity Charolais
relation capital
type type of french administrative division
['Indre-et-Loire', 'capital', {'concept': 'type of french administrative division'}] ['Charolais', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { resource:Indre-et-Loire property:capital ?v . ?v rdf:type ontology:type_of_french_administrative_division } UNION { resource:Charolais property:capital ?v . ?v rdf:type ontology:type_of_french_administrative_division } }
[]
type of french administrative division
SYSTEM
2
Q213509 Q288
(Q12556,P36,c(Q20667921)) (Q707090,P36,c(Q20667921))
action count
action union
action filter_type
action find
entity Q12556
relation P36
type Q20667921
action filter_type
action find
entity Q707090
relation P36
type Q20667921
[ANSWER]
['Q12556', 'P36', {'concept': 'Q20667921'}] ['Q707090', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { resource:Q12556 property:P36 ?v . ?v rdf:type ontology:Q20667921 } UNION { resource:Q707090 property:P36 ?v . ?v rdf:type ontology:Q20667921 } }
Charolles Tours
2
action count
action union
action filter_type
action find
entity Indre-et-Loire
relation capital
type type of french administrative division
action filter_type
action find
entity Charolais
relation capital
type type of french administrative division
['Indre-et-Loire', 'capital', {'concept': 'type of french administrative division'}] ['Charolais', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { resource:Indre-et-Loire property:capital ?v . ?v rdf:type ontology:type_of_french_administrative_division } UNION { resource:Charolais property:capital ?v . ?v rdf:type ontology:type_of_french_administrative_division } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2306431
P921
Q12737077 Q838948 Q386724
USER
How many occupations were the main subjects of around the same number of works of art or works 's work as White House Press Secretary ?
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q2306431
relation P921
type Q838948
type Q386724
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:P921 ?e . ?e rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q386724 . ?t property:P921 ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P921 resource:Q2306431 . { { ?v rdf:type ontology:Q838948 } UNION { ?v rdf:type ontology:Q386724 } } } } . FILTER ( ?r = ?i ) }
White House Press Secretary
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity White House Press Secretary
relation main subject
type work of art
type work
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:main_subject ?e . ?e rdf:type ontology:occupation . ?t rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:occupation . ?t rdf:type ontology:work . ?t property:main_subject ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:main_subject resource:White_House_Press_Secretary . { { ?v rdf:type ontology:work_of_art } UNION { ?v rdf:type ontology:work } } } } . FILTER ( ?r = ?i ) }
[]
occupation work of art work
SYSTEM
96
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q2306431
relation P921
type Q838948
type Q386724
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:P921 ?e . ?e rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q386724 . ?t property:P921 ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P921 resource:Q2306431 . { { ?v rdf:type ontology:Q838948 } UNION { ?v rdf:type ontology:Q386724 } } } } . FILTER ( ?r = ?i ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
96
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity White House Press Secretary
relation main subject
type work of art
type work
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:main_subject ?e . ?e rdf:type ontology:occupation . ?t rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:occupation . ?t rdf:type ontology:work . ?t property:main_subject ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:main_subject resource:White_House_Press_Secretary . { { ?v rdf:type ontology:work_of_art } UNION { ?v rdf:type ontology:work } } } } . FILTER ( ?r = ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q911554
P921
Q12737077 Q838948 Q386724
USER
And what about business magnate?
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q911554
relation P921
type Q838948
type Q386724
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } . ?z rdf:type ?w } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:P921 resource:Q911554 . { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } } } } . FILTER ( ?b = ?d ) }
business magnate
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity business magnate
relation main subject
type work of art
type work
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:work ) } . ?z rdf:type ?w } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:main_subject resource:business_magnate . { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:work ) } } } } . FILTER ( ?b = ?d ) }
[]
occupation work of art work
SYSTEM
96
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q911554
relation P921
type Q838948
type Q386724
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } . ?z rdf:type ?w } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:P921 resource:Q911554 . { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } } } } . FILTER ( ?b = ?d ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
96
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity business magnate
relation main subject
type work of art
type work
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:work ) } . ?z rdf:type ?w } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:main_subject resource:business_magnate . { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:work ) } } } } . FILTER ( ?b = ?d ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q166699 Q16026782
P27 P17
Q15617994
USER
Which administrative territories are Victor Foucqueteau an inhabitant of or are Nowy Zamość present in ?
OR((Q16026782,P27,c(Q15617994)), (Q166699,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16026782
relation P27
action find
entity Q166699
relation P17
type Q15617994
{'OR': [['Q16026782', 'P27', {'concept': 'Q15617994'}], ['Q166699', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q166699 property:P17 ?u } UNION { resource:Q16026782 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
Nowy Zamość Victor Foucqueteau
action filter_type
action union
action find
entity Victor Foucqueteau
relation country of citizenship
action find
entity Nowy Zamość
relation country
type designation for an administrative territorial entity
{'OR': [['Victor Foucqueteau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nowy Zamość', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Nowy_Zamość property:country ?u } UNION { resource:Victor_Foucqueteau property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q36
SYSTEM
France, Poland
Q142 Q36
OR((Q16026782,P27,c(Q15617994)), (Q166699,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16026782
relation P27
action find
entity Q166699
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q16026782', 'P27', {'concept': 'Q15617994'}], ['Q166699', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q166699 property:P17 ?u } UNION { resource:Q16026782 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
France Poland
Which administrative territories are Victor Foucqueteau an inhabitant of or are Nowy Zamość present in
France Poland
action filter_type
action union
action find
entity Victor Foucqueteau
relation country of citizenship
action find
entity Nowy Zamość
relation country
type designation for an administrative territorial entity
{'OR': [['Victor Foucqueteau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nowy Zamość', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Nowy_Zamość property:country ?u } UNION { resource:Victor_Foucqueteau property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3103269
P27
Q502895
USER
Are Georges Nomarski a citizen of those administrative territories ?
(Q3103269,P27,Q142) (Q3103269,P27,Q36)
action is_in
entity prev_answer
action find
entity Q3103269
relation P27
['Q3103269', 'P27', 'Q142'] ['Q3103269', 'P27', 'Q36']
ASK WHERE { resource:Q3103269 property:P27 ?h . VALUES ( ?h ) { ( resource:Q142 ) ( resource:Q36 ) } }
Georges Nomarski
action is_in
entity prev_answer
action find
entity Georges Nomarski
relation country of citizenship
['Georges Nomarski', 'country of citizenship', 'France'] ['Georges Nomarski', 'country of citizenship', 'Poland']
ASK WHERE { resource:Georges_Nomarski property:country_of_citizenship ?h . VALUES ( ?h ) { ( resource:France ) ( resource:Poland ) } }
[]
common name
SYSTEM
YES
(Q3103269,P27,Q142) (Q3103269,P27,Q36)
action is_in
entity prev_answer
action find
entity Q3103269
relation P27
[ANSWER]
['Q3103269', 'P27', 'Q142'] ['Q3103269', 'P27', 'Q36']
ASK WHERE { resource:Q3103269 property:P27 ?h . VALUES ( ?h ) { ( resource:Q142 ) ( resource:Q36 ) } }
Yes
action is_in
entity prev_answer
action find
entity Georges Nomarski
relation country of citizenship
['Georges Nomarski', 'country of citizenship', 'France'] ['Georges Nomarski', 'country of citizenship', 'Poland']
ASK WHERE { resource:Georges_Nomarski property:country_of_citizenship ?h . VALUES ( ?h ) { ( resource:France ) ( resource:Poland ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with around 36 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 36
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?q ) WHERE { ?x property:P530 ?y . ?x rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?q = 36 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 36
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?q ) WHERE { ?x property:diplomatic_relation ?y . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?q = 36 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 36
And [ANSWER] have diplomatic relations with around 36 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?q ) WHERE { ?x property:P530 ?y . ?x rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?q = 36 ) }
Belarus
And Belarus have diplomatic relations with around 36 administrative territories
Belarus
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 36
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?q ) WHERE { ?x property:diplomatic_relation ?y . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?q = 36 ) }
[]